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

source and byte-compiled directories (Re: New DFSG-compliant...)



David Kastrup <dak@gnu.org> wrote:

> Debian installs source Elisp files and the compiled files into
> different directories.  This is a mistake.  Call the command
> 
> M-x list-load-path-shadows RET

I started installing them together for some packages, and should do it
for all.  I symlink the .el file into the byte-compilation directories,
and I don't add the emacs/site-lisp source directory to the load-path:

/usr/share/emacs21/site-lisp/debian-el/debian-el.el
/usr/share/emacs21/site-lisp/debian-el/debian-el.elc
/usr/share/emacs/site-lisp/debian-el/debian-el.el
/usr/share/xemacs21/site-lisp/debian-el/debian-el.el
/usr/share/xemacs21/site-lisp/debian-el/debian-el.elc

$ ls -l /usr/share/xemacs21/site-lisp/debian-el/debian-el.el
-> /usr/share/emacs/site-lisp/debian-el/debian-el.el

It works better this way if I want to hide some incompatible files from
some flavour.

Peter



Reply to: