From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Matt Swift Newsgroups: gmane.emacs.bugs Subject: image.el: patch to recognize Exif as well as JFIF jpg image files Date: Thu, 01 Aug 2002 21:23:49 -0400 Sender: bug-gnu-emacs-admin@gnu.org Message-ID: NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1028251415 2681 127.0.0.1 (2 Aug 2002 01:23:35 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 2 Aug 2002 01:23:35 +0000 (UTC) Return-path: Original-Received: from fencepost.gnu.org ([199.232.76.164]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 17aRAC-0000gz-00 for ; Fri, 02 Aug 2002 03:23:33 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.35 #1 (Debian)) id 17aRAh-00008P-00; Thu, 01 Aug 2002 21:24:03 -0400 Original-Received: from smtprelay8.dc2.adelphia.net ([64.8.50.40]) by fencepost.gnu.org with esmtp (Exim 3.35 #1 (Debian)) id 17aRAT-00008B-00 for ; Thu, 01 Aug 2002 21:23:49 -0400 Original-Received: from ZAYIN ([24.49.152.85]) by smtprelay8.dc2.adelphia.net (Netscape Messaging Server 4.15) with ESMTP id H06ZVJ01.NKI; Thu, 1 Aug 2002 21:23:43 -0400 Original-To: bug-gnu-emacs@gnu.org X-RBL-Warning: (relays.ordb.org) This mail was handled by an open relay - please visit Errors-To: bug-gnu-emacs-admin@gnu.org X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.bugs:3070 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:3070 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 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 C-x b t o d o - g C-x b C-g C-x b t o d o b = - b - b u y M-x r e o r p o r t - e m 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