Enabling Flyspell mode gives an error

I recently had to redraw my laptop laptop and emacs now gives me a strange error: "Starting a new Ispell process [default] Enabling flyspell mode gave an error" I have aspell installed and it is accessible through emacs. I brought a photo to show this. I also have (setq-default ispell-program-name "aspell") in my emacs configuration. The same configuration works on my other Windows machines. What could be the problem here? Image: Aspell in emacs-shell http://img145.imageshack.us/img145/4497/emacsaspell.jpg

+6
emacs
source share
4 answers

Writing an answer to mark this as accepted:

Paprika's comment helped me track down the problem - "Did you check if aspell works outside of Emacs, ie Something like cat foobar.txt |aspell -a -l en ?"

Turns out aspell-en was not installed. my bad.

+4
source share

You can add a line:

 (setq flyspell-issue-welcome-flag nil) ;; fix flyspell problem 

into your personal emacs initialization file ( ~/.emacs.d/init.el , ~/.emacs , ~/.emacs.el , whatever ...), and this should work around the problem for you.

+11
source share

EDIT: This doesn't seem to be the best solution: see the comment below and see Dennis's answer for a better alternative.

EDIT2: as indicated below, deleting the files recommended in this post causes upgrade problems. If you followed the advice on this post and now regret it (sorry), then reinstall the deleted files you want to enter:

 sudo apt-get --reinstall dictionaries-common 

Now you can upgrade and run Dennis.

Google sent me here first, so I thought I'd add another common reason for this error message (at least on Ubuntu systems)

My new version of Uubuntu 10.10 had the following error:

https://bugs.launchpad.net/ubuntu/+source/dictionaries-common/+bug/619015

which is fixed (as indicated in the link) by deleting

  • /USR/parts/Emacs/site-lisp/dictionaries-common/debian-ispell.el
  • / usr / share / emacs / site- lisp / dictionaries-common / flyspell.el
  • /USR/parts/Emacs/site-lisp/dictionaries-common/ispell.el

and all .el.elc files in

  • / Usr / shares / emacs23 / lisp-site / dictionaries-general

It looks like the above files are already installed in emacs23-common, and the .el and .elc files save the conflict on live systems (from reading the error report).

I think there are other problems that may cause this error message, but it resolved this for me, and I felt that ubuntu is common enough to be imposed as another answer.

EDIT: This seems like a less intrusive solution - see Dennis Sheil answer

Blessings

Tom

+6
source share

I encountered this problem when upgrading to emacs24. My aspell worked fine. I tried some of the methods here with the soothsayers - the general one and set the flag flyspell-issue-welcome-n to zero, as indicated above, but the start of emacs24 continued to hang on ispell.

I ended up cleaning my previous installation of emacs23 (making sure all their .el / .elc files were deleted when uninstalling), making sure there were no emacs processes in the background, and my ~ / .emacs files were deleted. d (I still need to save the code there).

Then I recently installed emacs24 (24.1.50.1, as it happens), and ran it, and flyspell worked flawlessly.

0
source share

All Articles