bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#8047: 23.2.94; Auto image mode breaks C-x C-w


From: Eli Zaretskii
Subject: bug#8047: 23.2.94; Auto image mode breaks C-x C-w
Date: Wed, 16 Feb 2011 19:57:19 +0200

> From: Stefan Monnier <monnier@iro.umontreal.ca>
> Cc: Glenn Morris <rgm@gnu.org>,  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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]