From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#69819: 30.0.50; comint-mode does not always respect the read-only flag Date: Sun, 17 Mar 2024 22:22:56 +0200 Message-ID: <86v85k4nhb.fsf@gnu.org> References: <87frwrxnqr.fsf@secretsauce.net> <86r0ga7iju.fsf@gnu.org> <874jd4y6fq.fsf@secretsauce.net> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38857"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 69819@debbugs.gnu.org To: Dima Kogan Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Mar 17 21:44:45 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rlxN6-0009wJ-M5 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 17 Mar 2024 21:44:44 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rlxMo-0000Bo-Q7; Sun, 17 Mar 2024 16:44:26 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rlxMn-0008VX-7I for bug-gnu-emacs@gnu.org; Sun, 17 Mar 2024 16:44:25 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rlxMm-0000Rg-V9 for bug-gnu-emacs@gnu.org; Sun, 17 Mar 2024 16:44:24 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rlxNO-000779-BA for bug-gnu-emacs@gnu.org; Sun, 17 Mar 2024 16:45:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 17 Mar 2024 20:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69819 X-GNU-PR-Package: emacs Original-Received: via spool by 69819-submit@debbugs.gnu.org id=B69819.171070827927266 (code B ref 69819); Sun, 17 Mar 2024 20:45:02 +0000 Original-Received: (at 69819) by debbugs.gnu.org; 17 Mar 2024 20:44:39 +0000 Original-Received: from localhost ([127.0.0.1]:40248 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rlxN1-00075i-47 for submit@debbugs.gnu.org; Sun, 17 Mar 2024 16:44:39 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:44198) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rlxMy-00075K-9n for 69819@debbugs.gnu.org; Sun, 17 Mar 2024 16:44:37 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rlx24-0005dg-IS; Sun, 17 Mar 2024 16:23:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=5WObbcarbtMZcOCq22AA9K02ufXF8Y1+aoFSF7a9CkI=; b=GCceAT9Ai+00 66f2iri6BvPtHdP71Fv+52OH9ROEXx3/U3vA7jqbHvr+WTYbtdlruIMcInshc0pEXdqLEnFUQZuic JxGLaubQGad1Y4FehYuI0qE6sA0GgJwjdQnDQK1pr1WWsQwDsidZ4ad1RjV2IvryYKTrCZvG7lzC0 fm2g4rmReltaFSoOHXfqA0C/Wg3Nn2dVCP5BrmMqIbxvJd//25JJrcW1MSxUcprhamYXsVS0ujfLn 6PquOE9gy3pOwr4PptiHTUdFgeitTvYdkVXqpiZZqSbiPG4hMIH7EHU5pvd+X5v79d1vOqcgcBqm2 0T/u1y3Mb3cQJujd1Ixn6g==; In-Reply-To: <874jd4y6fq.fsf@secretsauce.net> (message from Dima Kogan on Sun, 17 Mar 2024 12:51:20 -0700) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:281781 Archived-At: > From: Dima Kogan > Cc: 69819@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!