From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#8047: 23.2.94; Auto image mode breaks C-x C-w Date: Wed, 16 Feb 2011 19:57:19 +0200 Message-ID: <83pqqrx3pc.fsf@gnu.org> References: <83tyg5vyvr.fsf@gnu.org> <83sjvowrfd.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1297879615 29834 80.91.229.12 (16 Feb 2011 18:06:55 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 16 Feb 2011 18:06:55 +0000 (UTC) Cc: 8047@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Feb 16 19:06:47 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Pplm2-0005Um-GP for geb-bug-gnu-emacs@m.gmane.org; Wed, 16 Feb 2011 19:06:46 +0100 Original-Received: from localhost ([127.0.0.1]:37703 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pplm1-0000QO-LI for geb-bug-gnu-emacs@m.gmane.org; Wed, 16 Feb 2011 13:06:45 -0500 Original-Received: from [140.186.70.92] (port=37702 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ppllr-0000PB-Ml for bug-gnu-emacs@gnu.org; Wed, 16 Feb 2011 13:06:36 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ppllp-00031C-T3 for bug-gnu-emacs@gnu.org; Wed, 16 Feb 2011 13:06:35 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:49976) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ppllp-000318-RM for bug-gnu-emacs@gnu.org; Wed, 16 Feb 2011 13:06:33 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1PplUs-0000PJ-Gu; Wed, 16 Feb 2011 12:49:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 16 Feb 2011 17:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8047 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 8047-submit@debbugs.gnu.org id=B8047.12978784981506 (code B ref 8047); Wed, 16 Feb 2011 17:49:02 +0000 Original-Received: (at 8047) by debbugs.gnu.org; 16 Feb 2011 17:48:18 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PplU9-0000OE-W3 for submit@debbugs.gnu.org; Wed, 16 Feb 2011 12:48:18 -0500 Original-Received: from mtaout20.012.net.il ([80.179.55.166]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PplU8-0000O0-6P for 8047@debbugs.gnu.org; Wed, 16 Feb 2011 12:48:16 -0500 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0LGQ00L0015GU200@a-mtaout20.012.net.il> for 8047@debbugs.gnu.org; Wed, 16 Feb 2011 19:57:18 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([84.229.187.92]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LGQ00L291VFYX00@a-mtaout20.012.net.il>; Wed, 16 Feb 2011 19:57:16 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 16 Feb 2011 12:49:02 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:44189 Archived-At: > From: Stefan Monnier > Cc: Glenn Morris , 8047@debbugs.gnu.org > Date: Wed, 16 Feb 2011 09:40:23 -0500 > > >> > emacs -Q > >> > C-x C-f FOO.png RET (or any other image file) > >> > C-x C-w BAR.png RET > >> > > >> > => save-buffer: Text is read-only > >> I don't see this in current emacs-23 or trunk on GNU/Linux. > > Set require-final-newline non-nil, and you will. > > Even if it's set to `ask'? Of course not. > As for the actual fix, maybe require-final-newline should be ignored > when the encoding is `binary'? That's what I have in mind; feel free to beat me to it, because I don't buy the argument that since this was so in Emacs 22, we need to live with it until 24.1.