> From: Juri Linkov <[EMAIL PROTECTED]> > Date: Tue, 10 May 2005 03:06:48 +0300 > Cc: [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] > > > Thanks, I installed a slightly different change (using locate-file > > instead of executable-find). > > Now with using a non-default dictionary ispell.el fails with the > error message telling that ispell can't find a dictionary in > /usr/lib/aspell-0.60/. That's becuase ispell and aspell have > different sets of dictionaries with different names.
Sorry about that. I don't have aspell installed so I couldn't test that, and people who were participating in the thread suggested that this was the right solution. > ispell.el shouldn't insist on using "aspell" instead of "ispell" > even when aspell executable happens to be in exec-path. I asked Richard and he said that's what we want, since aspell is newer and is a GNU package. > Perhaps the following patch will do what was intended to fix the > original problem: > > Index: lisp/textmodes/ispell.el > =================================================================== > RCS file: /cvsroot/emacs/emacs/lisp/textmodes/ispell.el,v > retrieving revision 1.162 > diff -u -r1.162 ispell.el > --- lisp/textmodes/ispell.el 7 May 2005 16:04:39 -0000 1.162 > +++ lisp/textmodes/ispell.el 10 May 2005 00:05:05 -0000 > @@ -302,7 +302,8 @@ > :group 'ispell) > > (defcustom ispell-program-name > - (or (locate-file "aspell" exec-path exec-suffixes 'file-executable-p) > + (or (and ispell-really-aspell > + (locate-file "aspell" exec-path exec-suffixes 'file-executable-p)) > "ispell") ??? Does this really work? AFAIK, ispell-really-aspell is set when ispell.el invokes the speller for the first time, not before that. So this defcustom wuill never try aspell, I think. Am I missing something? _______________________________________________ Emacs-devel mailing list [email protected] http://lists.gnu.org/mailman/listinfo/emacs-devel
