[Top][All Lists]

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

Re: *compilation* buffers should be readonly

From: Stefan Monnier
Subject: Re: *compilation* buffers should be readonly
Date: 01 Jun 2001 16:03:23 -0400
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.104

>>>>> "Kevin" == Kevin Rodgers <address@hidden> writes:
> Won't that prevent Emacs itself from writing the compile command's output to
> the compilation buffer?

Not necessarily.  I'm not sure whether the current code would burp,
but it would be trivial to fix in either case.

> I also disagree with your suggestion in general,
> since someone might want to run an interactive command that requires input
> via `compile'.

I don't think that this works right now anyway (compile-mode does not
provide any kind of comint-like facility for interactively sending
text to the subprocess).

I don't find the argument for why it should be made read-only very
compelling (after all `sh -x' output starts with `+ ' on every line
and similarly `make's output has never looked anything like code
to me, so you'd have to be pretty airheaded to make such a mistake)
but on the other hand, I can't think of any good reason why the buffer
should be writable either (after all typing RET doesn't do what you want
and neither does mouse-2, so any potential editing you might do there
would be significantly crippled).


reply via email to

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