From: Kenichi Handa <handa@m17n.org>
To: Stephen Berman <stephen.berman@gmx.net>
Cc: emacs-devel@gnu.org
Subject: Re: Unicode handling breaks Jpeg image detection?
Date: Fri, 04 Jul 2008 16:20:26 +0900 [thread overview]
Message-ID: <E1KEfak-0005NU-HB@etlken.m17n.org> (raw)
In-Reply-To: <87tzfhadwr.fsf@escher.local.home> (message from Stephen Berman on Wed, 25 Jun 2008 14:37:40 +0200)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=ISO-2022-JP-2, Size: 820 bytes --]
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 "^[$(D+#^[(B" (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'.
---
Kenichi Handa
handa@ni.aist.go.jp
next prev parent reply other threads:[~2008-07-04 7:20 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 [this message]
2008-07-04 8:40 ` Stephen Berman
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=E1KEfak-0005NU-HB@etlken.m17n.org \
--to=handa@m17n.org \
--cc=emacs-devel@gnu.org \
--cc=stephen.berman@gmx.net \
/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.