[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to edit/modify patches using emacs?

From: Miles Bader
Subject: Re: How to edit/modify patches using emacs?
Date: Tue, 10 May 2005 08:41:36 +0900

Stefan Monnier <address@hidden> 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.).


reply via email to

[Prev in Thread] Current Thread [Next in Thread]