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

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

Re: File type not recognised


From: Miles Bader
Subject: Re: File type not recognised
Date: Sun, 9 Oct 2005 05:49:21 +0900

2005/10/8, Peter Dyballa <address@hidden>:
> It's not a question whether I like it or not: it's faulty to assume a
> file starting with ``%!TEX´´ is a valid PostScript file!

Emacs' file-type recognition (and Emacs in general) is intended to be
useful in _practice_, and part of that is gracefully handling slight
mistakes on the part of users even when such action is "wrong" by a
pedantic reading of some standard.

I don't know whether it's common for people to add non-standard stuff
after the %! in postscript headers (I always just use a plain "%!" in
my hand-written postscript files), but on balance, Emacs' behavior in
this case seems not unreasonable.

-miles
--
Do not taunt Happy Fun Ball.




reply via email to

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