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

From: Juri Linkov <[email-masked]>
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'.