GNU bug report logs - #69819
30.0.50; comint-mode does not always respect the read-only flag

Previous Next

Package: emacs;

Reported by: Dima Kogan <dima <at> secretsauce.net>

Date: Fri, 15 Mar 2024 20:09:02 UTC

Severity: normal

Found in version 30.0.50

Full log


Message #14 received at 69819 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Dima Kogan <dima <at> secretsauce.net>
Cc: 69819 <at> debbugs.gnu.org
Subject: Re: bug#69819: 30.0.50; comint-mode does not always respect the
 read-only flag
Date: Sun, 17 Mar 2024 22:22:56 +0200
> From: Dima Kogan <dima <at> secretsauce.net>
> Cc: 69819 <at> debbugs.gnu.org
> Date: Sun, 17 Mar 2024 12:51:20 -0700
> 
> > Why do you think C-d shouldn't work when the buffer is read-only?
> >
> >> I'm observing this with all comint-based modes, not just shell-mode.
> >
> > It's a feature, AFAICT.  But I'm interested in hearing why you thought
> > it was a bug.
> 
> 
> Is there no expectation that a "read-only" mode would block any changes
> to a buffer? Killing the inferior process breaks that expectation, hence
> this report.

What expectation, exactly?  The buffer is not changed; the process is
terminated, but that's not the same as changing the process's buffer!




This bug report was last modified 1 year and 92 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.