Juanma Barranquero wrote:
On 3/20/07, David Kastrup <dak@gnu.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.No. Juanma
Maybe the spec * Adobe Technical Note 5001: PostScript Language Document Structuring, http://partners.adobe.com/public/developer/en/ps/5001.DSC_Spec.pdfLooks to me like "%!PS ... something ..." should be useful, but I do not know what the header can look like in a PostSript file.