From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juanma Barranquero Newsgroups: gmane.emacs.devel Subject: Re: [Emacs-diffs] emacs/lisp image.el Date: Tue, 1 Sep 2009 02:05:44 +0200 Message-ID: References: <87iqg4vwuf.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1251763586 13533 80.91.229.12 (1 Sep 2009 00:06:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 1 Sep 2009 00:06:26 +0000 (UTC) Cc: Emacs developers To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Sep 01 02:06:18 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 1MiGt6-0000sh-Ig for ged-emacs-devel@m.gmane.org; Tue, 01 Sep 2009 02:06:16 +0200 Original-Received: from localhost ([127.0.0.1]:38435 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MiGt5-0008MT-Ix for ged-emacs-devel@m.gmane.org; Mon, 31 Aug 2009 20:06:15 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MiGt1-0008MO-Fc for emacs-devel@gnu.org; Mon, 31 Aug 2009 20:06:11 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MiGsx-0008MB-1x for emacs-devel@gnu.org; Mon, 31 Aug 2009 20:06:11 -0400 Original-Received: from [199.232.76.173] (port=35132 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MiGsw-0008M8-Ud for emacs-devel@gnu.org; Mon, 31 Aug 2009 20:06:06 -0400 Original-Received: from mail-fx0-f226.google.com ([209.85.220.226]:56464) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MiGsw-0004Vc-3n for emacs-devel@gnu.org; Mon, 31 Aug 2009 20:06:06 -0400 Original-Received: by fxm26 with SMTP id 26so1229309fxm.42 for ; Mon, 31 Aug 2009 17:06:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type; bh=7IciIlBUW/8d27pRQY6Ib98rImbhsCCmH2IioVFGAYk=; b=soxIOtmfuS1g5m+FJx1J1Tw8xyGVPZkYMF3mlzn2sjr46MdLkXMs4Wpf9KNdDJy4WI eW8GUiVXBYXeARDByCGAgVgOgWSahgy4D48OQP3eZ2NYL+Wv5NjBsACKS4AY0QeuR6FJ z2sHpQBQHHqXi36YfkL475Eo+mpGAfKOSRrRE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=d6U9xG8WuR6fesk/n2Z1i4Umn0hsUjjWS154c8OEBwc4OShCPgm4Jg2tNfjS3soP6z l4YPWymAgJQTmCClKQN6thOo6L3otzrYPPds9ntADtCpJeAiigXnVTBByVYcaLooeQb/ BXxC2Hm3dOrqG29dz/DaRadMC6SLFwgwWRFvo= Original-Received: by 10.239.183.23 with SMTP id s23mr505146hbg.56.1251763564107; Mon, 31 Aug 2009 17:06:04 -0700 (PDT) In-Reply-To: X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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:114930 Archived-At: On Tue, Sep 1, 2009 at 01:49, Stefan Monnier wrote: > 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. But image-jpeg-p exists, and has been used in image-type-regexps, since 2001: 2001-08-08 Gerd Moellmann * image.el (image-type-regexps): Allow predicates. Change the way JPEG images are recognized. (image-jpeg-p): New function. (image-type-from-data): Handle predicates in image-type-regexps. It was, apparently, never intended to be anything but a helper for image-type-regexps. The discussion you're talking about is much more recent, isn't? (2005 or 2006, I think.) Juanma