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: Tue, 14 May 2013 07:58:38 -0400 Message-ID: <519226EE.2000300@mousecar.com> References: <5190B6C2.3060801@mousecar.com> <83y5bi97sp.fsf@gnu.org> <51911A2B.6070100@mousecar.com> <83r4ha959c.fsf@gnu.org> <5191A2BA.7080108@mousecar.com> <83bo8e83ef.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 1368532747 19703 80.91.229.3 (14 May 2013 11:59:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 14 May 2013 11:59:07 +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 Tue May 14 13:59:07 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 1UcDsp-0007r2-HC for geh-help-gnu-emacs@m.gmane.org; Tue, 14 May 2013 13:59:07 +0200 Original-Received: from localhost ([::1]:45890 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UcDsp-0004Lj-4W for geh-help-gnu-emacs@m.gmane.org; Tue, 14 May 2013 07:59:07 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:55892) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UcDsa-0004Ia-16 for help-gnu-emacs@gnu.org; Tue, 14 May 2013 07:58:53 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UcDsX-0004b0-GN for help-gnu-emacs@gnu.org; Tue, 14 May 2013 07:58:51 -0400 Original-Received: from mout.perfora.net ([74.208.4.194]:59834) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UcDsV-0004a2-Ga; Tue, 14 May 2013 07:58:47 -0400 Original-Received: from dellap.mousecar.net (dsl093-011-016.cle1.dsl.speakeasy.net [66.93.11.16]) by mrelay.perfora.net (node=mrus1) with ESMTP (Nemesis) id 0MLNQw-1Ubfe130ba-000rov; Tue, 14 May 2013 07:58:44 -0400 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130402 Thunderbird/17.0.5 In-Reply-To: <83bo8e83ef.fsf@gnu.org> X-Provags-ID: V02:K0:ZdPdOE188XJwJFUX2jn+5NKiOuya3R3P5lGiVuKFGO4 rd02mT2PrpyjdSbf9WqYCtWYQcwAfgIa2CK2xBr/hOLS4FhgnB kJYImLMBB2CbRXV3al9Xwz0o041J05sAaCIltx6PgjNmmVNlOf t3qHr+CHRDRJY7qMAcnoznEpt98i7eG1URkIMEwzxxBUqFqobA CqTkyoUhhe4ys45NJ6CXhVPrGIlwFoKiUizBqhSXxJH2cUR92u BGaPAjWZPjQabCDAb2s14vZpMQKXDlrIqFT9ISsnswLXNNz0iO f4HIxfaS3X+SliDSxWPzTKkA49zSc2iJNp+5NWDfosy9XtUmn/ pCeegLbX+M/f5C04JzEjfsZfKKVvM6PuqV/XhJS1X X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 74.208.4.194 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:90748 Archived-At: On 05/14/2013 02:46 AM Eli Zaretskii wrote: >> Date: Mon, 13 May 2013 22:34:34 -0400 >> From: ken >> CC: help-gnu-emacs@gnu.org >> >>> 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? > > I don't know what is the file-name extension of that file, so I cannot > give a precise recipe. Assuming for a moment that its extension is > .png, I see that auto-mode-alist includes this element: > > ("\\.png\\'" . image-mode) > > So to remove this, you need to do this: > > (delete '("\\.png\\'" . image-mode) auto-mode-alist) > Thanks. That worked.