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


Message #11 received at 8047 <at> debbugs.gnu.org (full text, mbox):

From: Juri Linkov <juri <at> jurta.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 8047 <at> debbugs.gnu.org
Subject: Re: bug#8047: 23.2.94; Auto image mode breaks C-x C-w
Date: Wed, 16 Feb 2011 02:48:33 +0200
>  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
>
> This happens because image-file.el makes the whole buffer displaying
> the image read-only.
>
> I think this nuisance should be fixed before Emacs 23.3 is released.

It seems what you mean is image-mode.el, not image-file.el.

image-mode is intended for viewing images, not editing.
(I suppose `C-x C-w' is an editing command.)

When you want to edit textual representation of the image,
you can toggle `image-minor-mode' with `C-c C-c'.




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.