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

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



Hi,

I am looking for help about this,

dictionaries-common currently ships ispell.el and flyspell.el in
/usr/share/emacs/site-lisp/dictionaries-common, and they will be
byte-compiled for any emacs flavour but emacs-snapshot.
dict-common initialization file does nothing for emacs-snapshot.

However emacs-snapshot seems to load ispell and flyspell from
dictionaries-common rather than from its byte-compiled files (In the
messages buffer, they are tagged as source when loaded, that is,
the .el).

The reason for this is that emacs-snapshot load-path is

/usr/share/emacs-snapshot/site-lisp/*
/etc/emacs-snapshot/*
/etc/emacs/*
/usr/local/share/emacs/22.0.50/site-lisp/*
/usr/local/share/emacs/site-lisp/*
/usr/share/emacs/22.0.50/site-lisp/*
/usr/share/emacs/site-lisp/*      (dict-common files are here)
/usr/share/emacs/22.0.50/*        (emacs-snapshot files are here)

and loads dict-common files because they are found first, despite they
are not byte-compiled and the byte-compiled ones are available for
emacs-snapshot.

Any hint about the best way to deal with this?

Incidentally, I noticed that mailcrypt sources seems to be loaded,

Loading mailcrypt (source)...done
Loading mc-setversion (source)...done

seems to suggest that are the .el files what is being loaded, but
there are byte-compiled files available for emacs-snapshot.


--
Agustin



Reply to: