GNU bug report logs - #8047
image-mode and require-final-newline

Previous Next

Package: emacs;

Reported by: Eli Zaretskii <eliz <at> gnu.org>

Date: Tue, 15 Feb 2011 20:06:02 UTC

Severity: normal

Found in version 23.2.94

Fixed in version 23.3

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: Glenn Morris <rgm <at> gnu.org>, 8047 <at> debbugs.gnu.org
Subject: bug#8047: 23.2.94; Auto image mode breaks C-x C-w
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'?
As for the actual fix, maybe require-final-newline should be ignored
when the encoding is `binary'?


        Stefan




This bug report was last modified 14 years and 114 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.