From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Image autodetection Date: Mon, 29 Jan 2007 18:53:27 -0500 Message-ID: References: <878xflr6vd.fsf@stupidchicken.com> Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1170114898 3679 80.91.229.12 (29 Jan 2007 23:54:58 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 29 Jan 2007 23:54:58 +0000 (UTC) Cc: emacs-devel@gnu.org To: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jan 30 00:54:52 2007 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 1HBgKl-0006yJ-PD for ged-emacs-devel@m.gmane.org; Tue, 30 Jan 2007 00:54:47 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HBgKl-0005of-E9 for ged-emacs-devel@m.gmane.org; Mon, 29 Jan 2007 18:54:47 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HBgKQ-0005l5-JU for emacs-devel@gnu.org; Mon, 29 Jan 2007 18:54:26 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HBgKP-0005kf-Te for emacs-devel@gnu.org; Mon, 29 Jan 2007 18:54:26 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HBgKP-0005kY-IR for emacs-devel@gnu.org; Mon, 29 Jan 2007 18:54:25 -0500 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by monty-python.gnu.org with esmtp (Exim 4.52) id 1HBgKP-00083Z-7m for emacs-devel@gnu.org; Mon, 29 Jan 2007 18:54:25 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1HBgJT-0004FW-BU; Mon, 29 Jan 2007 18:53:27 -0500 In-reply-to: <878xflr6vd.fsf@stupidchicken.com> (message from Chong Yidong on Mon, 29 Jan 2007 14:05:26 -0500) X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) 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:65605 Archived-At: 1. Make a new variable, auto-detect-image-type-p. If non-nil, the function image-type-auto-detected-p (called from magic-mode-alist) performs content detection. The default is nil. 2. Do not display images as images automatically in image-mode. Instead, the user sees "Type C-c C-c to view the image as an image". This additional step should not be a major inconvenience. If we do #2, I see no need for #1.