On Fri, Oct 07 2005, Peter Dyballa wrote:
> Am 07.10.2005 um 16:25 schrieb Stefan Monnier:
>
>>> I think a PostScript file does not start with %!TEX ...
>>
>> Try "file <blabla>" and you'll probably see that %! is
>> traditionally used as the marker of a PS file.
>
> No.
$ file -version
file-4.09
magic file from /etc/magic:/usr/share/misc/magic
$ echo -e '%!TEX'|file -
/dev/stdin: PostScript document text
You can replace the entry in `magic-mode-alist' if you don't like the
default:
(setq magic-mode-alist
(remove '("%![^V]" . ps-mode) magic-mode-alist))
(add-to-list 'magic-mode-alist '("%!\n" . ps-mode))
(add-to-list 'magic-mode-alist '("%!PS-Adobe" . ps-mode))
Bye, Reiner.
--
,,,
(o o)
---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/
_______________________________________________
Emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug