Stefan Monnier <[EMAIL PROTECTED]> 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! _______________________________________________ Help-gnu-emacs mailing list Help-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnu-emacs