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: ken
Subject: Re: "Text is read-only"... except it isn't... or shouldn't be
Date: Mon, 13 May 2013 22:34:34 -0400
User-agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130402 Thunderbird/17.0.5



On 05/13/2013 01:08 PM Eli Zaretskii wrote:
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.

Cool. That's what I want. So I guess I put something in ~/.emacs... but what?




reply via email to

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