all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Chong Yidong <cyd@stupidchicken.com>
Cc: Juri Linkov <juri@jurta.org>,
	Juanma Barranquero <lekktu@gmail.com>,
	Gerd Moellmann <gerd@gnu.org>,
	Emacs developers <emacs-devel@gnu.org>
Subject: Re: [Emacs-diffs] emacs/lisp image.el
Date: Mon, 31 Aug 2009 19:49:50 -0400	[thread overview]
Message-ID: <jwvzl9f4k9f.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <87iqg4vwuf.fsf@stupidchicken.com> (Chong Yidong's message of "Mon, 31 Aug 2009 11:15:04 -0400")

>> 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




  reply	other threads:[~2009-08-31 23:49 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <E1MhBBw-0007QN-2z@cvs.savannah.gnu.org>
2009-08-29  0:21 ` [Emacs-diffs] emacs/lisp image.el Juanma Barranquero
2009-08-29 22:46   ` Juri Linkov
2009-08-29 23:14     ` Juanma Barranquero
2009-08-30 20:51       ` Juri Linkov
2009-08-31 15:15   ` Chong Yidong
2009-08-31 23:49     ` Stefan Monnier [this message]
2009-09-01  0:05       ` Juanma Barranquero

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwvzl9f4k9f.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=cyd@stupidchicken.com \
    --cc=emacs-devel@gnu.org \
    --cc=gerd@gnu.org \
    --cc=juri@jurta.org \
    --cc=lekktu@gmail.com \
    /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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.