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

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

Re: "Text is read-only"... except it isn't... or shouldn't be


From: Eli Zaretskii
Subject: Re: "Text is read-only"... except it isn't... or shouldn't be
Date: Mon, 13 May 2013 20:08:47 +0300

> Date: Mon, 13 May 2013 12:51:55 -0400
> From: ken <gebser@mousecar.com>
> CC: help-gnu-emacs@gnu.org
> 
> 
> > What does Emacs say if you type this:
> >
> >    M-: major-mode RET
> >
> > in the buffer that visits this file you aren't allowed to edit?
> >
> 
> image-mode

That explains everything, doesn't it?  Your file has a file-name
extension that matches some image file, so Emacs enters the Image mode
for it, and doesn't let you edit images (because image-editing
capabilities are not yet part of Emacs).

Solution: remove that extension from auto-mode-alist, and Bob's your
uncle.



reply via email to

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