Re: File type misclassification
Juanma Barranquero wrote:
On 3/20/07, David Kastrup <firstname.lastname@example.org> wrote:
opening the following file in emacs-snapshot from Ubuntu Edgy
(sorry, I don't have a fresher CVS Emacs at work) will throw the
buffer into PostScript mode, presumably because it starts with "%!".
This seems rather like overkill.
Yep. It's magic-mode-alist's doing:
("%![^V]" . ps-mode)
Maybe it is already fixed in CVS: no idea.
Maybe the spec
* Adobe Technical Note 5001: PostScript Language Document Structuring,
Looks to me like "%!PS ... something ..." should be useful, but I do not
know what the header can look like in a PostSript file.