From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ken Newsgroups: gmane.emacs.help Subject: Re: "Text is read-only"... except it isn't... or shouldn't be Date: Mon, 13 May 2013 12:51:55 -0400 Message-ID: <51911A2B.6070100@mousecar.com> References: <5190B6C2.3060801@mousecar.com> <83y5bi97sp.fsf@gnu.org> Reply-To: gebser@mousecar.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1368464193 31558 80.91.229.3 (13 May 2013 16:56:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 13 May 2013 16:56:33 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Eli Zaretskii Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon May 13 18:56:31 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Ubw35-000697-7F for geh-help-gnu-emacs@m.gmane.org; Mon, 13 May 2013 18:56:31 +0200 Original-Received: from localhost ([::1]:60534 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ubw34-0001Om-Rc for geh-help-gnu-emacs@m.gmane.org; Mon, 13 May 2013 12:56:30 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:49934) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ubw2r-0001Od-Nk for help-gnu-emacs@gnu.org; Mon, 13 May 2013 12:56:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ubvyp-0006xy-T2 for help-gnu-emacs@gnu.org; Mon, 13 May 2013 12:52:11 -0400 Original-Received: from mout.perfora.net ([74.208.4.195]:58540) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ubvyp-0006xj-Kk; Mon, 13 May 2013 12:52:07 -0400 Original-Received: from dellap.mousecar.net (dsl093-011-016.cle1.dsl.speakeasy.net [66.93.11.16]) by mrelay.perfora.net (node=mrus2) with ESMTP (Nemesis) id 0LxgcF-1URQMa43rv-017DJv; Mon, 13 May 2013 12:52:06 -0400 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130402 Thunderbird/17.0.5 In-Reply-To: <83y5bi97sp.fsf@gnu.org> X-Provags-ID: V02:K0:L8B6HFwijOee1Nuho7lutAgeftlR0o5vxHDg9hvPxPk xFMBm4TTxxTvb88+wH/5Pod0gXVcn7R8/y2JiD8BNjKdDvDhQC 8NgxWO64fMKoCfM7hY69piCz/fyJ8nn6oGkbZaIdAft3GIl4e+ hPGqXMIAypNgqoK3N+m7JHmyGEh60Yc6ogP+G/uItwLodeckZc Tmg7aU4Wr+WTev9OBl+AgsioFCCyQaqk6n36SMAzxYDyLtuRe4 0fLqrZxJtVXCrpxb4nHM/XAaEPGVcVpKRSByKz6p4lhIoGltZx 8Vbsh8vnXaJZJbokqeZzODKF0l+HfFf3Z78yzTsUfJgKikggAm bJj+C9Vkda603Q42wbfwnO5RrN7wBLImn5h6WEQ/d X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 74.208.4.195 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:90703 Archived-At: >> Date: Mon, 13 May 2013 05:47:46 -0400 >> From: ken >> >> 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