On 2020/08/28 13:39:45 +0200, Daniel Schlieper wrote:
Dear Werner,
yes, I agree, the re-installation was probably not necessary.
I poked around a litte bit, and if I add a comment sign in front of the the hunspell line in
/usr/share/emacs/site-lisp/site-start.el
the behaviour is fine.
So the relevant section now reads:
;; Preload dynamic (i)Spell menu ;; ----------------------------- (if (not (load "/usr/lib/ispell/ispell-emacs-menu.el" t t)) (cond ((or (executable-find "aspell") ; (executable-find "hunspell") (executable-find "ispell")) (load "ispell" t t))))
That is strange as this cond statment should work like (if (not (load "/usr/lib/ispell/ispell-emacs-menu.el" t t)) (cond ((executable-find "aspell") (load "ispell" t t)) ((executable-find "hunspell") (load "ispell" t t)) ((executable-find "ispell") (load "ispell" t t)))) something is strange in GNU Emacs 27.1. What do you have installed of those three packages: ispell aspell hunspell and does the file /usr/lib/ispell/ispell-emacs-menu.el exists? Werner
The new site-start.el file is in the post scriptum.
Here is the difference:
capriolo:/usr/share/emacs/site-lisp # diff site-start.el-weg site-start.el 69c69 < (executable-find "hunspell") ---
; (executable-find "hunspell")
Many thanks indeed for your valuable, intensive and fast support! I am very grateful.
Best regards, Daniel
-- "Having a smoking section in a restaurant is like having a peeing section in a swimming pool." -- Edward Burr