bug-gnu-emacs
[Top][All Lists]
Advanced

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

*compilation* buffers should be readonly


From: Dan Jacobson
Subject: *compilation* buffers should be readonly
Date: 30 May 2001 16:33:39 +0800
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

*compilation* buffers should be readonly by default as often it (make
or sh -x output) looks like your source code and you start editing it
only to have your changes wiped away by the next invocation of M-x
compile.

Hmmm, in the meantime I'll try
(add-hook 'compilation-mode-hook
           (function (lambda ()
                      (toggle-read-only 1))))

While you're at it, add a "q" to compile-mode's keybindings to bury the
buffer and optionally delete-window.
-- 
http://www.geocities.com/jidanni Tel886-4-25854780 e-mail:restore .com.
I think I mentiond this before :-)



reply via email to

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