Dear Werner, no, I didn't have ispell or aspell installed, But hunspell is installed. There was no such file /usr/lib/ispell/ispell-emacs-menu.el But wait: After writing these lines, I installed ispell. It came with the file /usr/lib/ispell/ispell-emacs-menu.el And now I use the default site-start.el file without the comment on the hunspell line. And you will have guessed it: Emacs works fine. Thank you very much for your valuable help. My take home message: If Emacs behaves weird, install ispell :-) Best regards, Daniel -- Daniel Schlieper email: daniel.schlieper@tuxomania.net On Fri, 28 Aug 2020, Dr. Werner Fink wrote:
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
-- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org