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 13:59:52 -0400 Message-ID: <51912A18.9000603@mousecar.com> References: <5190B6C2.3060801@mousecar.com> <83y5bi97sp.fsf@gnu.org> <51911A2B.6070100@mousecar.com> Reply-To: GNU Emacs List 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 1368468018 9426 80.91.229.3 (13 May 2013 18:00:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 13 May 2013 18:00:18 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon May 13 20:00:17 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 1Ubx2n-0002Tr-B6 for geh-help-gnu-emacs@m.gmane.org; Mon, 13 May 2013 20:00:17 +0200 Original-Received: from localhost ([::1]:51791 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ubx2m-0001Rr-QD for geh-help-gnu-emacs@m.gmane.org; Mon, 13 May 2013 14:00:16 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:48420) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ubx2b-0001PM-GV for help-gnu-emacs@gnu.org; Mon, 13 May 2013 14:00:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ubx2Z-00065s-7Z for help-gnu-emacs@gnu.org; Mon, 13 May 2013 14:00:05 -0400 Original-Received: from mout.perfora.net ([74.208.4.195]:53323) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ubx2W-0005yS-PT; Mon, 13 May 2013 14:00:00 -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 0LwrfU-1UR8K12wfo-016NYo; Mon, 13 May 2013 13:59:59 -0400 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130402 Thunderbird/17.0.5 In-Reply-To: <51911A2B.6070100@mousecar.com> X-Provags-ID: V02:K0:58UmZ0ZnuhM3fEngFWBGzELMnpM1T9USEp1vSOkVaJv +/xuDB7ToFBVsr+Ecah+TYE5BOr8LwVGmfk6YlArXboyvgkMu+ vwoz0OjgMAPqWViiValR5jVUSxuu0ZsE0msXlaPRZ9wnokvYhC 83952nKywekqBS5ilRdrpsEidR2zAkRkUvygvFlNKFrVc4JK8i SVOPGJzkaMlaNxSiQnFdom4n+TJs8QG13vKpRhTq8lNBd0N83T JU9DrY42RIpMMFSQGuBGf7FpZkjsBVCC/YnUn/r42OeGrFCKbe gMeNzv5u8CGAYtyNoSwV2z9vH3cd/8t6ny6hjHEqyuRzM3fHwu hw8zuZu1mGY+r/X/wrm/W+faBiGIrpj3GQ++UE15W 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:90707 Archived-At: n 05/13/2013 12:51 PM ken wrote: > >>> 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 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".