all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Vinicius Jose Latorre <viniciusjl@ig.com.br>
To: Chong Yidong <cyd@stupidchicken.com>
Cc: emacs-devel@gnu.org
Subject: Re: Image file name extension not recognized
Date: Sat, 03 Feb 2007 00:35:40 -0200	[thread overview]
Message-ID: <45C3F4FC.2020605@ig.com.br> (raw)
In-Reply-To: <45C3EFEA.8010800@ig.com.br>

Vinicius Jose Latorre wrote:
> Chong Yidong wrote:
>> Vinicius Jose Latorre <viniciusjl@ig.com.br> 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"?
>
> I've just downloaded via cvs the latest Emacs 22 version and rebuild it.
>
> emacs -Q
>
> The same result.

I've just noticed the echo area and now has the following message:


    Type C-c C-c to view as an image.

Typing C-c C-c, the image is ok.

The behavior above is the same if the image file has .jpg or .JPG extension.

  reply	other threads:[~2007-02-03  2:35 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-03  0:49 Image file name extension not recognized Vinicius Jose Latorre
2007-02-03  1:03 ` Chong Yidong
2007-02-03  1:42   ` Vinicius Jose Latorre
2007-02-03  1:46     ` Chong Yidong
2007-02-03  2:14       ` Vinicius Jose Latorre
2007-02-03  2:35         ` Vinicius Jose Latorre [this message]
2007-02-03  2:36           ` Juanma Barranquero
2007-02-03  1:49     ` Vinicius Jose Latorre
2007-02-03  1:06 ` Juanma Barranquero
2007-02-03  1:18   ` Vinicius Jose Latorre
2007-02-03  1:43     ` Chong Yidong
2007-02-03  1:51       ` Vinicius Jose Latorre
2007-02-03  1:59         ` Juanma Barranquero

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=45C3F4FC.2020605@ig.com.br \
    --to=viniciusjl@ig.com.br \
    --cc=cyd@stupidchicken.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.