[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: File type misclassification
From: |
Stefan Monnier |
Subject: |
Re: File type misclassification |
Date: |
Sun, 25 Mar 2007 22:11:22 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.95 (gnu/linux) |
>> do you remember why you put an entry
>>
>> ("%![^V]" . ps-mode)
>>
>> in magic-mode-alist? Did it just seem like a good idea or was there
>> some particular (set of) circumstances you had bumped into that called
>> for it?
>>
> I don't remember, but I checked this: The way I read magic, a conforming
> document must start with %!PS, but a non confirming one only with %!.
Thanks. I.e. you just thought it would be a good idea.
The question we were discussing is what Emacs should do with it, so what the
standard says is not really important (this is very different from what
`file' should do). And since Emacs usually uses file-name extensions to
determine the mode of a file, it's important to only use magic-mode-alist in
those rare cases where it's really important in practice.
Stefan
- Re: File type misclassification, (continued)
- Re: File type misclassification, David Kastrup, 2007/03/21
- Re: File type misclassification, Juanma Barranquero, 2007/03/21
- Re: File type misclassification, David Kastrup, 2007/03/21
- Re: File type misclassification, Juanma Barranquero, 2007/03/21
- Re: File type misclassification, Miles Bader, 2007/03/21
- Re: File type misclassification, Richard Stallman, 2007/03/20
- Re: File type misclassification, Stefan Monnier, 2007/03/20
- Re: File type misclassification, Juanma Barranquero, 2007/03/21
- Re: File type misclassification, Stefan Monnier, 2007/03/21
- Re: File type misclassification, Daniel Pfeiffer, 2007/03/25
- Re: File type misclassification,
Stefan Monnier <=
Re: File type misclassification, Lennart Borgman (gmail), 2007/03/20