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: Putting auto-image-file-mode in Options menu Date: Mon, 28 Mar 2005 22:01:12 -0500 Message-ID: References: <87acp8i6f1.fsf@jurta.org> <87ll8qap2h.fsf@jurta.org> <87mzt3h43k.fsf@jurta.org> <87is3mq9ap.fsf@jurta.org> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1112065779 12901 80.91.229.2 (29 Mar 2005 03:09:39 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 29 Mar 2005 03:09:39 +0000 (UTC) Cc: juri@jurta.org, miles@gnu.org, monnier@iro.umontreal.ca, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Mar 29 05:09:37 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DG76e-00012F-7L for ged-emacs-devel@m.gmane.org; Tue, 29 Mar 2005 05:09:28 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DG7Mr-0003Ph-EI for ged-emacs-devel@m.gmane.org; Mon, 28 Mar 2005 22:26:13 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DG7KP-0001L3-26 for emacs-devel@gnu.org; Mon, 28 Mar 2005 22:23:41 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DG7KG-0001HB-Pu for emacs-devel@gnu.org; Mon, 28 Mar 2005 22:23:33 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DG7KG-0001GK-I5 for emacs-devel@gnu.org; Mon, 28 Mar 2005 22:23:32 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DG6yo-0006i0-8j for emacs-devel@gnu.org; Mon, 28 Mar 2005 22:01:22 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1DG6ye-0001jw-9n; Mon, 28 Mar 2005 22:01:12 -0500 Original-To: snogglethorpe@gmail.com, miles@gnu.org In-reply-to: (message from Miles Bader on Tue, 29 Mar 2005 05:44:04 +0900) 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:35282 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:35282 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. Rather than an insert-image-file function, I think the best thing to recommend is, "Visit the image file, then copy it in the form you prefer." That is natural, and requires no additional commands or knowledge.