[Top][All Lists]

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

Re: autoload and auto-compression-mode

From: Luc Teirlinck
Subject: Re: autoload and auto-compression-mode
Date: Sun, 15 Jan 2006 18:39:57 -0600 (CST)

Roland Winkler wrote:

   What does this imply in the context of compressed files? I started
   this thread because the latest CVS emacs loads via autoload a
   compressed file `foo.gz'. I think this behavior is as undesirable as
   loading a file `foo' via autoload.

Of course.

   Is the arg `must-suffix' too unspecific here?

No.  It is very specific.  It requires a suffix present in `load-suffixes'.

   Would it make sense to have something like an exclude list for file
   name suffixes so that a file `foo.gz' is treated like `foo'??

No, you do not need an exclude list here.  There is an include list,
`load-suffixes'.  The problem is simple: ".gz" is in there, whereas it
should not be.  ".gz" should be handled specially in the same way as
the empty suffix "", by appending '("" ".gz") to load-suffixes,
wherever '("") is currently appended.



reply via email to

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