From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Newsgroups: gmane.emacs.devel Subject: Re: Putting auto-image-file-mode in Options menu Date: Tue, 15 Mar 2005 09:41:05 -0500 Message-ID: References: <87acp8i6f1.fsf@jurta.org> <87wtsbbrlt.fsf-monnier+emacs@gnu.org> <87ll8qap2h.fsf@jurta.org> <877jka8jtg.fsf-monnier+emacs@gnu.org> <87br9l10um.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 1110899120 5365 80.91.229.2 (15 Mar 2005 15:05:20 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 15 Mar 2005 15:05:20 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Mar 15 16:05:20 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DBDSi-0003pv-DG for ged-emacs-devel@m.gmane.org; Tue, 15 Mar 2005 15:56:00 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DBDic-0004S2-3b for ged-emacs-devel@m.gmane.org; Tue, 15 Mar 2005 10:12:26 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DBDaf-0002IU-RF for emacs-devel@gnu.org; Tue, 15 Mar 2005 10:04:14 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DBDaY-0002DK-6c for emacs-devel@gnu.org; Tue, 15 Mar 2005 10:04:07 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DBDaV-0002B4-Id for emacs-devel@gnu.org; Tue, 15 Mar 2005 10:04:03 -0500 Original-Received: from [206.47.199.163] (helo=simmts5-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DBDEJ-0004Ap-M3 for emacs-devel@gnu.org; Tue, 15 Mar 2005 09:41:07 -0500 Original-Received: from empanada.home ([67.71.27.21]) by simmts5-srv.bellnexxia.net (InterMail vM.5.01.06.10 201-253-122-130-110-20040306) with ESMTP id <20050315144106.BRJQ1614.simmts5-srv.bellnexxia.net@empanada.home>; Tue, 15 Mar 2005 09:41:06 -0500 Original-Received: by empanada.home (Postfix, from userid 502) id 442EF471FDD; Tue, 15 Mar 2005 09:41:05 -0500 (EST) Original-To: Juri Linkov In-Reply-To: <87br9l10um.fsf@jurta.org> (Juri Linkov's message of "Tue, 15 Mar 2005 15:19:15 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (darwin) 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:34603 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:34603 >> 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, ...). > True, Emacs is not intended to be an image editor (at least, not in > TODO list now :-) But editing binary image files is not useful either. > And even when this is necessary, editing binary files is always safer > with find-file-literally. As I said, it's probably true for "binary" image formats (like PNG). But auto-image-file-mode, as it currently stands, applies to more formats than just those. BTW, the file-coding-system-alist should stipulate `binary' for files like *.png or *.gif. Stefan