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 13:59:52 -0400
User-agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130402 Thunderbird/17.0.5

n 05/13/2013 12:51 PM ken wrote:

Date: Mon, 13 May 2013 05:47:46 -0400
From: ken <gebser@mousecar.com>

A file which I've been opening in emacs and editing for a few years in
emacs suddenly with emacs version 22.1.1 became read-only.  I open it,
can navigate around in it (though the cursor/mark isn't visible), but
when I try to edit it, I'm not allowed.  I get a message in the
minibuffer saying, "Text is read-only".  The beginning of the modeline
is "-u: --".  I can open this same file in vi and edit it (as the same
user) without any problem at all.  I don't have this problem with any
other file I edit in emacs, just this one.  The OS is linux, kernel
version 2.6.18.384, and the permissions for this file are 664 and I am
the owner of the file.  If I change (i.e., mv) the name of the file to
something else, emacs behaves normally and lets me edit the file just
like any other file.  So I'm pretty sure that the problem is that emacs
has a problem with the file name and thinks I shouldn't be allowed to
edit it.  How do I turn this behavior off?

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

If I do "M-x text-mode", it's still not possible to edit the file... I still get the message "Text is read-only".




reply via email to

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