[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: compilation-mode makes the buffer read-only
From: |
Stefan |
Subject: |
Re: compilation-mode makes the buffer read-only |
Date: |
Tue, 02 Nov 2004 07:11:00 -0500 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (darwin) |
> Your change would turn on buffer-read-only for modes other than
> compilation-mode. That does not seem desirable.
Presumably these other modes all derive from compilation-mode
(i.e. things like grep-mode), so they already are put in read-only mode.
But I agree that I don't understand the code well enough to know for sure
the implications of my change, hence my question.
> What is your intent here?
As mentioned the change
* progmodes/compile.el (compilation-start): Assume compilation-mode
will make the buffer read-only.
(compilation-mode): Take arg name-of-mode.
(compilation-setup): Make buffer read-only.
(compilation-handle-exit): Bind inhibit-read-only.
makes the buffer read-only in cases where it is not expected. This was
already partly fixed by making the buffer read-only for the non-minor-mode
case only, and my change intended to further reduce the number of cases
where the buffer is made read-only by moving it to `compilation-start'.
Stefan
- Re: compilation-mode makes the buffer read-only, Daniel Pfeiffer, 2004/11/01
- Re: compilation-mode makes the buffer read-only, Richard Stallman, 2004/11/02
- Re: compilation-mode makes the buffer read-only,
Stefan <=
- Re: compilation-mode makes the buffer read-only, Richard Stallman, 2004/11/03
- Re: compilation-mode makes the buffer read-only, Stefan Monnier, 2004/11/03
- Re: compilation-mode makes the buffer read-only, Richard Stallman, 2004/11/04
- Re: compilation-mode makes the buffer read-only, Stefan, 2004/11/08
- Re: compilation-mode makes the buffer read-only, Richard Stallman, 2004/11/09