From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: Putting auto-image-file-mode in Options menu Date: Tue, 29 Mar 2005 05:44:04 +0900 Message-ID: References: <87acp8i6f1.fsf@jurta.org> <87ll8qap2h.fsf@jurta.org> <87mzt3h43k.fsf@jurta.org> <87is3mq9ap.fsf@jurta.org> Reply-To: snogglethorpe@gmail.com, miles@gnu.org NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1112044674 15689 80.91.229.2 (28 Mar 2005 21:17:54 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 28 Mar 2005 21:17:54 +0000 (UTC) Cc: juri@jurta.org, emacs-devel@gnu.org, monnier@iro.umontreal.ca, miles@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Mar 28 23:17:52 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DG1b2-0001Cm-Mw for ged-emacs-devel@m.gmane.org; Mon, 28 Mar 2005 23:16:29 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DG1rC-0001GV-OY for ged-emacs-devel@m.gmane.org; Mon, 28 Mar 2005 16:33:10 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DG1nX-0008Dk-Jw for emacs-devel@gnu.org; Mon, 28 Mar 2005 16:29:24 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DG1nH-00083z-2M for emacs-devel@gnu.org; Mon, 28 Mar 2005 16:29:16 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DG1nF-00080b-Ns for emacs-devel@gnu.org; Mon, 28 Mar 2005 16:29:05 -0500 Original-Received: from [199.232.41.67] (helo=mx20.gnu.org) by monty-python.gnu.org with esmtp (TLSv1:RC4-SHA:128) (Exim 4.34) id 1DG1Vc-0004yZ-OW for emacs-devel@gnu.org; Mon, 28 Mar 2005 16:10:52 -0500 Original-Received: from [64.233.170.194] (helo=rproxy.gmail.com) by mx20.gnu.org with esmtp (Exim 4.34) id 1DG15q-0007kT-GX for emacs-devel@gnu.org; Mon, 28 Mar 2005 15:44:14 -0500 Original-Received: by rproxy.gmail.com with SMTP id 40so1032890rnz for ; Mon, 28 Mar 2005 12:44:04 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=L/92a+JysAKOr/2qeGaJU61DZ/NAgz/PkDb2WvixNBIVn1mM3t7THGTjnYLtBepmbBXntelh9xJwOwn5twsclW1dq2xF2EMP+uA6fAa3Lj0jiXuDZwCmiB1k4teFKu5/vJ/gaOgYYSCqY8nhi7Z8yFzTgni9NEpxSN9BY3m7MEc= Original-Received: by 10.38.206.58 with SMTP id d58mr4297129rng; Mon, 28 Mar 2005 12:44:04 -0800 (PST) Original-Received: by 10.54.19.32 with HTTP; Mon, 28 Mar 2005 12:44:04 -0800 (PST) Original-To: rms@gnu.org In-Reply-To: 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:35267 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:35267 On Mon, 28 Mar 2005 11:25:29 -0500, Richard Stallman wrote: > BTW, shouldn't "image-file.el" (the source file for `auto-image-mode') > be moved to lisp/obsolete, now that image-mode is preferred? > > I don't know if it is totally obsolete. Does anyone think it isn't? I'll note my experience: I actually use `auto-image-mode' a lot (surprised Stefan? :), mostly for a quick peek at images in a directory I'm visiting witih dired, and image-mode seems to work great for that case. The case where image-mode isn't equivalent is where you use `insert-file' to insert an image -- auto-image-file will cause the inserted text to be covered with the image, but image-mode won't do anything (unless the user invokes it afterwards, and then it will only work if the image is the sole text in the buffer). I can't imagine that this distinction matters for programmatic use -- it would be just as easy, and maybe more straight-forward to call a dedicated `insert-image-file' function. For users, I suppose somebody might want to create a quick mini-slide-show in a buffer or something by inserting a bunch of image files, but ... I'm not sure I see this happening very often. [and of course a user could just as well call a dedicated insert-image-file function too.] -Miles -- Do not taunt Happy Fun Ball.