all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#32319: 27.0.50; flyspell-mode error on start
@ 2018-07-30 19:42 Eric Abrahamsen
  2018-07-31 15:33 ` Eli Zaretskii
  0 siblings, 1 reply; 8+ messages in thread
From: Eric Abrahamsen @ 2018-07-30 19:42 UTC (permalink / raw)
  To: 32319


Turning on flyspell-mode started giving me an error a few days ago, on
two different machines I use. Both are Arch linux, both running Emacs
master.

My only ispell customizations:

(setq ispell-program-name (executable-find "hunspell"))
(setq ispell-personal-dictionary "~/.aspell.en_US.pws")

Starting flyspell-mode gives me:

Debugger entered--Lisp error: (wrong-type-argument stringp nil)
  string-match("," nil 0)
  split-string(nil "," t)
  ispell-parse-hunspell-affix-file(nil)
  ispell-hunspell-fill-dictionary-entry(nil)
  ispell-start-process()
  ispell-init-process()
  ispell-buffer-local-words()
  ispell-accept-buffer-local-defs()
  flyspell-accept-buffer-local-defs(force)
  flyspell-mode-on()

From "emacs -Q", setting `ispell-program-name' to (executable-find
"hunspell") (the first line of my customizations above) is sufficient to
trigger the error.

`ispell-current-dictionary' seems to be nil during the whole process,
which causes the eventual error.

The Hunspell version on Arch is "1.6.2", which is the value of
`ispell-really-hunspell'.

Hope that's enough information!

In GNU Emacs 27.0.50 (build 37, x86_64-pc-linux-gnu, GTK+ Version 3.22.30)
 of 2018-07-30 built on clem
Repository revision: 63ef79329935b790b9c8107125bce66e1f272c2e
Windowing system distributor 'The X.Org Foundation', version 11.0.12000000
System Description: Arch Linux

Recent messages:
Entering debugger...
Debug on Error disabled globally
Mark set
Mark activated
Back to top level
Mark set
Quit [2 times]
Mark saved where search started
"/usr/bin/hunspell"
"1.6.2"






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

end of thread, other threads:[~2018-08-11  7:36 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-07-30 19:42 bug#32319: 27.0.50; flyspell-mode error on start Eric Abrahamsen
2018-07-31 15:33 ` Eli Zaretskii
2018-08-01  2:03   ` Eric Abrahamsen
2018-08-01  6:00     ` Eli Zaretskii
2018-08-01 19:51       ` Eric Abrahamsen
2018-08-04 11:02         ` Eli Zaretskii
2018-08-05  5:21           ` Eric Abrahamsen
2018-08-11  7:36             ` Eli Zaretskii

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.