From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: [Emacs-diffs] emacs/lisp image.el Date: Mon, 31 Aug 2009 19:49:50 -0400 Message-ID: References: <87iqg4vwuf.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1251762613 11403 80.91.229.12 (31 Aug 2009 23:50:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 31 Aug 2009 23:50:13 +0000 (UTC) Cc: Juri Linkov , Juanma Barranquero , Gerd Moellmann , Emacs developers To: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Sep 01 01:50:05 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MiGdR-00061u-2b for ged-emacs-devel@m.gmane.org; Tue, 01 Sep 2009 01:50:05 +0200 Original-Received: from localhost ([127.0.0.1]:36011 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MiGdQ-0005ga-GT for ged-emacs-devel@m.gmane.org; Mon, 31 Aug 2009 19:50:04 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MiGdK-0005fK-Kd for emacs-devel@gnu.org; Mon, 31 Aug 2009 19:49:58 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MiGdG-0005cQ-3k for emacs-devel@gnu.org; Mon, 31 Aug 2009 19:49:58 -0400 Original-Received: from [199.232.76.173] (port=56271 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MiGdF-0005cK-Pb for emacs-devel@gnu.org; Mon, 31 Aug 2009 19:49:53 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:28410) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MiGdD-0002D2-Pu; Mon, 31 Aug 2009 19:49:51 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApsEANP9m0pFpYuS/2dsb2JhbACBU9gThBoFh2c X-IronPort-AV: E=Sophos;i="4.44,308,1249272000"; d="scan'208";a="44677035" Original-Received: from 69-165-139-146.dsl.teksavvy.com (HELO pastel.home) ([69.165.139.146]) by ironport2-out.teksavvy.com with ESMTP; 31 Aug 2009 19:48:44 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id A9B917F24; Mon, 31 Aug 2009 19:49:50 -0400 (EDT) In-Reply-To: <87iqg4vwuf.fsf@stupidchicken.com> (Chong Yidong's message of "Mon, 31 Aug 2009 11:15:04 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:114928 Archived-At: >> Then we should perhaps obsolete `image-jpeg-p' (which is not used >> anymore in the sources). >> >> Currently it does what its docstring says, but there's some of a >> mismatch with the name (which seems to imply more generality); also it >> is not clear what purpose does serve a function to detect just >> JFIF/Exif JPEGs. And generalizing it would turn it into a trivial >> two-liner. > Gerd, do you remember the original rationale for image-jpeg-p? I have a the vague impression that it's linked to the long discussion we had about safety and other such things linked to the use of magic-* in preference to auto-mode-alist, so we wanted to avoid false positives. Stefan