On 2010-08-12 01:25, alexander.savche...@gmail.com wrote:
Same problem

I am also able to reproduce this on a fresh install. The definition of (define-minor-mode flyspell-mode ...) emits this message in the minibuffer when (flyspell-mode-on) returns a nil result; this is inside a (condition-case ...) so no backtrace or other diagnostics are available.

Running M-: (flyspell-mode-on) directly produces the following backtrace:

Debugger entered--Lisp error: (error "ispell exited with code 255")
  signal(error ("ispell exited with code 255"))
  error("%s exited with %s %s" "ispell" "code" 255)
  ispell-check-version()
  ispell-init-process()
  ispell-buffer-local-words()
  ispell-accept-buffer-local-defs()
  flyspell-accept-buffer-local-defs(force)
  flyspell-mode-on()
  eval((flyspell-mode-on))
  eval-expression((flyspell-mode-on) nil)
  call-interactively(eval-expression nil nil)

I am running Ubuntu 10.04 but the Emacs package is essentially the same as in Debian.

On the command line, "/usr/bin/ispell -v" returns a valid string on my system. But "ispell -vv" -- which is what `ispell.el' uses unless `ispell-program-name' is "aspell" -- returns an empty string (just a newline) and an invalid exit code; hence, ispell-check-version fails.

 vnix$ /usr/bin/ispell -v
 @(#) International Ispell Version 3.1.20 compatible tmispell-voikko 0.7.1
 vnix$ echo $?
 0
 vnix$ ispell -vv

 vnix$ echo $?
 255

(Voikko is a spelling checker for the Finnish language. It seems it was installed system-wide when I installed a Finnish locale, although my system locale is en_DK.utf8 and I don't override it for my personal login.)

Reporter and me-toos: what does ispell -vv return on your systems, and which version of ispell is that? (Hint: dpkg -S /usr/bin/ispell.)

 vnix$ dpkg -S /usr/bin/ispell
 diversion by tmispell-voikko from: /usr/bin/ispell
 diversion by tmispell-voikko to: /usr/bin/ispell.real
 tmispell-voikko: /usr/bin/ispell

My suggestion would be for tmispell-voikko to accept -vv but also for ispell.el to be robust with the apparently several different ispell variants which do not support -vv.

/* era */

--
If this were my real .signature, it would suck less.  Well, maybe not.



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to