[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: package.el: bytecode portability across emacs versions
From: |
David Kastrup |
Subject: |
Re: package.el: bytecode portability across emacs versions |
Date: |
Sun, 27 May 2007 07:41:05 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) |
Richard Stallman <address@hidden> writes:
> I know that sharing bytecode is bad. I just didn't know what to do
> about it.
>
> You could put the bytecode in
> /usr/local/share/emacs/VERSION/site-lisp, which is a standard element
> of load-path, version-specific. The source code could go in
> /usr/local/share/emacs/site-lisp. If package.el finds the source
> code and not the binary, it can compile for the current Emacs version.
Emacs is not well-equipped to have source and byte code in different
directories. For example, it messes with the load path order: Emacs
will prefer loading an .el file in an earlier place in the load-path
over a .elc file in a later place.
It also stops byte-recompile-directory from working and makes
list-load-path-shadow complain.
I don't say that such a system could not be supported, but it would
need code changes outside of package.el itself.
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
- Re: package.el: bytecode portability across emacs versions, (continued)
- Re: package.el: bytecode portability across emacs versions, Trent Buck, 2007/05/21
- Re: package.el: bytecode portability across emacs versions, Tom Tromey, 2007/05/25
- Re: package.el: bytecode portability across emacs versions, Michael Olson, 2007/05/25
- Re: package.el: bytecode portability across emacs versions, David Kastrup, 2007/05/26
- Re: package.el: bytecode portability across emacs versions, Eli Zaretskii, 2007/05/26
- Re: package.el: bytecode portability across emacs versions, David Kastrup, 2007/05/26
- Re: package.el: bytecode portability across emacs versions, Trent Buck, 2007/05/26
- Re: package.el: bytecode portability across emacs versions, Eli Zaretskii, 2007/05/26
- Re: package.el: bytecode portability across emacs versions, Richard Stallman, 2007/05/26
- Re: package.el: bytecode portability across emacs versions, Trent Buck, 2007/05/26
- Re: package.el: bytecode portability across emacs versions,
David Kastrup <=
- Re: package.el: bytecode portability across emacs versions, Richard Stallman, 2007/05/27
- Re: package.el: bytecode portability across emacs versions, David Kastrup, 2007/05/28
- Re: package.el: bytecode portability across emacs versions, Richard Stallman, 2007/05/28
- Re: package.el: bytecode portability across emacs versions, Michael Olson, 2007/05/29
- Re: package.el: bytecode portability across emacs versions, Richard Stallman, 2007/05/30
- Re: package.el: bytecode portability across emacs versions, Stefan Monnier, 2007/05/28