[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: autoload and auto-compression-mode
From: |
Roland Winkler |
Subject: |
Re: autoload and auto-compression-mode |
Date: |
Fri, 13 Jan 2006 14:29:39 +0100 |
On Fri Jan 13 2006 Eli Zaretskii wrote:
> This is not a bug, it's an intended behavior (or maybe an unintended
> misfeature of intended behavior ;-). Since ~/bar is before ~/foo in
> your load-path, Emacs sees ~/bar/foo.gz first. And because
> auto-compression-mode is now on by default, the fact that it is
> compressed is not a reason not to load it.
Certainly, I can find various ways to work around this problem.
However, there are two things that suprise me:
- Older versions of CVS emacs (built a couple of months ago) do not
try to load ~/bar/foo.gz (even if ~/foo/foo.el doesn't exist at
all).
(I have something like ~/bar/foo.gz in my load-path for several
years. It was never a problem.)
- Even my latest build of CVS emacs doesn't try to load an
uncompressed file ~/bar/foo.
Indeed, until today I wasn't aware that the last resort of
`(auto)load' was to try to use the unmodified FILE name. I do not
know what is supposed to happen when a directory at the beginning
of the load-path contains FILE and another directory at the end of
the load-path contains FILE.el. Apperently, emacs will load
FILE.el, but it will load FILE if FILE is compressed. I find this
a bit confusing / inconsistent.
Roland
- autoload and auto-compression-mode, Roland Winkler, 2006/01/09
- Re: autoload and auto-compression-mode, Eli Zaretskii, 2006/01/13
- Re: autoload and auto-compression-mode,
Roland Winkler <=
- Re: autoload and auto-compression-mode, Stefan Monnier, 2006/01/13
- Re: autoload and auto-compression-mode, Roland Winkler, 2006/01/13
- Re: autoload and auto-compression-mode, Stefan Monnier, 2006/01/13
- Re: autoload and auto-compression-mode, Roland Winkler, 2006/01/13
- Re: autoload and auto-compression-mode, Stefan Monnier, 2006/01/14
- Re: autoload and auto-compression-mode, Richard M. Stallman, 2006/01/15
- Re: autoload and auto-compression-mode, Roland Winkler, 2006/01/15
- Re: autoload and auto-compression-mode, Luc Teirlinck, 2006/01/15
- Re: autoload and auto-compression-mode, Richard M. Stallman, 2006/01/16
- Re: autoload and auto-compression-mode, Luc Teirlinck, 2006/01/15