From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.bugs Subject: bug#24317: 25.1.50; image-dired-rotate-original: regexp doesn't match .jpeg suffix Date: Sun, 28 Aug 2016 08:22:32 +0200 Message-ID: <87bn0dpg47.fsf@linux-m68k.org> References: <83d1kud3m1.fsf@gnu.org> <83a8fyd1x0.fsf@gnu.org> <87oa4e1raw.fsf@zigzag.favinet> <838tvicuy3.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1472365407 9022 195.159.176.226 (28 Aug 2016 06:23:27 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 28 Aug 2016 06:23:27 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) Cc: Thien-Thi Nguyen , 24317@debbugs.gnu.org To: Tino Calancha Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Aug 28 08:23:23 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bdtV4-0001mB-8d for geb-bug-gnu-emacs@m.gmane.org; Sun, 28 Aug 2016 08:23:22 +0200 Original-Received: from localhost ([::1]:38301 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bdtV1-00009j-Ns for geb-bug-gnu-emacs@m.gmane.org; Sun, 28 Aug 2016 02:23:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37105) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bdtUq-00009c-E7 for bug-gnu-emacs@gnu.org; Sun, 28 Aug 2016 02:23:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bdtUk-0003m8-GG for bug-gnu-emacs@gnu.org; Sun, 28 Aug 2016 02:23:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:44731) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bdtUk-0003m4-Cg for bug-gnu-emacs@gnu.org; Sun, 28 Aug 2016 02:23:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bdtUk-0007G8-5e for bug-gnu-emacs@gnu.org; Sun, 28 Aug 2016 02:23:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andreas Schwab Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 28 Aug 2016 06:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24317 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 24317-submit@debbugs.gnu.org id=B24317.147236535627865 (code B ref 24317); Sun, 28 Aug 2016 06:23:02 +0000 Original-Received: (at 24317) by debbugs.gnu.org; 28 Aug 2016 06:22:36 +0000 Original-Received: from localhost ([127.0.0.1]:42443 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bdtUK-0007FN-B5 for submit@debbugs.gnu.org; Sun, 28 Aug 2016 02:22:36 -0400 Original-Received: from mail-out.m-online.net ([212.18.0.9]:38692) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bdtUI-0007FF-Vr for 24317@debbugs.gnu.org; Sun, 28 Aug 2016 02:22:35 -0400 Original-Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 3sMPpK4pJbz3hjNn; Sun, 28 Aug 2016 08:22:33 +0200 (CEST) Original-Received: from localhost (dynscan1.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 3sMPpK3S3Fzvkcr; Sun, 28 Aug 2016 08:22:33 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Original-Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.68]) (amavisd-new, port 10024) with ESMTP id 6NaHEmYVyplh; Sun, 28 Aug 2016 08:22:32 +0200 (CEST) X-Auth-Info: PdXb5DUHjeh2vfMY2MWT2JLzhBNgZ8D4FHueg0e3tS1jdpDM5J4rrr1NSCXO3mBU Original-Received: from igel.home (ppp-88-217-9-85.dynamic.mnet-online.de [88.217.9.85]) by mail.mnet-online.de (Postfix) with ESMTPA; Sun, 28 Aug 2016 08:22:32 +0200 (CEST) Original-Received: by igel.home (Postfix, from userid 1000) id 0B4A92C31C1; Sun, 28 Aug 2016 08:22:32 +0200 (CEST) X-Yow: I'm GLAD I remembered to XEROX all my UNDERSHIRTS!! In-Reply-To: (Tino Calancha's message of "Sat, 27 Aug 2016 21:18:37 +0900 (JST)") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:122734 Archived-At: On Aug 27 2016, Tino Calancha wrote: > diff --git a/lisp/image-dired.el b/lisp/image-dired.el > index 67b023d..61b0751 100644 > --- a/lisp/image-dired.el > +++ b/lisp/image-dired.el > @@ -1205,6 +1205,10 @@ image-dired-dired-file-marked-p > (beginning-of-line) > (not (looking-at "^ .*$")))) > > +(defsubst image-dired-jpeg-file-p (file) > + "Return non-nil if FILE has a JPEG extension." > + (string-match-p "\\.[Jj][Pp][Ee]?[Gg]$" file)) FWIW, the regexp should end in "\\'". Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."