emacs-pretest-bug
[Top][All Lists]
Advanced

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

autoload and auto-compression-mode


From: Roland Winkler
Subject: autoload and auto-compression-mode
Date: Mon, 09 Jan 2006 23:49:57 +0100

Symptoms:


The CVS emacs I installed today gives me a bug with autoload and
auto-compression-mode that can be reproduced as follows:

cat > ~/foo/foo.el << EOF
(defun foo () (interactive) (message "Hello world."))
EOF

echo "Hello world" | gzip -c > ! ~/bar/foo.gz

Then start a fresh emacs --no-init-file and evaluate the following:

(auto-compression-mode 1)
(setq load-path (cons "~/foo" load-path))
(setq load-path (cons "~/bar" load-path))
(autoload 'foo "foo" nil t)
(foo)

When the command foo is evaluated, emacs tries to load the file
~/bar/foo.gz. The last CVS emacs I was using (downloaded ~3 months
ago) did not show this behavior.


Roland




reply via email to

[Prev in Thread] Current Thread [Next in Thread]