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

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

Re: image.el doesn't associate image-mode with .JPG files


From: Kim F. Storm
Subject: Re: image.el doesn't associate image-mode with .JPG files
Date: Tue, 19 Dec 2006 14:41:25 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.91 (gnu/linux)

"Juanma Barranquero" <address@hidden> writes:

> BTW, as `magic-mode-alist' takes precedence over `auto-mode-alist',
> perhaps we should make some of the regexps in
> `image-type-header-regexp' somewhat less trigger-happy. I'm thinking
> mostly of the one for pbm, which matches any file that starts with
> P[1-6].
>
> I propose the following patch (which also modifies the regexp for PNG
> to use the full PNG header, according to spec).

Yes, it seems quite necessary to do this.

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





reply via email to

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