emacs-devel
[Top][All Lists]
Advanced

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

Re: Image file name extension not recognized


From: Chong Yidong
Subject: Re: Image file name extension not recognized
Date: Fri, 02 Feb 2007 20:46:10 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.93 (gnu/linux)

Vinicius Jose Latorre <address@hidden> writes:

> The image-type-header-regexps variable has the value:
>
>  '(("\\`/[\t\n\r ]*\\*.*XPM.\\*/" . xpm)
>    ("\\`P[1-6]" . pbm)
>    ("\\`GIF8" . gif)
>    ("\\`\211PNG\r\n" . png)
>    ("\\`[\t\n\r ]*#define" . xbm)
>    ("\\`\\(MM\0\\*\\|II\\*\0\\)" . tiff)
>    ("\\`[\t\n\r ]*%!PS" . postscript)
>    ("\\`\xff\xd8" . (image-jpeg-p . jpeg)))
>
> Where image-jpeg-p is a function.
>
> I just type  M-x debug-on-entry RET image-jpeg-p RET
>
> Then tried to open the file again and image-jpeg-p is not called.

I cannot reproduce this.  I also have files saved with extension .JPG,
and image-jpeg-p does get called.  Can you try rebuilding Emacs from
the latest CVS sources and trying with "emacs -Q"?




reply via email to

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