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

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

bug#70587: More buffers that ought to be read-only


From: Sean Whitton
Subject: bug#70587: More buffers that ought to be read-only
Date: Fri, 26 Apr 2024 10:58:56 +0100
User-agent: Gnus/5.13 (Gnus v5.13)

Hello,

On Fri 26 Apr 2024 at 09:16am +08, Dan Jacobson wrote:

> diff-default-read-only is a variable defined in ‘diff-mode.el’.
> Its value is nil
> If non-nil, ‘diff-mode’ buffers default to being read-only.
>
> That's funny, it seems they are already read-only, without setting this
> variable. Maybe this variable can be retired.

It's very useful to have them editable sometimes.

> The *compilation* buffer of M-x compile is also read-only. Good.
>
> But how about *Shell Command Output*, and errors buffers, they should be
> read-only by default too.
>
> Why? Because tons of times we realize for the last half hour we have
> been editing our program's output buffer instead of the source code.

No, it is very useful to be able to edit them.

It would make sense to have a customisation variable to change it.

-- 
Sean Whitton





reply via email to

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