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

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

Re: File type misclassification


From: Richard Stallman
Subject: Re: File type misclassification
Date: Tue, 20 Mar 2007 20:42:41 -0400

    1) Restrict the magic for PostScript files to %!PS

     ("%!PS" . ps-mode)

Do Postscript files normally start with `%!PS'?  If so, that
change is clearly correct. 

    2) Recognize the specific case of TEX

     ("%![^VT]" . ps-mode)

In TeX, the % is a comment character.  There is no reason
for it to be followed by `!TEX'.

Is there some convention about using %! to start a file
which is being followed here?  It looks like one is in use,
but I have never heard of it.


To take this out of magic-mode-alist, and leave recognition of
Postscript to file names alone, might be a good change, but I am not
sure of usage practices.






reply via email to

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