all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#70587: More buffers that ought to be read-only
@ 2024-04-26  1:16 Dan Jacobson
  2024-04-26  9:58 ` Sean Whitton
  2024-04-26 10:48 ` Eli Zaretskii
  0 siblings, 2 replies; 22+ messages in thread
From: Dan Jacobson @ 2024-04-26  1:16 UTC (permalink / raw)
  To: 70587

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.

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.

(Often due to using sh -x or make (without -s) which echo command
lines.)

emacs-version "29.3"





^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2024-05-05  5:36 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-26  1:16 bug#70587: More buffers that ought to be read-only Dan Jacobson
2024-04-26  9:58 ` Sean Whitton
2024-04-26 10:48 ` Eli Zaretskii
2024-04-26 11:02   ` Dan Jacobson
2024-04-26 11:13     ` Eli Zaretskii
2024-04-27  7:24       ` Dan Jacobson
2024-04-27  7:57         ` Eli Zaretskii
2024-04-27  8:15           ` bug#70602: Add hooks to control *Shell Command Output* Dan Jacobson
2024-04-28  3:02           ` bug#70587: More buffers that ought to be read-only Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-04-28  4:26             ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-04-28  5:13             ` Eli Zaretskii
2024-04-28  9:04               ` Dan Jacobson
2024-04-28 14:57               ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-04-28 15:18                 ` Eli Zaretskii
2024-04-28 15:30                   ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-05-04 11:22                     ` Eli Zaretskii
2024-05-04 14:36                       ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-05-04 21:40                         ` Dan Jacobson
2024-05-05  5:36                           ` Eli Zaretskii
2024-04-28 20:35               ` Dmitry Gutov
2024-04-29  6:57                 ` Eli Zaretskii
2024-04-30  9:56                 ` Dan Jacobson

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.