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

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

Re: File type misclassification


From: Kim F. Storm
Subject: Re: File type misclassification
Date: Tue, 20 Mar 2007 16:42:03 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.96 (gnu/linux)

David Kastrup <address@hidden> writes:

>> 1) Restrict the magic for PostScript files to %!PS
>>
>>  ("%!PS" . ps-mode)
>
> And probably EPS?

Dunno.

>>
>> 2) Recognize the specific case of TEX
>>
>>  ("%![^VT]" . ps-mode)

> Sigh.  Seems like a magic string for the "TeXshop" TeX editor.  But I
> think just ruling out [VT] is still asking for trouble.

So maybe add this to the magic-mode-alist before the ps rule:

  ("%!TEX" . tex-mode)

-- 
Kim F. Storm <address@hidden> http://www.cua.dk





reply via email to

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