From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Andreas R." Newsgroups: gmane.emacs.help Subject: Re: How to edit/modify patches using emacs? Date: Mon, 09 May 2005 21:52:32 +0200 Message-ID: <427fbef8$0$15822$9b622d9e@news.freenet.de> References: <427df645$0$26177$9b622d9e@news.freenet.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Trace: sea.gmane.org 1115668030 25195 80.91.229.2 (9 May 2005 19:47:10 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 9 May 2005 19:47:10 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon May 09 21:47:08 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DVEDL-0003xy-4h for geh-help-gnu-emacs@m.gmane.org; Mon, 09 May 2005 21:46:51 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DVELj-0003yz-2e for geh-help-gnu-emacs@m.gmane.org; Mon, 09 May 2005 15:55:31 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!news-fra1.dfn.de!news-lei1.dfn.de!newsfeed.freenet.de!news.freenet.de!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: KNode/0.8.2 Original-Lines: 16 Original-NNTP-Posting-Host: a7661a4a.news.freenet.de Original-X-Trace: DXC=nAdAPP\aSC7MEN]hGch4X3KZSdekToV02QA0]KUUDEj9ok0k\@dC1<7Dn=8YjaZaE4nTlXULa; gN5 Original-X-Complaints-To: abuse@freenet.de Original-Xref: shelby.stanford.edu gnu.emacs.help:130804 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:26459 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:26459 Peter Dyballa wrote: > Shouldn't they be read-only from nature? If you want to edit them, you > can press e in that buffer. If that does not help, check the > permissions of that patch file! Are you its owner? Are you allowed to > create a backup copy of the file in its directory? No that's not the problem. If I open a file like .patch or .diff emacs opens it read-only (OK, I can rename the file, e.g. just to , then the problem no longer persists). Miles Bader wrote: >> When I open a patch (created by simple diff) emacs says it's read-only. > > `toggle-read-only' (normally bound to C-x C-q I think). Thanks, C-x C-q or M-x toggle-read-only work.