From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.help Subject: Re: How to edit/modify patches using emacs? Date: Tue, 10 May 2005 19:39:11 +0000 Organization: muc.de e.V. -- private internet access Message-ID: References: <427df645$0$26177$9b622d9e@news.freenet.de> <427fbef8$0$15822$9b622d9e@news.freenet.de> <87psw0f7o1.fsf-monnier+gnu.emacs.help@gnu.org> NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1115758648 18265 80.91.229.2 (10 May 2005 20:57:28 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 10 May 2005 20:57:28 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue May 10 22:57:27 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DVbmI-0003Un-48 for geh-help-gnu-emacs@m.gmane.org; Tue, 10 May 2005 22:56:30 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DVbut-0000fz-HJ for geh-help-gnu-emacs@m.gmane.org; Tue, 10 May 2005 17:05:23 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.freenet.de!news-lei1.dfn.de!news-stu1.dfn.de!news.belwue.de!informatik.tu-muenchen.de!news.muc.de!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 22 Original-NNTP-Posting-Host: acm.muc.de Original-X-Trace: marvin.muc.de 1115758292 61145 193.149.49.134 (10 May 2005 20:51:32 GMT) Original-X-Complaints-To: news-admin@muc.de Original-NNTP-Posting-Date: 10 May 2005 20:51:32 GMT User-Agent: tin/1.4.5-20010409 ("One More Nightmare") (UNIX) (Linux/2.0.35 (i686)) Original-Xref: shelby.stanford.edu gnu.emacs.help:130834 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:26491 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:26491 Stefan Monnier wrote on Mon, 09 May 2005 16:48:34 -0400: >> 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). > Yes, it was a stupid idea of mine. See diff-default-read-only, which in > Emacs-CVS has been set to nil. Sorry 'bout it, Not half as stupid as _not_ writing diff-mode would have been. ;-) It's got to be one of my all-time favourite modes. Doing a recursive diff on two versions of a source tree (~2270 source files in each :-(), then bringing the output up in diff-mode IMPRESSES onlookers. Thanks, Stefan! -- Alan Mackenzie (Munich, Germany) Email: aacm@muuc.dee; to decode, wherever there is a repeated letter (like "aa"), remove half of them (leaving, say, "a").