GNU bug report logs - #45622
(flyspell-buffer) does not enable spelling highlighting

Previous Next

Package: emacs;

Reported by: Christopher Dimech <dimech <at> gmx.com>

Date: Sun, 3 Jan 2021 13:56:02 UTC

Severity: normal

Tags: moreinfo

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 45622 in the body.
You can then email your comments to 45622 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#45622; Package emacs. (Sun, 03 Jan 2021 13:56:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Christopher Dimech <dimech <at> gmx.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sun, 03 Jan 2021 13:56:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Christopher Dimech <dimech <at> gmx.com>
To: bug-gnu-emacs <at> gnu.org
Subject: (flyspell-buffer) does not enable spelling highlighting
Date: Sun, 3 Jan 2021 14:55:04 +0100
When I call (flyspell-buffer) through a keybinding the highlighting
of flyspell is not activated.  However things work when using
"M-x flyspell-buffer".




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#45622; Package emacs. (Sun, 03 Jan 2021 15:33:01 GMT) Full text and rfc822 format available.

Message #8 received at 45622 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Christopher Dimech <dimech <at> gmx.com>
Cc: 45622 <at> debbugs.gnu.org
Subject: Re: bug#45622: (flyspell-buffer) does not enable spelling highlighting
Date: Sun, 03 Jan 2021 17:32:33 +0200
> From: Christopher Dimech <dimech <at> gmx.com>
> Date: Sun, 3 Jan 2021 14:55:04 +0100
> Sensitivity: Normal
> 
> When I call (flyspell-buffer) through a keybinding the highlighting
> of flyspell is not activated.  However things work when using
> "M-x flyspell-buffer".

I cannot reproduce this.  Please describe the steps to reproduce the
problem starting from "emacs -Q", and please provide the information
collected by "M-x report-emacs-bug" on that system.

Thanks.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#45622; Package emacs. (Sun, 03 Jan 2021 16:59:02 GMT) Full text and rfc822 format available.

Message #11 received at 45622 <at> debbugs.gnu.org (full text, mbox):

From: Christopher Dimech <dimech <at> gmx.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 45622 <at> debbugs.gnu.org
Subject: Re: bug#45622: (flyspell-buffer) does not enable spelling highlighting
Date: Sun, 3 Jan 2021 17:58:16 +0100
The problem occurs with the following code.  If you comment out
(flyspell-prog-mode) the wavy underline gets activated.  But not
if you include  (flyspell-prog-mode).

(defvar flyspell-buffer-state nil)
(defun flyspell-buffer-gungadin ()
  "Corrects vocabulary by inspecting the spelling of text in a buffer."
  (interactive)

  (pcase flyspell-buffer-state
    (1 (message "%s" "Flyspell: Buffer")
       (flyspell-buffer)
       (setq flyspell-buffer-state 2))

    (2 (message "%s" "Flyspell: Off")
       (flyspell-mode 0)
       (setq flyspell-buffer-state 0))

    (_ (message "%s" "Flyspell: prog-mode")
       (flyspell-prog-mode)
       (setq flyspell-buffer-state 1))) )

(global-set-key (kbd "H-9") 'flyspell-buffer-gungadin)


From: hagbard <hagbard <at> fuckup.i-did-not-set--mail-host-address--so-tickle-me>
To: bug-gnu-emacs <at> gnu.org
Subject: 27.1; Title
--text follows this line--




In GNU Emacs 27.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.18.9, cairo version 1.14.6)
 of 2020-09-20 built on lgw01-amd64-056
Windowing system distributor 'The X.Org Foundation', version 11.0.11804000
System Description: Trisquel GNU/Linux Flidas (8.0)

Recent messages:
Loading /home/hagbard/GAdmSw/GungaDin-1.0/elisp/gungadin.el (source)...done
For information about GNU Emacs and the GNU system, type C-h C-a.

Configured using:
 'configure --build=x86_64-linux-gnu --prefix=/usr
 '--includedir=${prefix}/include' '--mandir=${prefix}/share/man'
 '--infodir=${prefix}/share/info' --sysconfdir=/etc --localstatedir=/var
 --disable-silent-rules '--libdir=${prefix}/lib/x86_64-linux-gnu'
 '--libexecdir=${prefix}/lib/x86_64-linux-gnu' --disable-maintainer-mode
 --disable-dependency-tracking --prefix=/usr --sharedstatedir=/var/lib
 --libexecdir=/usr/lib --localstatedir=/var/lib
 --infodir=/usr/share/info --mandir=/usr/share/man
 --enable-locallisppath=/etc/emacs:/usr/local/share/emacs/27.1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/27.1/site-lisp:/usr/share/emacs/site-lisp
 --program-suffix=27 --with-modules --with-file-notification=inotify
 --with-mailutils --with-harfbuzz --with-json --with-x=yes
 --with-x-toolkit=gtk3 --with-lcms2 --with-cairo --with-xpm=yes
 --with-gif=yes --with-gnutls=yes --with-jpeg=yes --with-png=yes
 --with-tiff=yes 'CFLAGS=-g -O2 -fstack-protector-strong -Wformat
 -Werror=format-security' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'
 'LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro''

Configured features:
XPM JPEG TIFF GIF PNG RSVG CAIRO SOUND GPM DBUS GSETTINGS GLIB NOTIFY
INOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT LIBOTF
ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS LIBSYSTEMD
JSON PDUMPER LCMS2 GMP

Important settings:
  value of $LC_MONETARY: en_US.UTF-8
  value of $LC_NUMERIC: en_US.UTF-8
  value of $LC_TIME: en_US.UTF-8
  value of $LANG: en_GB.UTF-8
  value of $XMODIFIERS: @im=ibus
  locale-coding-system: utf-8-unix

Major mode: Lisp Interaction

Minor modes in effect:
  tooltip-mode: t
  global-eldoc-mode: t
  eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Load-path shadows:
/home/hagbard/.emacs.d/elpa/popup-20200610.317/popup hides /usr/share/emacs/site-lisp/auto-complete/popup
/home/hagbard/.emacs.d/elpa/auto-complete-20200823.1758/auto-complete-config hides /usr/share/emacs/site-lisp/auto-complete/auto-complete-config
/home/hagbard/.emacs.d/elpa/auto-complete-20200823.1758/auto-complete hides /usr/share/emacs/site-lisp/auto-complete/auto-complete
/usr/share/emacs/site-lisp/ess-site hides /usr/share/emacs/site-lisp/ess/ess-site
/home/hagbard/.emacs.d/elpa/org-9.4/ob-latex hides /usr/share/emacs/site-lisp/org-mode/ob-latex
/home/hagbard/.emacs.d/elpa/org-9.4/ob-ruby hides /usr/share/emacs/site-lisp/org-mode/ob-ruby
/home/hagbard/.emacs.d/elpa/org-9.4/org-datetree hides /usr/share/emacs/site-lisp/org-mode/org-datetree
/home/hagbard/.emacs.d/elpa/org-9.4/ob-plantuml hides /usr/share/emacs/site-lisp/org-mode/ob-plantuml
/home/hagbard/.emacs.d/elpa/org-9.4/ob-groovy hides /usr/share/emacs/site-lisp/org-mode/ob-groovy
/home/hagbard/.emacs.d/elpa/org-9.4/ob-lob hides /usr/share/emacs/site-lisp/org-mode/ob-lob
/home/hagbard/.emacs.d/elpa/org-9.4/org-lint hides /usr/share/emacs/site-lisp/org-mode/org-lint
/home/hagbard/.emacs.d/elpa/org-9.4/org-loaddefs hides /usr/share/emacs/site-lisp/org-mode/org-loaddefs
/home/hagbard/.emacs.d/elpa/org-9.4/org-clock hides /usr/share/emacs/site-lisp/org-mode/org-clock
/home/hagbard/.emacs.d/elpa/org-9.4/org-pcomplete hides /usr/share/emacs/site-lisp/org-mode/org-pcomplete
/home/hagbard/.emacs.d/elpa/org-9.4/org hides /usr/share/emacs/site-lisp/org-mode/org
/home/hagbard/.emacs.d/elpa/org-9.4/org-inlinetask hides /usr/share/emacs/site-lisp/org-mode/org-inlinetask
/home/hagbard/.emacs.d/elpa/org-9.4/ob-org hides /usr/share/emacs/site-lisp/org-mode/ob-org
/home/hagbard/.emacs.d/elpa/org-9.4/ox-ascii hides /usr/share/emacs/site-lisp/org-mode/ox-ascii
/home/hagbard/.emacs.d/elpa/org-9.4/ob-abc hides /usr/share/emacs/site-lisp/org-mode/ob-abc
/home/hagbard/.emacs.d/elpa/org-9.4/ob-makefile hides /usr/share/emacs/site-lisp/org-mode/ob-makefile
/home/hagbard/.emacs.d/elpa/org-9.4/ob-clojure hides /usr/share/emacs/site-lisp/org-mode/ob-clojure
/home/hagbard/.emacs.d/elpa/org-9.4/ob-haskell hides /usr/share/emacs/site-lisp/org-mode/ob-haskell
/home/hagbard/.emacs.d/elpa/org-9.4/ox-man hides /usr/share/emacs/site-lisp/org-mode/ox-man
/home/hagbard/.emacs.d/elpa/org-9.4/org-list hides /usr/share/emacs/site-lisp/org-mode/org-list
/home/hagbard/.emacs.d/elpa/org-9.4/ox-odt hides /usr/share/emacs/site-lisp/org-mode/ox-odt
/home/hagbard/.emacs.d/elpa/org-9.4/ob-comint hides /usr/share/emacs/site-lisp/org-mode/ob-comint
/home/hagbard/.emacs.d/elpa/org-9.4/ob-gnuplot hides /usr/share/emacs/site-lisp/org-mode/ob-gnuplot
/home/hagbard/.emacs.d/elpa/org-9.4/org-install hides /usr/share/emacs/site-lisp/org-mode/org-install
/home/hagbard/.emacs.d/elpa/org-9.4/org-footnote hides /usr/share/emacs/site-lisp/org-mode/org-footnote
/home/hagbard/.emacs.d/elpa/org-9.4/ob-fortran hides /usr/share/emacs/site-lisp/org-mode/ob-fortran
/home/hagbard/.emacs.d/elpa/org-9.4/ob-J hides /usr/share/emacs/site-lisp/org-mode/ob-J
/home/hagbard/.emacs.d/elpa/org-9.4/ob-ebnf hides /usr/share/emacs/site-lisp/org-mode/ob-ebnf
/home/hagbard/.emacs.d/elpa/org-9.4/ob-perl hides /usr/share/emacs/site-lisp/org-mode/ob-perl
/home/hagbard/.emacs.d/elpa/org-9.4/ox-html hides /usr/share/emacs/site-lisp/org-mode/ox-html
/home/hagbard/.emacs.d/elpa/org-9.4/ob-python hides /usr/share/emacs/site-lisp/org-mode/ob-python
/home/hagbard/.emacs.d/elpa/org-9.4/org-macs hides /usr/share/emacs/site-lisp/org-mode/org-macs
/home/hagbard/.emacs.d/elpa/org-9.4/ox hides /usr/share/emacs/site-lisp/org-mode/ox
/home/hagbard/.emacs.d/elpa/org-9.4/org-agenda hides /usr/share/emacs/site-lisp/org-mode/org-agenda
/home/hagbard/.emacs.d/elpa/org-9.4/ob-shell hides /usr/share/emacs/site-lisp/org-mode/ob-shell
/home/hagbard/.emacs.d/elpa/org-9.4/ob-table hides /usr/share/emacs/site-lisp/org-mode/ob-table
/home/hagbard/.emacs.d/elpa/org-9.4/ob-shen hides /usr/share/emacs/site-lisp/org-mode/ob-shen
/home/hagbard/.emacs.d/elpa/org-9.4/ob-sass hides /usr/share/emacs/site-lisp/org-mode/ob-sass
/home/hagbard/.emacs.d/elpa/org-9.4/org-indent hides /usr/share/emacs/site-lisp/org-mode/org-indent
/home/hagbard/.emacs.d/elpa/org-9.4/ox-publish hides /usr/share/emacs/site-lisp/org-mode/ox-publish
/home/hagbard/.emacs.d/elpa/org-9.4/ob-io hides /usr/share/emacs/site-lisp/org-mode/ob-io
/home/hagbard/.emacs.d/elpa/org-9.4/ob-ref hides /usr/share/emacs/site-lisp/org-mode/ob-ref
/home/hagbard/.emacs.d/elpa/org-9.4/ob-emacs-lisp hides /usr/share/emacs/site-lisp/org-mode/ob-emacs-lisp
/home/hagbard/.emacs.d/elpa/org-9.4/org-archive hides /usr/share/emacs/site-lisp/org-mode/org-archive
/home/hagbard/.emacs.d/elpa/org-9.4/org-protocol hides /usr/share/emacs/site-lisp/org-mode/org-protocol
/home/hagbard/.emacs.d/elpa/org-9.4/ob-matlab hides /usr/share/emacs/site-lisp/org-mode/ob-matlab
/home/hagbard/.emacs.d/elpa/org-9.4/ob-sql hides /usr/share/emacs/site-lisp/org-mode/ob-sql
/home/hagbard/.emacs.d/elpa/org-9.4/org-plot hides /usr/share/emacs/site-lisp/org-mode/org-plot
/home/hagbard/.emacs.d/elpa/org-9.4/ox-md hides /usr/share/emacs/site-lisp/org-mode/ox-md
/home/hagbard/.emacs.d/elpa/org-9.4/org-table hides /usr/share/emacs/site-lisp/org-mode/org-table
/home/hagbard/.emacs.d/elpa/org-9.4/ob-java hides /usr/share/emacs/site-lisp/org-mode/ob-java
/home/hagbard/.emacs.d/elpa/org-9.4/ob-sed hides /usr/share/emacs/site-lisp/org-mode/ob-sed
/home/hagbard/.emacs.d/elpa/org-9.4/org-ctags hides /usr/share/emacs/site-lisp/org-mode/org-ctags
/home/hagbard/.emacs.d/elpa/org-9.4/ob-mscgen hides /usr/share/emacs/site-lisp/org-mode/ob-mscgen
/home/hagbard/.emacs.d/elpa/org-9.4/org-entities hides /usr/share/emacs/site-lisp/org-mode/org-entities
/home/hagbard/.emacs.d/elpa/org-9.4/org-capture hides /usr/share/emacs/site-lisp/org-mode/org-capture
/home/hagbard/.emacs.d/elpa/org-9.4/org-feed hides /usr/share/emacs/site-lisp/org-mode/org-feed
/home/hagbard/.emacs.d/elpa/org-9.4/ob-dot hides /usr/share/emacs/site-lisp/org-mode/ob-dot
/home/hagbard/.emacs.d/elpa/org-9.4/ob-tangle hides /usr/share/emacs/site-lisp/org-mode/ob-tangle
/home/hagbard/.emacs.d/elpa/org-9.4/ob-eval hides /usr/share/emacs/site-lisp/org-mode/ob-eval
/home/hagbard/.emacs.d/elpa/org-9.4/ob-ocaml hides /usr/share/emacs/site-lisp/org-mode/ob-ocaml
/home/hagbard/.emacs.d/elpa/org-9.4/org-colview hides /usr/share/emacs/site-lisp/org-mode/org-colview
/home/hagbard/.emacs.d/elpa/org-9.4/org-timer hides /usr/share/emacs/site-lisp/org-mode/org-timer
/home/hagbard/.emacs.d/elpa/org-9.4/ox-icalendar hides /usr/share/emacs/site-lisp/org-mode/ox-icalendar
/home/hagbard/.emacs.d/elpa/org-9.4/org-mouse hides /usr/share/emacs/site-lisp/org-mode/org-mouse
/home/hagbard/.emacs.d/elpa/org-9.4/ox-texinfo hides /usr/share/emacs/site-lisp/org-mode/ox-texinfo
/home/hagbard/.emacs.d/elpa/org-9.4/ob-coq hides /usr/share/emacs/site-lisp/org-mode/ob-coq
/home/hagbard/.emacs.d/elpa/org-9.4/ob-sqlite hides /usr/share/emacs/site-lisp/org-mode/ob-sqlite
/home/hagbard/.emacs.d/elpa/org-9.4/ob-ledger hides /usr/share/emacs/site-lisp/org-mode/ob-ledger
/home/hagbard/.emacs.d/elpa/org-9.4/ob-processing hides /usr/share/emacs/site-lisp/org-mode/ob-processing
/home/hagbard/.emacs.d/elpa/org-9.4/ox-beamer hides /usr/share/emacs/site-lisp/org-mode/ox-beamer
/home/hagbard/.emacs.d/elpa/org-9.4/org-faces hides /usr/share/emacs/site-lisp/org-mode/org-faces
/home/hagbard/.emacs.d/elpa/org-9.4/ox-latex hides /usr/share/emacs/site-lisp/org-mode/ox-latex
/home/hagbard/.emacs.d/elpa/org-9.4/ob-awk hides /usr/share/emacs/site-lisp/org-mode/ob-awk
/home/hagbard/.emacs.d/elpa/org-9.4/org-id hides /usr/share/emacs/site-lisp/org-mode/org-id
/home/hagbard/.emacs.d/elpa/org-9.4/ob-css hides /usr/share/emacs/site-lisp/org-mode/ob-css
/home/hagbard/.emacs.d/elpa/org-9.4/ob-exp hides /usr/share/emacs/site-lisp/org-mode/ob-exp
/home/hagbard/.emacs.d/elpa/org-9.4/ob-screen hides /usr/share/emacs/site-lisp/org-mode/ob-screen
/home/hagbard/.emacs.d/elpa/org-9.4/ob-R hides /usr/share/emacs/site-lisp/org-mode/ob-R
/home/hagbard/.emacs.d/elpa/org-9.4/org-crypt hides /usr/share/emacs/site-lisp/org-mode/org-crypt
/home/hagbard/.emacs.d/elpa/org-9.4/ob-picolisp hides /usr/share/emacs/site-lisp/org-mode/ob-picolisp
/home/hagbard/.emacs.d/elpa/org-9.4/org-compat hides /usr/share/emacs/site-lisp/org-mode/org-compat
/home/hagbard/.emacs.d/elpa/org-9.4/ob-asymptote hides /usr/share/emacs/site-lisp/org-mode/ob-asymptote
/home/hagbard/.emacs.d/elpa/org-9.4/ob-calc hides /usr/share/emacs/site-lisp/org-mode/ob-calc
/home/hagbard/.emacs.d/elpa/org-9.4/ob hides /usr/share/emacs/site-lisp/org-mode/ob
/home/hagbard/.emacs.d/elpa/org-9.4/org-habit hides /usr/share/emacs/site-lisp/org-mode/org-habit
/home/hagbard/.emacs.d/elpa/org-9.4/ob-core hides /usr/share/emacs/site-lisp/org-mode/ob-core
/home/hagbard/.emacs.d/elpa/org-9.4/ob-lisp hides /usr/share/emacs/site-lisp/org-mode/ob-lisp
/home/hagbard/.emacs.d/elpa/org-9.4/ox-org hides /usr/share/emacs/site-lisp/org-mode/ox-org
/home/hagbard/.emacs.d/elpa/org-9.4/org-mobile hides /usr/share/emacs/site-lisp/org-mode/org-mobile
/home/hagbard/.emacs.d/elpa/org-9.4/ob-maxima hides /usr/share/emacs/site-lisp/org-mode/ob-maxima
/home/hagbard/.emacs.d/elpa/org-9.4/ob-octave hides /usr/share/emacs/site-lisp/org-mode/ob-octave
/home/hagbard/.emacs.d/elpa/org-9.4/ob-forth hides /usr/share/emacs/site-lisp/org-mode/ob-forth
/home/hagbard/.emacs.d/elpa/org-9.4/ob-stan hides /usr/share/emacs/site-lisp/org-mode/ob-stan
/home/hagbard/.emacs.d/elpa/org-9.4/org-src hides /usr/share/emacs/site-lisp/org-mode/org-src
/home/hagbard/.emacs.d/elpa/org-9.4/org-element hides /usr/share/emacs/site-lisp/org-mode/org-element
/home/hagbard/.emacs.d/elpa/org-9.4/ob-js hides /usr/share/emacs/site-lisp/org-mode/ob-js
/home/hagbard/.emacs.d/elpa/org-9.4/org-version hides /usr/share/emacs/site-lisp/org-mode/org-version
/home/hagbard/.emacs.d/elpa/org-9.4/org-attach hides /usr/share/emacs/site-lisp/org-mode/org-attach
/home/hagbard/.emacs.d/elpa/org-9.4/org-macro hides /usr/share/emacs/site-lisp/org-mode/org-macro
/home/hagbard/.emacs.d/elpa/org-9.4/ob-ditaa hides /usr/share/emacs/site-lisp/org-mode/ob-ditaa
/home/hagbard/.emacs.d/elpa/org-9.4/ob-lilypond hides /usr/share/emacs/site-lisp/org-mode/ob-lilypond
/home/hagbard/.emacs.d/elpa/org-9.4/ob-C hides /usr/share/emacs/site-lisp/org-mode/ob-C
/home/hagbard/.emacs.d/elpa/org-9.4/ob-scheme hides /usr/share/emacs/site-lisp/org-mode/ob-scheme
/usr/share/emacs/site-lisp/dictionaries-common/ispell hides /usr/share/emacs/27.1/lisp/textmodes/ispell
/usr/share/emacs/site-lisp/dictionaries-common/flyspell hides /usr/share/emacs/27.1/lisp/textmodes/flyspell
/home/hagbard/.emacs.d/elpa/org-9.4/ol-info hides /usr/share/emacs/27.1/lisp/org/ol-info
/home/hagbard/.emacs.d/elpa/org-9.4/ob-perl hides /usr/share/emacs/27.1/lisp/org/ob-perl
/home/hagbard/.emacs.d/elpa/org-9.4/ob hides /usr/share/emacs/27.1/lisp/org/ob
/home/hagbard/.emacs.d/elpa/org-9.4/ob-shell hides /usr/share/emacs/27.1/lisp/org/ob-shell
/home/hagbard/.emacs.d/elpa/org-9.4/ob-java hides /usr/share/emacs/27.1/lisp/org/ob-java
/home/hagbard/.emacs.d/elpa/org-9.4/org-datetree hides /usr/share/emacs/27.1/lisp/org/org-datetree
/home/hagbard/.emacs.d/elpa/org-9.4/ob-emacs-lisp hides /usr/share/emacs/27.1/lisp/org/ob-emacs-lisp
/home/hagbard/.emacs.d/elpa/org-9.4/org-loaddefs hides /usr/share/emacs/27.1/lisp/org/org-loaddefs
/home/hagbard/.emacs.d/elpa/org-9.4/org-colview hides /usr/share/emacs/27.1/lisp/org/org-colview
/home/hagbard/.emacs.d/elpa/org-9.4/ol-bbdb hides /usr/share/emacs/27.1/lisp/org/ol-bbdb
/home/hagbard/.emacs.d/elpa/org-9.4/org-timer hides /usr/share/emacs/27.1/lisp/org/org-timer
/home/hagbard/.emacs.d/elpa/org-9.4/org-protocol hides /usr/share/emacs/27.1/lisp/org/org-protocol
/home/hagbard/.emacs.d/elpa/org-9.4/ob-sqlite hides /usr/share/emacs/27.1/lisp/org/ob-sqlite
/home/hagbard/.emacs.d/elpa/org-9.4/ob-exp hides /usr/share/emacs/27.1/lisp/org/ob-exp
/home/hagbard/.emacs.d/elpa/org-9.4/org-entities hides /usr/share/emacs/27.1/lisp/org/org-entities
/home/hagbard/.emacs.d/elpa/org-9.4/org-macs hides /usr/share/emacs/27.1/lisp/org/org-macs
/home/hagbard/.emacs.d/elpa/org-9.4/ol-bibtex hides /usr/share/emacs/27.1/lisp/org/ol-bibtex
/home/hagbard/.emacs.d/elpa/org-9.4/ob-abc hides /usr/share/emacs/27.1/lisp/org/ob-abc
/home/hagbard/.emacs.d/elpa/org-9.4/org-compat hides /usr/share/emacs/27.1/lisp/org/org-compat
/home/hagbard/.emacs.d/elpa/org-9.4/ob-eval hides /usr/share/emacs/27.1/lisp/org/ob-eval
/home/hagbard/.emacs.d/elpa/org-9.4/ob-sql hides /usr/share/emacs/27.1/lisp/org/ob-sql
/home/hagbard/.emacs.d/elpa/org-9.4/ob-comint hides /usr/share/emacs/27.1/lisp/org/ob-comint
/home/hagbard/.emacs.d/elpa/org-9.4/org-install hides /usr/share/emacs/27.1/lisp/org/org-install
/home/hagbard/.emacs.d/elpa/org-9.4/org-capture hides /usr/share/emacs/27.1/lisp/org/org-capture
/home/hagbard/.emacs.d/elpa/org-9.4/ob-stan hides /usr/share/emacs/27.1/lisp/org/ob-stan
/home/hagbard/.emacs.d/elpa/org-9.4/ob-io hides /usr/share/emacs/27.1/lisp/org/ob-io
/home/hagbard/.emacs.d/elpa/org-9.4/ob-mscgen hides /usr/share/emacs/27.1/lisp/org/ob-mscgen
/home/hagbard/.emacs.d/elpa/org-9.4/ol-rmail hides /usr/share/emacs/27.1/lisp/org/ol-rmail
/home/hagbard/.emacs.d/elpa/org-9.4/org-keys hides /usr/share/emacs/27.1/lisp/org/org-keys
/home/hagbard/.emacs.d/elpa/org-9.4/ob-R hides /usr/share/emacs/27.1/lisp/org/ob-R
/home/hagbard/.emacs.d/elpa/org-9.4/ob-gnuplot hides /usr/share/emacs/27.1/lisp/org/ob-gnuplot
/home/hagbard/.emacs.d/elpa/org-9.4/ol-irc hides /usr/share/emacs/27.1/lisp/org/ol-irc
/home/hagbard/.emacs.d/elpa/org-9.4/ox-beamer hides /usr/share/emacs/27.1/lisp/org/ox-beamer
/home/hagbard/.emacs.d/elpa/org-9.4/ob-forth hides /usr/share/emacs/27.1/lisp/org/ob-forth
/home/hagbard/.emacs.d/elpa/org-9.4/ob-ditaa hides /usr/share/emacs/27.1/lisp/org/ob-ditaa
/home/hagbard/.emacs.d/elpa/org-9.4/ob-vala hides /usr/share/emacs/27.1/lisp/org/ob-vala
/home/hagbard/.emacs.d/elpa/org-9.4/ol-eww hides /usr/share/emacs/27.1/lisp/org/ol-eww
/home/hagbard/.emacs.d/elpa/org-9.4/ob-C hides /usr/share/emacs/27.1/lisp/org/ob-C
/home/hagbard/.emacs.d/elpa/org-9.4/ol-eshell hides /usr/share/emacs/27.1/lisp/org/ol-eshell
/home/hagbard/.emacs.d/elpa/org-9.4/org-footnote hides /usr/share/emacs/27.1/lisp/org/org-footnote
/home/hagbard/.emacs.d/elpa/org-9.4/org-feed hides /usr/share/emacs/27.1/lisp/org/org-feed
/home/hagbard/.emacs.d/elpa/org-9.4/ob-lua hides /usr/share/emacs/27.1/lisp/org/ob-lua
/home/hagbard/.emacs.d/elpa/org-9.4/ox-man hides /usr/share/emacs/27.1/lisp/org/ox-man
/home/hagbard/.emacs.d/elpa/org-9.4/org-faces hides /usr/share/emacs/27.1/lisp/org/org-faces
/home/hagbard/.emacs.d/elpa/org-9.4/org-table hides /usr/share/emacs/27.1/lisp/org/org-table
/home/hagbard/.emacs.d/elpa/org-9.4/org-ctags hides /usr/share/emacs/27.1/lisp/org/org-ctags
/home/hagbard/.emacs.d/elpa/org-9.4/ob-matlab hides /usr/share/emacs/27.1/lisp/org/ob-matlab
/home/hagbard/.emacs.d/elpa/org-9.4/ob-core hides /usr/share/emacs/27.1/lisp/org/ob-core
/home/hagbard/.emacs.d/elpa/org-9.4/ol-mhe hides /usr/share/emacs/27.1/lisp/org/ol-mhe
/home/hagbard/.emacs.d/elpa/org-9.4/ob-plantuml hides /usr/share/emacs/27.1/lisp/org/ob-plantuml
/home/hagbard/.emacs.d/elpa/org-9.4/org-habit hides /usr/share/emacs/27.1/lisp/org/org-habit
/home/hagbard/.emacs.d/elpa/org-9.4/org-lint hides /usr/share/emacs/27.1/lisp/org/org-lint
/home/hagbard/.emacs.d/elpa/org-9.4/ob-org hides /usr/share/emacs/27.1/lisp/org/ob-org
/home/hagbard/.emacs.d/elpa/org-9.4/ob-js hides /usr/share/emacs/27.1/lisp/org/ob-js
/home/hagbard/.emacs.d/elpa/org-9.4/ol-w3m hides /usr/share/emacs/27.1/lisp/org/ol-w3m
/home/hagbard/.emacs.d/elpa/org-9.4/ob-latex hides /usr/share/emacs/27.1/lisp/org/ob-latex
/home/hagbard/.emacs.d/elpa/org-9.4/ox-texinfo hides /usr/share/emacs/27.1/lisp/org/ox-texinfo
/home/hagbard/.emacs.d/elpa/org-9.4/org-element hides /usr/share/emacs/27.1/lisp/org/org-element
/home/hagbard/.emacs.d/elpa/org-9.4/ox-icalendar hides /usr/share/emacs/27.1/lisp/org/ox-icalendar
/home/hagbard/.emacs.d/elpa/org-9.4/ob-ruby hides /usr/share/emacs/27.1/lisp/org/ob-ruby
/home/hagbard/.emacs.d/elpa/org-9.4/ob-haskell hides /usr/share/emacs/27.1/lisp/org/ob-haskell
/home/hagbard/.emacs.d/elpa/org-9.4/ob-awk hides /usr/share/emacs/27.1/lisp/org/ob-awk
/home/hagbard/.emacs.d/elpa/org-9.4/org-mouse hides /usr/share/emacs/27.1/lisp/org/org-mouse
/home/hagbard/.emacs.d/elpa/org-9.4/ob-ledger hides /usr/share/emacs/27.1/lisp/org/ob-ledger
/home/hagbard/.emacs.d/elpa/org-9.4/org-attach hides /usr/share/emacs/27.1/lisp/org/org-attach
/home/hagbard/.emacs.d/elpa/org-9.4/ob-maxima hides /usr/share/emacs/27.1/lisp/org/ob-maxima
/home/hagbard/.emacs.d/elpa/org-9.4/ob-ref hides /usr/share/emacs/27.1/lisp/org/ob-ref
/home/hagbard/.emacs.d/elpa/org-9.4/org-clock hides /usr/share/emacs/27.1/lisp/org/org-clock
/home/hagbard/.emacs.d/elpa/org-9.4/ob-table hides /usr/share/emacs/27.1/lisp/org/ob-table
/home/hagbard/.emacs.d/elpa/org-9.4/org-plot hides /usr/share/emacs/27.1/lisp/org/org-plot
/home/hagbard/.emacs.d/elpa/org-9.4/ob-tangle hides /usr/share/emacs/27.1/lisp/org/ob-tangle
/home/hagbard/.emacs.d/elpa/org-9.4/ox-latex hides /usr/share/emacs/27.1/lisp/org/ox-latex
/home/hagbard/.emacs.d/elpa/org-9.4/ox-html hides /usr/share/emacs/27.1/lisp/org/ox-html
/home/hagbard/.emacs.d/elpa/org-9.4/org-attach-git hides /usr/share/emacs/27.1/lisp/org/org-attach-git
/home/hagbard/.emacs.d/elpa/org-9.4/ob-calc hides /usr/share/emacs/27.1/lisp/org/ob-calc
/home/hagbard/.emacs.d/elpa/org-9.4/org-tempo hides /usr/share/emacs/27.1/lisp/org/org-tempo
/home/hagbard/.emacs.d/elpa/org-9.4/org-pcomplete hides /usr/share/emacs/27.1/lisp/org/org-pcomplete
/home/hagbard/.emacs.d/elpa/org-9.4/org-indent hides /usr/share/emacs/27.1/lisp/org/org-indent
/home/hagbard/.emacs.d/elpa/org-9.4/ox hides /usr/share/emacs/27.1/lisp/org/ox
/home/hagbard/.emacs.d/elpa/org-9.4/ob-ocaml hides /usr/share/emacs/27.1/lisp/org/ob-ocaml
/home/hagbard/.emacs.d/elpa/org-9.4/org-macro hides /usr/share/emacs/27.1/lisp/org/org-macro
/home/hagbard/.emacs.d/elpa/org-9.4/ob-ebnf hides /usr/share/emacs/27.1/lisp/org/ob-ebnf
/home/hagbard/.emacs.d/elpa/org-9.4/ob-sed hides /usr/share/emacs/27.1/lisp/org/ob-sed
/home/hagbard/.emacs.d/elpa/org-9.4/ob-screen hides /usr/share/emacs/27.1/lisp/org/ob-screen
/home/hagbard/.emacs.d/elpa/org-9.4/ob-J hides /usr/share/emacs/27.1/lisp/org/ob-J
/home/hagbard/.emacs.d/elpa/org-9.4/ox-org hides /usr/share/emacs/27.1/lisp/org/ox-org
/home/hagbard/.emacs.d/elpa/org-9.4/org-id hides /usr/share/emacs/27.1/lisp/org/org-id
/home/hagbard/.emacs.d/elpa/org-9.4/ob-eshell hides /usr/share/emacs/27.1/lisp/org/ob-eshell
/home/hagbard/.emacs.d/elpa/org-9.4/ob-lilypond hides /usr/share/emacs/27.1/lisp/org/ob-lilypond
/home/hagbard/.emacs.d/elpa/org-9.4/ob-dot hides /usr/share/emacs/27.1/lisp/org/ob-dot
/home/hagbard/.emacs.d/elpa/org-9.4/org-agenda hides /usr/share/emacs/27.1/lisp/org/org-agenda
/home/hagbard/.emacs.d/elpa/org-9.4/ob-asymptote hides /usr/share/emacs/27.1/lisp/org/ob-asymptote
/home/hagbard/.emacs.d/elpa/org-9.4/ob-python hides /usr/share/emacs/27.1/lisp/org/ob-python
/home/hagbard/.emacs.d/elpa/org-9.4/ob-groovy hides /usr/share/emacs/27.1/lisp/org/ob-groovy
/home/hagbard/.emacs.d/elpa/org-9.4/ox-md hides /usr/share/emacs/27.1/lisp/org/ox-md
/home/hagbard/.emacs.d/elpa/org-9.4/ox-odt hides /usr/share/emacs/27.1/lisp/org/ox-odt
/home/hagbard/.emacs.d/elpa/org-9.4/ob-fortran hides /usr/share/emacs/27.1/lisp/org/ob-fortran
/home/hagbard/.emacs.d/elpa/org-9.4/ox-ascii hides /usr/share/emacs/27.1/lisp/org/ox-ascii
/home/hagbard/.emacs.d/elpa/org-9.4/ob-sass hides /usr/share/emacs/27.1/lisp/org/ob-sass
/home/hagbard/.emacs.d/elpa/org-9.4/ob-lob hides /usr/share/emacs/27.1/lisp/org/ob-lob
/home/hagbard/.emacs.d/elpa/org-9.4/org-num hides /usr/share/emacs/27.1/lisp/org/org-num
/home/hagbard/.emacs.d/elpa/org-9.4/org-crypt hides /usr/share/emacs/27.1/lisp/org/org-crypt
/home/hagbard/.emacs.d/elpa/org-9.4/org-list hides /usr/share/emacs/27.1/lisp/org/org-list
/home/hagbard/.emacs.d/elpa/org-9.4/ob-scheme hides /usr/share/emacs/27.1/lisp/org/ob-scheme
/home/hagbard/.emacs.d/elpa/org-9.4/ol hides /usr/share/emacs/27.1/lisp/org/ol
/home/hagbard/.emacs.d/elpa/org-9.4/ob-picolisp hides /usr/share/emacs/27.1/lisp/org/ob-picolisp
/home/hagbard/.emacs.d/elpa/org-9.4/ob-processing hides /usr/share/emacs/27.1/lisp/org/ob-processing
/home/hagbard/.emacs.d/elpa/org-9.4/org-goto hides /usr/share/emacs/27.1/lisp/org/org-goto
/home/hagbard/.emacs.d/elpa/org-9.4/ob-css hides /usr/share/emacs/27.1/lisp/org/ob-css
/home/hagbard/.emacs.d/elpa/org-9.4/ob-hledger hides /usr/share/emacs/27.1/lisp/org/ob-hledger
/home/hagbard/.emacs.d/elpa/org-9.4/ox-publish hides /usr/share/emacs/27.1/lisp/org/ox-publish
/home/hagbard/.emacs.d/elpa/org-9.4/org-version hides /usr/share/emacs/27.1/lisp/org/org-version
/home/hagbard/.emacs.d/elpa/org-9.4/ob-lisp hides /usr/share/emacs/27.1/lisp/org/ob-lisp
/home/hagbard/.emacs.d/elpa/org-9.4/ol-gnus hides /usr/share/emacs/27.1/lisp/org/ol-gnus
/home/hagbard/.emacs.d/elpa/org-9.4/org-inlinetask hides /usr/share/emacs/27.1/lisp/org/org-inlinetask
/home/hagbard/.emacs.d/elpa/org-9.4/ol-docview hides /usr/share/emacs/27.1/lisp/org/ol-docview
/home/hagbard/.emacs.d/elpa/org-9.4/ob-makefile hides /usr/share/emacs/27.1/lisp/org/ob-makefile
/home/hagbard/.emacs.d/elpa/org-9.4/org-src hides /usr/share/emacs/27.1/lisp/org/org-src
/home/hagbard/.emacs.d/elpa/org-9.4/ob-shen hides /usr/share/emacs/27.1/lisp/org/ob-shen
/home/hagbard/.emacs.d/elpa/org-9.4/org-duration hides /usr/share/emacs/27.1/lisp/org/org-duration
/home/hagbard/.emacs.d/elpa/org-9.4/org-mobile hides /usr/share/emacs/27.1/lisp/org/org-mobile
/home/hagbard/.emacs.d/elpa/org-9.4/org-archive hides /usr/share/emacs/27.1/lisp/org/org-archive
/home/hagbard/.emacs.d/elpa/org-9.4/ob-coq hides /usr/share/emacs/27.1/lisp/org/ob-coq
/home/hagbard/.emacs.d/elpa/org-9.4/ob-octave hides /usr/share/emacs/27.1/lisp/org/ob-octave
/home/hagbard/.emacs.d/elpa/org-9.4/org hides /usr/share/emacs/27.1/lisp/org/org
/home/hagbard/.emacs.d/elpa/org-9.4/ob-clojure hides /usr/share/emacs/27.1/lisp/org/ob-clojure

Features:
(shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs
format-spec rfc822 mml mml-sec epa derived epg epg-config gnus-util
rmail rmail-loaddefs text-property-search mm-decode mm-bodies mm-encode
mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047
rfc2045 ietf-drums mm-util mail-prsvr mail-utils time-date edmacro
kmacro pcase finder-inf info package easymenu browse-url url-handlers
url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs
password-cache json subr-x map url-vars seq byte-opt gv bytecomp
byte-compile cconv cl-loaddefs cl-lib tooltip eldoc electric uniquify
ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win
term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe
tabulated-list replace newcomment text-mode elisp-mode lisp-mode
prog-mode register page tab-bar menu-bar rfn-eshadow isearch timer
select scroll-bar mouse jit-lock font-lock syntax facemenu font-core
term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms
cp51932 hebrew greek romanian slovak czech european ethiopic indian
cyrillic chinese composite charscript charprop case-table epa-hook
jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice loaddefs
button faces cus-face macroexp files text-properties overlay sha1 md5
base64 format env code-pages mule custom widget hashtable-print-readable
backquote threads dbusbind inotify lcms2 dynamic-setting
system-font-setting font-render-setting cairo move-toolbar gtk x-toolkit
x multi-tty make-network-process emacs)

Memory information:
((conses 16 72984 5475)
 (symbols 48 8554 1)
 (strings 32 25653 2154)
 (string-bytes 1 793319)
 (vectors 16 13396)
 (vector-slots 8 173963 8984)
 (floats 8 25 21)
 (intervals 56 253 0)
 (buffers 1000 12)
 (heap 1024 19951 1506))







> Sent: Sunday, January 03, 2021 at 9:02 PM
> From: "Eli Zaretskii" <eliz <at> gnu.org>
> To: "Christopher Dimech" <dimech <at> gmx.com>
> Cc: 45622 <at> debbugs.gnu.org
> Subject: bug#45622: (flyspell-buffer) does not enable spelling highlighting
>
> > From: Christopher Dimech <dimech <at> gmx.com>
> > Date: Sun, 3 Jan 2021 14:55:04 +0100
> > Sensitivity: Normal
> >
> > When I call (flyspell-buffer) through a keybinding the highlighting
> > of flyspell is not activated.  However things work when using
> > "M-x flyspell-buffer".
>
> I cannot reproduce this.  Please describe the steps to reproduce the
> problem starting from "emacs -Q", and please provide the information
> collected by "M-x report-emacs-bug" on that system.
>
> Thanks.
>
>
>
>




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#45622; Package emacs. (Mon, 04 Jan 2021 14:55:02 GMT) Full text and rfc822 format available.

Message #14 received at 45622 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Christopher Dimech <dimech <at> gmx.com>
Cc: 45622 <at> debbugs.gnu.org
Subject: Re: bug#45622: (flyspell-buffer) does not enable spelling highlighting
Date: Mon, 04 Jan 2021 16:54:09 +0200
> From: Christopher Dimech <dimech <at> gmx.com>
> Cc: 45622 <at> debbugs.gnu.org
> Date: Sun, 3 Jan 2021 17:58:16 +0100
> 
> The problem occurs with the following code.  If you comment out
> (flyspell-prog-mode) the wavy underline gets activated.  But not
> if you include  (flyspell-prog-mode).
> 
> (defvar flyspell-buffer-state nil)
> (defun flyspell-buffer-gungadin ()
>   "Corrects vocabulary by inspecting the spelling of text in a buffer."
>   (interactive)
> 
>   (pcase flyspell-buffer-state
>     (1 (message "%s" "Flyspell: Buffer")
>        (flyspell-buffer)
>        (setq flyspell-buffer-state 2))
> 
>     (2 (message "%s" "Flyspell: Off")
>        (flyspell-mode 0)
>        (setq flyspell-buffer-state 0))
> 
>     (_ (message "%s" "Flyspell: prog-mode")
>        (flyspell-prog-mode)
>        (setq flyspell-buffer-state 1))) )
> 
> (global-set-key (kbd "H-9") 'flyspell-buffer-gungadin)

I cannot reproduce with this, either.  Some steps are still missing,
though, so maybe there's something else you do to trigger the problem.

Here's what I did:

  . emacs -Q

  . Intentionally edit the comment at the top of *scratch* to make 2
    spelling mistakes in it.
  . Insert and evaluate the code you posted
  . Move point to beginning of buffer
  . Press the key you bind to this command once -- this activates the
    flyspell-prog-mode
  . Press the key the second time -- this runs flyspell-buffer and
    highlights the 2 typos I made





Added tag(s) moreinfo. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Sun, 10 Jan 2021 15:27:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#45622; Package emacs. (Tue, 09 Feb 2021 08:39:01 GMT) Full text and rfc822 format available.

Message #19 received at 45622 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: Christopher Dimech <dimech <at> gmx.com>, 45622 <at> debbugs.gnu.org
Subject: Re: bug#45622: (flyspell-buffer) does not enable spelling highlighting
Date: Tue, 09 Feb 2021 09:37:57 +0100
Eli Zaretskii <eliz <at> gnu.org> writes:

> I cannot reproduce with this, either.  Some steps are still missing,
> though, so maybe there's something else you do to trigger the problem.
>
> Here's what I did:
>
>   . emacs -Q
>
>   . Intentionally edit the comment at the top of *scratch* to make 2
>     spelling mistakes in it.
>   . Insert and evaluate the code you posted
>   . Move point to beginning of buffer
>   . Press the key you bind to this command once -- this activates the
>     flyspell-prog-mode
>   . Press the key the second time -- this runs flyspell-buffer and
>     highlights the 2 typos I made

More information was requested, but no response was given within a 
month, so I'm closing this bug report.  If the problem still exists,
please respond to this email and we'll reopen the bug report.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




bug closed, send any further explanations to 45622 <at> debbugs.gnu.org and Christopher Dimech <dimech <at> gmx.com> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Tue, 09 Feb 2021 08:39:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 09 Mar 2021 12:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 42 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.