From: Stephen Berman <stephen.berman@gmx.net>
To: emacs-devel@gnu.org
Subject: Re: Unicode handling breaks Jpeg image detection?
Date: Fri, 04 Jul 2008 10:40:41 +0200 [thread overview]
Message-ID: <87lk0ioxdi.fsf@escher.local.home> (raw)
In-Reply-To: E1KEfak-0005NU-HB@etlken.m17n.org
On Fri, 04 Jul 2008 16:20:26 +0900 Kenichi Handa <handa@m17n.org> wrote:
> Sorry for the late response.
>
> In article <87tzfhadwr.fsf@escher.local.home>, Stephen Berman <stephen.berman@gmx.net> writes:
>
>> This fix results in a file mode specification error. To reproduce:
>> 1. C-x C-f /tmp/test
>> 2. Type the letter "ä" (a-umlaut).
>> 3. C-x C-s
>> 4. C-x k RET
>> 5. C-x C-f /tmp/test
>> ==> File mode specification error: (error "Can't convert the 0th
>> character to unibyte")
>
> It seems that this bug is already fixed by Juanma (thanks).
>
> 2008-06-27 Juanma Barranquero <lekktu@gmail.com>
>
> * image.el (image-jpeg-p): Don't fail if the arg cannot be converted
> to unibyte; just assume it is not a JPEG. Use `string-match-p'.
> (image-type-from-data, image-type-from-file-name): Use `string-match-p'.
> (image-type-from-buffer): Use `looking-at-p'.
Yes, I saw that. Thanks from me too.
Steve Berman
prev parent reply other threads:[~2008-07-04 8:40 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-24 20:23 Unicode handling breaks Jpeg image detection? Chong Yidong
2008-06-25 2:48 ` Kenichi Handa
2008-06-25 12:37 ` Stephen Berman
2008-07-04 7:20 ` Kenichi Handa
2008-07-04 8:40 ` Stephen Berman [this message]
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87lk0ioxdi.fsf@escher.local.home \
--to=stephen.berman@gmx.net \
--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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).