[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: files.el
From: |
Stefan Monnier |
Subject: |
Re: files.el |
Date: |
Wed, 27 Oct 2004 09:49:23 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux) |
>> Generally I agree on the new precedence order you implemented
>> (i.e. -*- mode tag, interpreter, <?xml, auto-mode-alist).
I haven't looked at the code, but I just want to make sure we only look
at the first line and that a tar file whose first subfile starts with <?xml
will still be handled as a tar file, not as an xml file.
> While this is fixed (in my local copy meanwhile also for strip off suffixes
> like .orig) ...
Note that this stripping of .orig (and other things like .~NN.MM~) is
already possible. I personally have the following for this purpose in my
.emacs:
(setq auto-mode-alist (append auto-mode-alist '(("\\.[^/.]+\\'" ignore t))))
Make sure this kind of thing still works (it's used by some packages such as
jka-compr).
Stefan
- Re: files.el, Daniel Pfeiffer, 2004/10/27
- Re: files.el,
Stefan Monnier <=