From: Matt Swift <swift@alum.mit.edu>
Subject: image.el: patch to recognize Exif as well as JFIF jpg image files
Date: Thu, 01 Aug 2002 21:23:49 -0400 [thread overview]
Message-ID: <E17aRAT-00008B-00@fencepost.gnu.org> (raw)
This bug report will be sent to the Free Software Foundation,
not to your local site managers!
Please write in English, because the Emacs maintainers do not have
translators to read other languages for them.
Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing list,
and to the gnu.emacs.bug news group.
In GNU Emacs 21.2.1 (i386-msvc-nt5.0.2195)
of 2002-03-19 on buffy
configured using `configure --with-msvc (12.00)'
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: ENU
locale-coding-system: iso-latin-1
default-enable-multibyte-characters: t
Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:
*** image.el.orig Thu Aug 1 21:09:16 2002
--- image.el Thu Aug 1 21:16:50 2002
***************
*** 64,70 ****
(when (and (>= code #xe0) (<= code #xef))
;; APP0 LEN1 LEN2 "JFIF\0"
(throw 'jfif
! (string-match "JFIF" (substring data i (+ i nbytes)))))
(setq i (+ i 1 nbytes))))))))
--- 64,70 ----
(when (and (>= code #xe0) (<= code #xef))
;; APP0 LEN1 LEN2 "JFIF\0"
(throw 'jfif
! (string-match "JFIF\\|Exif" (substring data i (+ i nbytes)))))
(setq i (+ i 1 nbytes))))))))
Recent input:
M-z M-z M-z <switch-frame> C-x k C-x k C-x k C-x k
C-x k C-x k C-x k C-x k C-x k C-x k C-x k C-x k C-x
k C-x k C-x k C-x k C-/ SPC C-/ C-/ C-x C-s C-x k M-z
M-z M-z <switch-frame> C-x b t o d o - g <tab> <return>
<help-echo> <switch-frame> C-x b C-g <help-echo> C-x
b t o d o b <backspace> = - b <backspace> <backspace>
<backspace> - b u y <tab> <return> M-x r e o r <backspace>
<backspace> p o r t - e m <tab> <return>
Recent messages:
Mark set
Reading directory /[rsync/swift@vav]/cygdrive/c/Program Files/Resource Kit/...done
Omitting...
Omitted 2 lines.
Copy [-p]: 1 of 1
Copy [-p]: 1 file
Undo! [3 times]
Wrote g:/swift/lib/emacs/lisp/swift-dired.el
Quit
Loading emacsbug...done
reply other threads:[~2002-08-02 1:23 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=E17aRAT-00008B-00@fencepost.gnu.org \
--to=swift@alum.mit.edu \
/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).