[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: emacs-snapshot load-path and dictionaries-common {ispell,flyspell}}.el



On Wed, Nov 23, 2005 at 02:12:19PM +0100, Romain Francoise wrote:
> Agustin Martin <agustin.martin@hispalinux.es> writes:
> 
> > However emacs-snapshot seems to load ispell and flyspell from
> > dictionaries-common rather than from its byte-compiled files
> 
> Are you sure?  It doesn't do that here...
> 
> ELISP> (locate-library "flyspell")
> "/usr/share/emacs/22.0.50/lisp/textmodes/flyspell.elc"
> ELISP> (locate-library "ispell")
> "/usr/share/emacs/22.0.50/lisp/textmodes/ispell.elc"
> ELISP>
> 
> > The reason for this is that emacs-snapshot load-path is
> > [...]
> > /usr/share/emacs/site-lisp/*      (dict-common files are here)
> > /usr/share/emacs/22.0.50/*        (emacs-snapshot files are here)
> 
> /usr/share/emacs/site-lisp/ doesn't have a subdirs.el file, so its
> subdirs won't be loaded automatically.  So the files shouldn't be
> loaded, unless /usr/share/emacs/site-lisp/dictionaries-common/ is added
> to the path explicitly.

Seems I got it, To try making elisp files as backwards compatible as
possible I still have emacs20 installed,

$ dpkg -S  subdirs.el
emacs20: /usr/share/emacs/20.7/site-lisp/subdirs.el
emacs20: /usr/share/emacs/20.7/lisp/subdirs.el
emacs20: /usr/share/emacs/site-lisp/subdirs.el  **** !!!!!!!!!!!!!! ****
emacs21-common: /usr/share/emacs21/site-lisp/subdirs.el
emacs-snapshot-common: /usr/share/emacs/22.0.50/lisp/subdirs.el
emacs21-common: /usr/share/emacs/21.4/lisp/subdirs.el
emacs-snapshot-common: /usr/share/emacs-snapshot/site-lisp/subdirs.el

and that is the one to blame. This is surely also causing the problem I
noticed with mailcrypt.

Thanks for the feedback, I will just remove that file in my system.

Cheers,

-- 
Agustin



Reply to: