From: Dima Kogan <dima@secretsauce.net>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 69819@debbugs.gnu.org
Subject: bug#69819: 30.0.50; comint-mode does not always respect the read-only flag
Date: Sun, 17 Mar 2024 21:57:26 -0700 [thread overview]
Message-ID: <87v85kw2j7.fsf@secretsauce.net> (raw)
In-Reply-To: <86v85k4nhb.fsf@gnu.org>
> What expectation, exactly? The buffer is not changed; the process is
> terminated, but that's not the same as changing the process's buffer!
The buffer IS changed, actually: when the inferior process dies, it
prints a message into the buffer:
Process shell<1> finished
But that's a red herring I think: if the inferior process died, but the
printing was blocked by the read-only mode, I would still consider that
to be a bug.
My use case is this. I use shell-mode buffers extensively. Periodically
I want to examine the output of some command in a *shell* buffer:
compare it against other data, look at it, cut/paste it, whatever. While
I'm doing that I don't want to accidentally change anything, so I C-x
C-q. Then accidental keystrokes don't end up changing anything. UNLESS
that accidental keystroke is C-d (and probably a few others I haven't
hit by mistake yet). This use case and expectation seems reasonable to
me.
Thanks.
next prev parent reply other threads:[~2024-03-18 4:57 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-15 20:07 bug#69819: 30.0.50; comint-mode does not always respect the read-only flag Dima Kogan
2024-03-16 7:16 ` Eli Zaretskii
2024-03-17 19:51 ` Dima Kogan
2024-03-17 20:22 ` Eli Zaretskii
2024-03-18 4:57 ` Dima Kogan [this message]
2024-03-18 13:16 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87v85kw2j7.fsf@secretsauce.net \
--to=dima@secretsauce.net \
--cc=69819@debbugs.gnu.org \
--cc=eliz@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).