On 2007-08-11 12:51:37 +0200, Agustin Martin wrote:
> ispell.el from emacs-snapshot and emacs22 changed to use aspell as
> default, while all other flavours and dict-common behave
> traditionally and use ispell if both are installed.
> 
> You would have get the same result by setting `ispell-program-name' to
> "aspell" in your .emacs file,
> 
> (setq ispell-program-name "aspell")
> 
> so aspell is used from all emacs flavours.

Yes, I tried that, but this didn't change much: the "en" dictionary
still wasn't found with emacs22 if changed via a function. I get:

Undefined dictionary: en

with:

(defun ispell-region-en (reg-start reg-end)
  "Interactively check a region for spelling errors, in English."
  (interactive "r")
  (ispell-change-dictionary "en")
  (ispell-region reg-start reg-end))

No problem with emacs-snapshot (or even emacs22 in Mac OS X).

-- 
Vincent Lefèvre <[EMAIL PROTECTED]> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)

Reply via email to