From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Putting auto-image-file-mode in Options menu Date: Mon, 14 Mar 2005 08:07:22 -0500 Message-ID: <877jka8jtg.fsf-monnier+emacs@gnu.org> References: <87acp8i6f1.fsf@jurta.org> <87wtsbbrlt.fsf-monnier+emacs@gnu.org> <87ll8qap2h.fsf@jurta.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1110805707 27476 80.91.229.2 (14 Mar 2005 13:08:27 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 14 Mar 2005 13:08:27 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Mar 14 14:08:26 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DApIJ-0007Fe-NF for ged-emacs-devel@m.gmane.org; Mon, 14 Mar 2005 14:07:44 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DApXx-0003ta-2S for ged-emacs-devel@m.gmane.org; Mon, 14 Mar 2005 08:23:49 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DApXa-0003oB-29 for emacs-devel@gnu.org; Mon, 14 Mar 2005 08:23:26 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DApXV-0003m3-BE for emacs-devel@gnu.org; Mon, 14 Mar 2005 08:23:22 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DApXV-0003lt-4C for emacs-devel@gnu.org; Mon, 14 Mar 2005 08:23:21 -0500 Original-Received: from [209.226.175.34] (helo=tomts13-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DApI3-00017G-5m for emacs-devel@gnu.org; Mon, 14 Mar 2005 08:07:23 -0500 Original-Received: from alfajor ([67.71.27.21]) by tomts13-srv.bellnexxia.net (InterMail vM.5.01.06.10 201-253-122-130-110-20040306) with ESMTP id <20050314130722.HIHX1899.tomts13-srv.bellnexxia.net@alfajor>; Mon, 14 Mar 2005 08:07:22 -0500 Original-Received: by alfajor (Postfix, from userid 1000) id C0D35D74A3; Mon, 14 Mar 2005 08:07:22 -0500 (EST) Original-To: Juri Linkov In-Reply-To: <87ll8qap2h.fsf@jurta.org> (Juri Linkov's message of "Mon, 14 Mar 2005 03:23:02 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) 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 X-MailScanner-To: ged-emacs-devel@m.gmane.org Xref: news.gmane.org gmane.emacs.devel:34572 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:34572 > Indeed, auto-image-file-mode is useful only for viewing images. > OTOH, editing image files as plain text in Emacs is a rare > operation too. Not that rare, especially for text-based image format, or to view/edit the text in the header of a non-text image format. > And even with auto-image-file-mode set to t, > editing is possible after visiting them with find-file-literally. > With all this said, I have a question: is there any reason not > to turn auto-image-file-mode on by default? I admit that I've never opened a png file in Emacs, so for png it might be OK, but in general there are several "image formats" which are quite viewable/editable in Emacs. OTOH I find auto-image-file-mode of very dubious utility: you can barely look at the image (it's a bit better now with partial-line scrolling, but it's still much more clunky than any other image-viewing tool), and you can't do anything more (crop/zoom/rotate/save in another format, ...). > I would like to ask the same question for auto-compression-mode too. > What is the reason not to turn it on by default? How often people > visit compressed files for editing without uncompressing? Agreed. `auto-compression-mode' should be ON by default. Stefan