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: Image autodetection Date: Tue, 30 Jan 2007 10:38:27 +0100 Message-ID: References: <878xflr6vd.fsf@stupidchicken.com> <45BF0A1B.70202@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1170149930 20643 80.91.229.12 (30 Jan 2007 09:38:50 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 30 Jan 2007 09:38:50 +0000 (UTC) Cc: Chong Yidong , emacs-devel@gnu.org To: "Jason Rumney" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jan 30 10:38:49 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 1HBpRw-0003h0-OU for ged-emacs-devel@m.gmane.org; Tue, 30 Jan 2007 10:38:49 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HBpRw-0007WF-0t for ged-emacs-devel@m.gmane.org; Tue, 30 Jan 2007 04:38:48 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HBpRg-0007WA-DT for emacs-devel@gnu.org; Tue, 30 Jan 2007 04:38:32 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HBpRe-0007Vy-RF for emacs-devel@gnu.org; Tue, 30 Jan 2007 04:38:32 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HBpRe-0007Vv-LN for emacs-devel@gnu.org; Tue, 30 Jan 2007 04:38:30 -0500 Original-Received: from wr-out-0506.google.com ([64.233.184.235]) by monty-python.gnu.org with esmtp (Exim 4.52) id 1HBpRe-0005Ef-8h for emacs-devel@gnu.org; Tue, 30 Jan 2007 04:38:30 -0500 Original-Received: by wr-out-0506.google.com with SMTP id i22so1167943wra for ; Tue, 30 Jan 2007 01:38:28 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=EJiSZcsua05XDGFH4mwGbC7yZ9DgbDQwUq85BacG7iionElq+JEQ+fKnQtQt8opXc81tpdfIzcSP3sE/d82gpyd2fmHvW7VfssZ1hB8Wyxe0bdOXixvQCNk+Uz9irv40ZpVyvSqvxEW/rOphUw0/ybUOKpxbwMpi16q+994DeLE= Original-Received: by 10.114.202.15 with SMTP id z15mr19793waf.1170149907621; Tue, 30 Jan 2007 01:38:27 -0800 (PST) Original-Received: by 10.115.93.4 with HTTP; Tue, 30 Jan 2007 01:38:27 -0800 (PST) In-Reply-To: <45BF0A1B.70202@gnu.org> Content-Disposition: inline X-detected-kernel: Linux 2.4-2.6 (Google crawlbot) 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:65621 Archived-At: On 1/30/07, Jason Rumney wrote: > There's no reason that image-mode could not do the same. You're right. With image-mode, image-minor-mode, image-mode-maybe, image-type-auto-detected-p, image-type-auto-detectable, image-type-file-name-regexps, image-type-header-regexps, image-file-name-extensions, image-file-name-regexps, etc. we already have too much confusion regarding how and when to set image-mode; so I like Richard's idea of bypassing #1 of Chong's proposals (no more options, please!) and just implementing #2 (with image-toggle-display disabled, as you note). Either that, or we start scrapping all the above and rethink all this stuff... which I think would be great, were not for the pretest. (Though, to be honest, the "confusion" stems from the fact that we started to teach Emacs to better auto-detect images, and then had to switch tracks when the security issues came up, so we've finished conflating two very different issues.) /L/e/k/t/u