unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#45622: (flyspell-buffer) does not enable spelling highlighting
@ 2021-01-03 13:55 Christopher Dimech
  2021-01-03 15:32 ` Eli Zaretskii
  0 siblings, 1 reply; 5+ messages in thread
From: Christopher Dimech @ 2021-01-03 13:55 UTC (permalink / raw)
  To: 45622

When I call (flyspell-buffer) through a keybinding the highlighting
of flyspell is not activated.  However things work when using
"M-x flyspell-buffer".





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#45622: (flyspell-buffer) does not enable spelling highlighting
  2021-01-03 13:55 bug#45622: (flyspell-buffer) does not enable spelling highlighting Christopher Dimech
@ 2021-01-03 15:32 ` Eli Zaretskii
  2021-01-03 16:58   ` Christopher Dimech
  0 siblings, 1 reply; 5+ messages in thread
From: Eli Zaretskii @ 2021-01-03 15:32 UTC (permalink / raw)
  To: Christopher Dimech; +Cc: 45622

> From: Christopher Dimech <dimech@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.





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#45622: (flyspell-buffer) does not enable spelling highlighting
  2021-01-03 15:32 ` Eli Zaretskii
@ 2021-01-03 16:58   ` Christopher Dimech
  2021-01-04 14:54     ` Eli Zaretskii
  0 siblings, 1 reply; 5+ messages in thread
From: Christopher Dimech @ 2021-01-03 16:58 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 45622

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@fuckup.i-did-not-set--mail-host-address--so-tickle-me>
To: bug-gnu-emacs@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@gnu.org>
> To: "Christopher Dimech" <dimech@gmx.com>
> Cc: 45622@debbugs.gnu.org
> Subject: bug#45622: (flyspell-buffer) does not enable spelling highlighting
>
> > From: Christopher Dimech <dimech@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.
>
>
>
>





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#45622: (flyspell-buffer) does not enable spelling highlighting
  2021-01-03 16:58   ` Christopher Dimech
@ 2021-01-04 14:54     ` Eli Zaretskii
  2021-02-09  8:37       ` Lars Ingebrigtsen
  0 siblings, 1 reply; 5+ messages in thread
From: Eli Zaretskii @ 2021-01-04 14:54 UTC (permalink / raw)
  To: Christopher Dimech; +Cc: 45622

> From: Christopher Dimech <dimech@gmx.com>
> Cc: 45622@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






^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#45622: (flyspell-buffer) does not enable spelling highlighting
  2021-01-04 14:54     ` Eli Zaretskii
@ 2021-02-09  8:37       ` Lars Ingebrigtsen
  0 siblings, 0 replies; 5+ messages in thread
From: Lars Ingebrigtsen @ 2021-02-09  8:37 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: Christopher Dimech, 45622

Eli Zaretskii <eliz@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





^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-02-09  8:37 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-03 13:55 bug#45622: (flyspell-buffer) does not enable spelling highlighting Christopher Dimech
2021-01-03 15:32 ` Eli Zaretskii
2021-01-03 16:58   ` Christopher Dimech
2021-01-04 14:54     ` Eli Zaretskii
2021-02-09  8:37       ` Lars Ingebrigtsen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).