From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.help Subject: Re: How to edit/modify patches using emacs? Date: Tue, 10 May 2005 08:41:36 +0900 Message-ID: <873bsw7yrz.fsf@tc-1-100.kawasaki.gol.ne.jp> References: <427df645$0$26177$9b622d9e@news.freenet.de> <427fbef8$0$15822$9b622d9e@news.freenet.de> <87psw0f7o1.fsf-monnier+gnu.emacs.help@gnu.org> <878y2of24c.fsf-monnier+gnu.emacs.help@gnu.org> Reply-To: Miles Bader NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1115683011 5826 80.91.229.2 (9 May 2005 23:56:51 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 9 May 2005 23:56:51 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue May 10 01:56:49 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DVI79-0000iz-Ap for geh-help-gnu-emacs@m.gmane.org; Tue, 10 May 2005 01:56:43 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DVIFZ-0002NM-Kq for geh-help-gnu-emacs@m.gmane.org; Mon, 09 May 2005 20:05:25 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DVIEp-0002Dr-Q9 for help-gnu-emacs@gnu.org; Mon, 09 May 2005 20:04:39 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DVIEj-0002BE-Jq for help-gnu-emacs@gnu.org; Mon, 09 May 2005 20:04:33 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DVIEj-00027p-7x for help-gnu-emacs@gnu.org; Mon, 09 May 2005 20:04:33 -0400 Original-Received: from [203.216.5.72] (helo=smtp02.dentaku.gol.com) by monty-python.gnu.org with esmtp (TLS-1.0:RSA_AES_128_CBC_SHA:16) (Exim 4.34) id 1DVHye-00053l-FA; Mon, 09 May 2005 19:47:57 -0400 Original-Received: from localhost ([127.0.0.1]) by smtp02.dentaku.gol.com with esmtp (Dentaku) id 1DVHsY-0005Ox-FJ; Tue, 10 May 2005 08:41:38 +0900 Original-Received: from yokohama2-61-203-152-250.ap.0038.net ([61.203.152.250] helo=tc-1-100.kawasaki.gol.ne.jp) by smtp02.dentaku.gol.com with esmtpa (Dentaku) id 1DVHsX-0005Nl-4Q; Tue, 10 May 2005 08:41:38 +0900 Original-Received: by tc-1-100.kawasaki.gol.ne.jp (Postfix, from userid 1000) id 659592F60; Tue, 10 May 2005 08:41:36 +0900 (JST) Original-To: help-gnu-emacs@gnu.org System-Type: i686-pc-linux-gnu In-Reply-To: <878y2of24c.fsf-monnier+gnu.emacs.help@gnu.org> (Stefan Monnier's message of "Mon, 09 May 2005 18:53:45 -0400") Original-Lines: 21 X-Virus-Scanned: by AMaViS GOL X-Abuse-Complaints: abuse@gol.com 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:26466 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:26466 Stefan Monnier writes: > I'm sure you knew you could do > (add-hook 'diff-mode-hook (lambda () (toggle-read-only 1)). It seems that the burden of hitting "M-%" (my toggle-read-only) was just not enough to trigger the "annoyed enough do something" reflex. Now that I think about it, I generally _am_ more reluctant to add something to my .emacs than I am to customize a variable, not really because it's harder, or more convenient (though it is slightly), but because I dislike my .emacs file growing large and cluttered with lots of miscellaneous tweaks -- I tend to lose track of stuff among all the noise. I think I'd rather be able to use a `by name' interface like customize for the small random changes, and put only "significant stuff" in my .emacs file (some small custom modes, non-trivial hooks, etc.). -Miles -- x y Z!