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

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

Re: File type misclassification


From: Lennart Borgman (gmail)
Subject: Re: File type misclassification
Date: Tue, 20 Mar 2007 16:03:00 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.10) Gecko/20070221 Thunderbird/1.5.0.10 Mnenhy/0.7.5.666

Juanma Barranquero wrote:
On 3/20/07, David Kastrup <address@hidden> 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.

No.
            Juanma


Maybe the spec

* Adobe Technical Note 5001: PostScript Language Document Structuring,
http://partners.adobe.com/public/developer/en/ps/5001.DSC_Spec.pdf

Looks to me like "%!PS ... something ..." should be useful, but I do not know what the header can look like in a PostSript file.




reply via email to

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