X-Loop: help-debbugs@HIDDEN Subject: bug#70587: More buffers that ought to be read-only Resent-From: Dan Jacobson <jidanni@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Fri, 26 Apr 2024 08:42:03 +0000 Resent-Message-ID: <handler.70587.B.171412087712005 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 70587 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 70587 <at> debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.171412087712005 (code B ref -1); Fri, 26 Apr 2024 08:42:03 +0000 Received: (at submit) by debbugs.gnu.org; 26 Apr 2024 08:41:17 +0000 Received: from localhost ([127.0.0.1]:33910 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1s0H8o-00036a-LF for submit <at> debbugs.gnu.org; Fri, 26 Apr 2024 04:41:16 -0400 Received: from lists.gnu.org ([2001:470:142::17]:39662) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <jidanni@HIDDEN>) id 1s0H8f-00034Q-8V for submit <at> debbugs.gnu.org; Fri, 26 Apr 2024 04:41:07 -0400 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 <jidanni@HIDDEN>) id 1s0H8H-0004rG-O7 for bug-gnu-emacs@HIDDEN; Fri, 26 Apr 2024 04:40:37 -0400 Received: from toucan.tulip.relay.mailchannels.net ([23.83.218.254]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <jidanni@HIDDEN>) id 1s0H8G-0003BO-4T for bug-gnu-emacs@HIDDEN; Fri, 26 Apr 2024 04:40:37 -0400 X-Sender-Id: dreamhost|x-authsender|jidanni@HIDDEN Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id F08A0842F56 for <bug-gnu-emacs@HIDDEN>; Fri, 26 Apr 2024 08:40:30 +0000 (UTC) Received: from pdx1-sub0-mail-a202.dreamhost.com (unknown [127.0.0.6]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 8FEE384301A for <bug-gnu-emacs@HIDDEN>; Fri, 26 Apr 2024 08:40:30 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1714120830; a=rsa-sha256; cv=none; b=nKPKZnl/0sSlzeqWTQp4HzKWtTnuTGmrQYo3m6gMnHlC//T1FQdoHB5Wa7Q1UbkBBRE8BP xwYIBgq0bnA7H8bKKL6SIt++hYQ5wYjqVBgjH3S36Wia6k3pMfLW4gOr4gvvvnI0aUdHZp AYUAHHvthLGL4WO0PoSJkqHtVbea2LQSZpym+SY/o5SFi5RrG4fnloVq/aOT1XnbZTMRvj ifPJ/2RBLP/agYCYNKY1URilavzHzNLtC0lZDVy3Y1AfRP8jSx9lVut25kvrsa5Go9JdVq ljaGgaFeD/khWGUFyBHNbtAU+LU/lbkVqudyp/8Zf0m8wh/LCppZ+23c4v1wXg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1714120830; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding:dkim-signature; bh=lLtEbR8lFCyY7Fdw3Jfv9zp/z1Z1VgAlJULEBVLUrkY=; b=YN/GUDlNg0F7vYyvL7lWWAbV0UZLjs4hqSUaj5WimTFywUS5KKH1tosZLPXs1kTiPTylZw UuGYtJIe79fYiKuZuEb290w23ClM+Rnt0scBhnSjA7ypN7oDzeY1YJfpG67GZYaA++5haV XaeSwU7kaTu3Fov+fGHKpNp7v8AbSlVu3tBJbP0aeTj6xmcXd1mFoWY7cZJGuhTRJBCasD 7kHv6x18dPJ2r1ZoLqUpwWxjUvTBoQSIiAXBF51KhAJmf5Zi74fLLWbFPgGw67LgpPVozk hZ2n6hqGn9zcaOitJ35Z+dRpP9he0tV98ENna5Z6I4GrBZs3Z1R7c38sl5rFXA== ARC-Authentication-Results: i=1; rspamd-67db6f49c6-4xzhc; auth=pass smtp.auth=dreamhost smtp.mailfrom=jidanni@HIDDEN X-Sender-Id: dreamhost|x-authsender|jidanni@HIDDEN X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jidanni@HIDDEN X-MailChannels-Auth-Id: dreamhost X-Imminent-Befitting: 0f7ece272a4f1ff0_1714120830835_1696896154 X-MC-Loop-Signature: 1714120830834:1149073183 X-MC-Ingress-Time: 1714120830834 Received: from pdx1-sub0-mail-a202.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.117.243.76 (trex/6.9.2); Fri, 26 Apr 2024 08:40:30 +0000 Received: from jidanni.org (1-165-189-235.dynamic-ip.hinet.net [1.165.189.235]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: jidanni@HIDDEN) by pdx1-sub0-mail-a202.dreamhost.com (Postfix) with ESMTPSA id 4VQmQ63HZnz4w for <bug-gnu-emacs@HIDDEN>; Fri, 26 Apr 2024 01:40:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jidanni.org; s=dreamhost; t=1714120830; bh=lLtEbR8lFCyY7Fdw3Jfv9zp/z1Z1VgAlJULEBVLUrkY=; h=From:To:Subject:Date:Content-Type:Content-Transfer-Encoding; b=k8s5NjkO9s68P5fkA8wPdwbbAMjM5HZHqIv4auvDMbfPCmS0r8/Ot3fp6lBjShTZa 8iAH1FAXDfwWlcClGCJ2hQxQjtsj8O7aRVym45H6ndaGpSce9VS7RhzTHyaoib6VWx M2gcgl/YhC4myGp6MgLVKtlycm1nZf2MiVj7oFyvymVUyTntJPIf76ldES+HdqpsXE WWghVhIO2C4AHXZRnsnexxmDVI5csyOphHg2QGn7v53QZL2DQ9QaNpS/RZoJEZHZlB bP84oThU3YnI72C28v99gAXojv9WDE1vX47JZcNQv161kXhyMmebvuaTRTW67MNiAf 8t7nlrYBcxuOA== From: Dan Jacobson <jidanni@HIDDEN> Date: Fri, 26 Apr 2024 09:16:08 +0800 Message-ID: <87le506i07.n.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=23.83.218.254; envelope-from=jidanni@HIDDEN; helo=toucan.tulip.relay.mailchannels.net X-Spam_score_int: -5 X-Spam_score: -0.6 X-Spam_bar: / X-Spam_report: (-0.6 / 5.0 requ) BAYES_00=-1.9, DATE_IN_PAST_06_12=1.543, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: diff-default-read-only is a variable defined in =?UTF-8?Q?=E2=80=98diff-mode.el=E2=80=99.?= Its value is nil If non-nil, =?UTF-8?Q?=E2=80=98diff-mode=E2=80=99?= 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. Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.1 DATE_IN_PAST_06_12 Date: is 6 to 12 hours before Received: date 0.9 SPF_FAIL SPF: sender does not match SPF record (fail) [SPF failed: Please see http://www.openspf.org/Why?s=mfrom;id=jidanni%40jidanni.org;ip=2001%3A470%3A142%3A%3A17;r=debbugs.gnu.org] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: 0.1 (/) 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"
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Dan Jacobson <jidanni@HIDDEN> Subject: bug#70587: Acknowledgement (More buffers that ought to be read-only) Message-ID: <handler.70587.B.171412087712005.ack <at> debbugs.gnu.org> References: <87le506i07.n.fsf@HIDDEN> X-Gnu-PR-Message: ack 70587 X-Gnu-PR-Package: emacs Reply-To: 70587 <at> debbugs.gnu.org Date: Fri, 26 Apr 2024 08:42:04 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-gnu-emacs@HIDDEN If you wish to submit further information on this problem, please send it to 70587 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 70587: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D70587 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN Subject: bug#70587: More buffers that ought to be read-only Resent-From: Sean Whitton <spwhitton@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Fri, 26 Apr 2024 10:00:02 +0000 Resent-Message-ID: <handler.70587.B70587.171412556632175 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 70587 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Dan Jacobson <jidanni@HIDDEN> Cc: 70587 <at> debbugs.gnu.org Received: via spool by 70587-submit <at> debbugs.gnu.org id=B70587.171412556632175 (code B ref 70587); Fri, 26 Apr 2024 10:00:02 +0000 Received: (at 70587) by debbugs.gnu.org; 26 Apr 2024 09:59:26 +0000 Received: from localhost ([127.0.0.1]:33982 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1s0IMX-0008Mr-Lq for submit <at> debbugs.gnu.org; Fri, 26 Apr 2024 05:59:26 -0400 Received: from wfout6-smtp.messagingengine.com ([64.147.123.149]:44047) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <spwhitton@HIDDEN>) id 1s0IMV-0008M1-5b for 70587 <at> debbugs.gnu.org; Fri, 26 Apr 2024 05:59:24 -0400 Received: from compute7.internal (compute7.nyi.internal [10.202.2.48]) by mailfout.west.internal (Postfix) with ESMTP id 95FF41C000FD; Fri, 26 Apr 2024 05:58:58 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute7.internal (MEProxy); Fri, 26 Apr 2024 05:58:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=spwhitton.name; h=cc:cc:content-transfer-encoding:content-type:content-type :date:date:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:subject:subject:to:to; s=fm2; t=1714125538; x=1714211938; bh=oJnk1KXKsUkU0uRTl6TFdLSMzSPPmw7s pqE2c5ajrIk=; b=TH8BqvTB8rLpRuaGN98L1VCDa3qDOcqd7xAJ40doE7GBNk9m 7QFt4/FIm3BrEBkTeBTvcn6MR+4cYGJ5lmPUDTRfsYexOm6HZ6jxcbaPPyfjMVpv CeseOUpGInENT4a4KcrbIOI4+keCNgCN0yrFm5aCbIvvbufuDkShLXgu4Bhb/URz hpgor3Py/oF+FgYFv6PhX5RKl2z2qqP/8r92CqAJIbWVHUcyqoemwmObKoAtE+JH RafqcKBBj/8WGuZ+O/d6Pm3S0bSo7cMCS2GMu7TAdZf3akMiorhoNHyn7RSsJK6t E0j+f1h9BMLZY9W7uOk4hbgmQ6Zihs12jtnYpQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1714125538; x= 1714211938; bh=oJnk1KXKsUkU0uRTl6TFdLSMzSPPmw7spqE2c5ajrIk=; b=C mdfUFt1DJHB+F+lS4AQ7q+xWO5P0SGY60YccHO6sR/1ft9g+xH610hKXZ32EAkxA pP1dBqCDCDxthUcA/fagRmVP5r+ZTNnDmcfm0A6n48wkATDuHHxmwGMqfNcQL7AA YfHMQEmBSMEIxzrGmICS06SsqOEES75iWXsFjKZB9MTcknoYTZAA5YSMQ/xEeMZX hYTRd5wcH+nnHdFc1A+w16jHVzamlzYd2YLGEPLaOqEJlPamcPAuED8XRsvlqI10 3Ga8CBsgQpv+iEt0RQXXOy/xa5xNBSLEQ8p9HTEFVDxqqhowcgXRxFFBW4kRa+0W AUeK6X6AVilT+jvfy2ndQ== X-ME-Sender: <xms:4XorZp4koGVKQfrxBNYFthzABB3oY6kzQfr4XOk6bm49jW2-w2Tc5A> <xme:4XorZm6nszPLb5-zN7RExGSCXywHScm1II4N926RlNo9UiTmPmEBVKKJb93zTIDOv tQ9Dvx3QwjaY8VMKA> X-ME-Received: <xmr:4XorZgd2syAnQtb1f1JZuVs4X0eRUX8rrmiCD-1SBGcJPWvvzCu_OXcNerOrdwUiL2bH6tMr5LYa-krsLxZtsxDWb0O2WVj6SK4> X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrudelledgvdduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvfevufgjfhffkfgfgggtgfesth hqtddttderjeenucfhrhhomhepufgvrghnucghhhhithhtohhnuceoshhpfihhihhtthho nhesshhpfihhihhtthhonhdrnhgrmhgvqeenucggtffrrghtthgvrhhnpefffefhjeduge dutddukeejkeeuveevvdeigefhgeelteeuhfekgeekhfeljedvudenucevlhhushhtvghr ufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehsphifhhhithhtohhnsehsph ifhhhithhtohhnrdhnrghmvg X-ME-Proxy: <xmx:4XorZiL3yk3xUiB9RjKqybxWdhwVSnhKSBQydGvLDjP0UMHQqonXQQ> <xmx:4XorZtKJDwXjZtOHa13528rQdhk2I3P-oAkymWJ_SSqJ5T-du5023w> <xmx:4XorZrz27sd4-GFAgxfwZh6kbXPYEBdY2_wmZFHfD0TeQdB9kfLnxA> <xmx:4XorZpKHWcKurxFxoeipLTpYymiUyNjBVBCRnvRwHPjPfB5DCdwugg> <xmx:4norZkU_v2P-AGz77MfSODmJrKBa3V28ngiKxZm0ojtgTF4wkc-zkoxc> Feedback-ID: i23c04076:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 26 Apr 2024 05:58:57 -0400 (EDT) Received: by zephyr.silentflame.com (Postfix, from userid 1000) id 6F61E9413C6; Fri, 26 Apr 2024 10:58:56 +0100 (BST) From: Sean Whitton <spwhitton@HIDDEN> In-Reply-To: <87le506i07.n.fsf@HIDDEN> (Dan Jacobson's message of "Fri, 26 Apr 2024 09:16:08 +0800") References: <87le506i07.n.fsf@HIDDEN> Date: Fri, 26 Apr 2024 10:58:56 +0100 Message-ID: <87o79w5tsv.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) Hello, On Fri 26 Apr 2024 at 09:16am +08, Dan Jacobson wrote: > diff-default-read-only is a variable defined in =E2=80=98diff-mode.el=E2= =80=99. > Its value is nil > If non-nil, =E2=80=98diff-mode=E2=80=99 buffers default to being read-onl= y. > > 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. --=20 Sean Whitton
X-Loop: help-debbugs@HIDDEN Subject: bug#70587: More buffers that ought to be read-only Resent-From: Eli Zaretskii <eliz@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Fri, 26 Apr 2024 10:50:15 +0000 Resent-Message-ID: <handler.70587.B70587.17141285706661 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 70587 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Dan Jacobson <jidanni@HIDDEN> Cc: 70587 <at> debbugs.gnu.org Received: via spool by 70587-submit <at> debbugs.gnu.org id=B70587.17141285706661 (code B ref 70587); Fri, 26 Apr 2024 10:50:15 +0000 Received: (at 70587) by debbugs.gnu.org; 26 Apr 2024 10:49:30 +0000 Received: from localhost ([127.0.0.1]:34049 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1s0J8s-0001h4-Lo for submit <at> debbugs.gnu.org; Fri, 26 Apr 2024 06:49:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45204) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1s0J8m-0001a9-2L for 70587 <at> debbugs.gnu.org; Fri, 26 Apr 2024 06:49:18 -0400 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 <eliz@HIDDEN>) id 1s0J8O-0004Vf-1f; Fri, 26 Apr 2024 06:48:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=oL1PWv8s7A4tzBur8HRWH3xb9Ch+2daRJPiNA55+CIk=; b=NV8+F4X4q29qg8cboY3i QWCPOV8L6BmEDjpWLec+81oHgHAZNNCebNZE6nJxBAjyPBXprdMQI4tFhuG6L+YT5PMC0r3s8XAgp 3hY2o9RdymAQ2zR1qFQn/mSllbWFU02ybPxyqhMGR730zsdoYjReDtJdEJH5eHBKUuYeeC/Zv/HeL wxb/z/MseO10upXKlktiDFkUmVW6D1Gb6MnpxrExxc3SbC0IPCmsyEVYZnCk/+V0g3ghFzcx65mDp dCSlI7V/2UzN6SuMd9/Xg0UEzi2RqgAz546KcH/LXPHuioDxo+xzVt8Ap+8UJ9IZL8sTWU12V8LcR nx4STmKONjdtIg==; Date: Fri, 26 Apr 2024 13:48:49 +0300 Message-Id: <86jzkkz9f2.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> In-Reply-To: <87le506i07.n.fsf@HIDDEN> (message from Dan Jacobson on Fri, 26 Apr 2024 09:16:08 +0800) References: <87le506i07.n.fsf@HIDDEN> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Dan Jacobson <jidanni@HIDDEN> > Date: Fri, 26 Apr 2024 09:16:08 +0800 > > 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. I cannot reproduce this. E.g., visiting a file that turned on diff-mode doesn't make the buffer read-only. So please show a recipe, preferably starting from "emacs -Q", where a diff-mode buffer is read-only without changing this variable from its default value of nil. > 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.) A simple "C-x C-q" should set you up, in those cases. Emacs cannot possibly cater to each and every use case out there. Sometimes you need to do stuff manually, if your case is specialized to require that.
X-Loop: help-debbugs@HIDDEN Subject: bug#70587: More buffers that ought to be read-only Resent-From: Dan Jacobson <jidanni@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Fri, 26 Apr 2024 11:03:07 +0000 Resent-Message-ID: <handler.70587.B70587.171412937022254 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 70587 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii <eliz@HIDDEN> Cc: 70587 <at> debbugs.gnu.org Received: via spool by 70587-submit <at> debbugs.gnu.org id=B70587.171412937022254 (code B ref 70587); Fri, 26 Apr 2024 11:03:07 +0000 Received: (at 70587) by debbugs.gnu.org; 26 Apr 2024 11:02:50 +0000 Received: from localhost ([127.0.0.1]:34070 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1s0JLo-0005lx-Ti for submit <at> debbugs.gnu.org; Fri, 26 Apr 2024 07:02:48 -0400 Received: from dog.birch.relay.mailchannels.net ([23.83.209.48]:42813) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <jidanni@HIDDEN>) id 1s0JLi-0005kN-B4 for 70587 <at> debbugs.gnu.org; Fri, 26 Apr 2024 07:02:42 -0400 X-Sender-Id: dreamhost|x-authsender|jidanni@HIDDEN Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id F41C1C3014; Fri, 26 Apr 2024 11:02:08 +0000 (UTC) Received: from pdx1-sub0-mail-a248.dreamhost.com (unknown [127.0.0.6]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 88B4FC3093; Fri, 26 Apr 2024 11:02:08 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1714129328; a=rsa-sha256; cv=none; b=gtP+dWfSdgjKwIWBIJsxG6kg/2AFQgi0B8nuA595trilTB78A7pr4wIfYoEQTuV8DPnvzB JgOhdrQ/OQ9hmc6dXiphT8d7f+rgs2jFnvxwlXSkjnO7XhiR1YItSRBbrLWjHD0Js8ETl9 Epwl+lmsJuo6bIEew0EzZttOuwLc8lQ5ON/Faz+7MC+bm935L91s5H9Co56QFJyGJ20eeO jddLJAThxZHHeIrmhvWxcHbaefz0Ych5UiGM+Msn89w8V5PXJHXxotqv+XOmnV/WBpz+1i bwqszDrEV/TWGjY1OQqOaSdhkVj05MH8QSykayXg2K0lNvjKw+eFTAou5kddhg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1714129328; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references:dkim-signature; bh=0Y9aZYIZs1MfAtghR/E/SZ7VgKcj5C6EbgxAzweg40o=; b=5YGFthCuKrIgE24w6ym+bXVRd60Nrdct9dvu8xjEWu2XecFHUmRqXiJdNtJUbUu+i7bA7L Yg3dk5LJNZSmUM3uIrACqEKIn6opDVeKyS6no4kd+RUwmvpQlyrZTneaqbbBkZBZDgoH3W vgQyPvBw/P5tGlB0Z4AKJuSQHNTq1krDyXLeg/R/xkTCPJ4XnvsgNECYqpHN0gv6wfLxtj yXsswrJMKShhddyhyP/z0W3HFwIF8C64j9+IQ4eqQVjWkejAlusMU1Yao7J0aQJU92acxU JU9zSsuoFWWxjjxboP22ZyX0tdFqMwQwvsdNvdRcKKw7oq9qhEmN/IYTmzRwgQ== ARC-Authentication-Results: i=1; rspamd-67db6f49c6-kb5ch; auth=pass smtp.auth=dreamhost smtp.mailfrom=jidanni@HIDDEN X-Sender-Id: dreamhost|x-authsender|jidanni@HIDDEN X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jidanni@HIDDEN X-MailChannels-Auth-Id: dreamhost X-Well-Made-Absorbed: 78dd17817727eaa5_1714129328803_1856904556 X-MC-Loop-Signature: 1714129328803:1522263178 X-MC-Ingress-Time: 1714129328803 Received: from pdx1-sub0-mail-a248.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.121.246.60 (trex/6.9.2); Fri, 26 Apr 2024 11:02:08 +0000 Received: from jidanni.org (1-165-189-235.dynamic-ip.hinet.net [1.165.189.235]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: jidanni@HIDDEN) by pdx1-sub0-mail-a248.dreamhost.com (Postfix) with ESMTPSA id 4VQqYX2bnLz7M; Fri, 26 Apr 2024 04:02:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jidanni.org; s=dreamhost; t=1714129328; bh=0Y9aZYIZs1MfAtghR/E/SZ7VgKcj5C6EbgxAzweg40o=; h=Date:From:To:Cc:Subject:Content-Type; b=tiH/mhS10svfgcE1waHAlDcY3gEqYDEBtsSpHCJ8gbjYu+IWKfkccfy3hTLK5C6/0 H0xsp6BnPL9IAM3/kCWikG9s7vbQKZUCZ094vs6ya31/b749aGztxj1t5kahip27T/ 6EJ//7Zk9z597vgFsPTAcX5Byx2W6ue1tBNBYkDihKJSPX9olCbYabMDWvwflOUK+A 63ns/6KZr5sfUNQ0yUWGDpSftK8QkIbQhYZeFb6yZWNGJ9lgUPFhfd94+n67BhYJY7 C6C3a/HOSIibm140UdJej+7Nu5z7b0Ysxo6epGJSNa7C+Mkdkr1E4CHq7kUhgwEfXa f0iRUO8ElnFlw== Date: Fri, 26 Apr 2024 19:02:04 +0800 From: Dan Jacobson <jidanni@HIDDEN> Message-ID: <ZiuJrLiF5wMDQqTm@HIDDEN> References: <87le506i07.n.fsf@HIDDEN> <86jzkkz9f2.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <86jzkkz9f2.fsf@HIDDEN> X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) All I know is I use = runs the command dired-diff Also in the "rare case that one needs to use the washroom while driving the car," instead of driving around with the doors open all day long, and seat belts off..." it should be they who are forced to use C-x C-q to make those buffers read-write.
X-Loop: help-debbugs@HIDDEN Subject: bug#70587: More buffers that ought to be read-only Resent-From: Eli Zaretskii <eliz@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Fri, 26 Apr 2024 11:14:08 +0000 Resent-Message-ID: <handler.70587.B70587.171413004430505 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 70587 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Dan Jacobson <jidanni@HIDDEN> Cc: 70587 <at> debbugs.gnu.org Received: via spool by 70587-submit <at> debbugs.gnu.org id=B70587.171413004430505 (code B ref 70587); Fri, 26 Apr 2024 11:14:08 +0000 Received: (at 70587) by debbugs.gnu.org; 26 Apr 2024 11:14:04 +0000 Received: from localhost ([127.0.0.1]:34092 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1s0JWg-0007v2-Dx for submit <at> debbugs.gnu.org; Fri, 26 Apr 2024 07:14:02 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56128) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1s0JWZ-0007sU-1U for 70587 <at> debbugs.gnu.org; Fri, 26 Apr 2024 07:13:55 -0400 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 <eliz@HIDDEN>) id 1s0JWB-0003XC-9i; Fri, 26 Apr 2024 07:13:27 -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=bmtSpiar2nWMyyC0XS51qymMgeluMr2i+Oy6gjwuyp4=; b=DvvE4y8zT2Ur nrakbmG7H1+um4zu+ZlTvQBRqxSfe9+tVjaULwqMlnAqe1/LUCP9MuLHP0CnxhfKGPl9KcLG4CEwG MLDLJ3vXgtzcXfLVTIV6dv8het/RDij9ryc4yvmJJHa5bT+sWHPaOkeeD5t1uO7cFvCqYhpSFwtBP /MekwoiTE508HNo1V10EVL/ER0iNDdIV7Pr0P0wDS90nc+lg8Wa6OXxdl+yp55PNZRombQWbVixQ+ FURCBmkFfv6xxxnBUlm1ceJiYq9JxohwFcuYyMJJ+p654x30hKJ5rizv60C93GVgXsM9FC9perHo1 bs1Yl7ijdLiNoYxsWRSWRA==; Date: Fri, 26 Apr 2024 14:13:21 +0300 Message-Id: <86bk5wz8a6.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> In-Reply-To: <ZiuJrLiF5wMDQqTm@HIDDEN> (message from Dan Jacobson on Fri, 26 Apr 2024 19:02:04 +0800) References: <87le506i07.n.fsf@HIDDEN> <86jzkkz9f2.fsf@HIDDEN> <ZiuJrLiF5wMDQqTm@HIDDEN> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > Date: Fri, 26 Apr 2024 19:02:04 +0800 > From: Dan Jacobson <jidanni@HIDDEN> > Cc: 70587 <at> debbugs.gnu.org > > All I know is I use > = runs the command dired-diff In what mode, please? I asked for a complete reproduction recipe, so could you please provide such a recipe? > Also in the "rare case that one needs to use the washroom while driving the car," > instead of driving around with the doors open all day long, and seat belts off..." > it should be they who are forced to use C-x C-q to make those buffers read-write. Strawman.
X-Loop: help-debbugs@HIDDEN Subject: bug#70587: More buffers that ought to be read-only In-Reply-To: <87le506i07.n.fsf@HIDDEN> Resent-From: Dan Jacobson <jidanni@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Sat, 27 Apr 2024 07:26:02 +0000 Resent-Message-ID: <handler.70587.B70587.171420272113686 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 70587 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii <eliz@HIDDEN> Cc: 70587 <at> debbugs.gnu.org Received: via spool by 70587-submit <at> debbugs.gnu.org id=B70587.171420272113686 (code B ref 70587); Sat, 27 Apr 2024 07:26:02 +0000 Received: (at 70587) by debbugs.gnu.org; 27 Apr 2024 07:25:21 +0000 Received: from localhost ([127.0.0.1]:38830 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1s0cQy-0003Yd-QC for submit <at> debbugs.gnu.org; Sat, 27 Apr 2024 03:25:21 -0400 Received: from dog.elm.relay.mailchannels.net ([23.83.212.48]:30948) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <jidanni@HIDDEN>) id 1s0cQu-0003Xf-AU for 70587 <at> debbugs.gnu.org; Sat, 27 Apr 2024 03:25:18 -0400 X-Sender-Id: dreamhost|x-authsender|jidanni@HIDDEN Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 213BA102603; Sat, 27 Apr 2024 07:24:56 +0000 (UTC) Received: from pdx1-sub0-mail-a253.dreamhost.com (unknown [127.0.0.6]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id B2B96102599; Sat, 27 Apr 2024 07:24:55 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1714202695; a=rsa-sha256; cv=none; b=UTJYGhXLLd9V/XPDu7uAIIMZnbzg5S9OQ96KHAFJXbS5a030vE9G2qp8Y7opFoc9HKeoUp nEie29PcFqyHmEIxfOtf/mwqE6bcIgMwOyb3PWHqoNj7Y/Glxur+BLvhx25Qk2cJtNu61M CyRIj0QwsZFXwDUL/ulEpsqSdqVw+e5+kev8xb32yeuu7x+jREM4ZGMS4tkK6a570Ym6c+ 3PWAsQrb4jsBVc6dXuobY4rB7NC214iVZHC3+E+ojkdig9b082xFnuCr/8tOmYr0z0fnHj X/Lz8DuQtfstbz9Ck2uZpKeQsQAEcTwNmV6x+PTy0/WC6vjur37f8dZwT1XCBg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1714202695; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: references:references:dkim-signature; bh=Zi22cQYYEf40JLrx5HzmhaFaWVibiK3QFHRPP3STXDE=; b=abEmfhcPgBJ+XedmDB791eJOQlwtplOo/otJzbY7NTHq1GESpJcWGe9RiFzxKS3iE2s8PF JoT7M300p0EUNIa/mA1KirNxLsOa3L0+HxfpjtxwAO/hQ+6/K3H5vME/C0U2TmAs3ljgLh ekrNJ63M5ECDDf7jk7FKy7KwUymoyu7YMYTEECj0MTJotkWCD76ld6bOBFAuPb/ce0hKII u8wWqduQ4PSuneq0CVmTgWs8ECKfavdeZD1NOjgbz9GCQlUbFQAeWH2PHpXyE7571pwR0D SltS0zk9zQYVRCoApj8UJlSjwgnWdlU2dMgSo0BEMQCKZwlBWV1Exb+Dyp076w== ARC-Authentication-Results: i=1; rspamd-5c97bbd7c5-64vfz; auth=pass smtp.auth=dreamhost smtp.mailfrom=jidanni@HIDDEN X-Sender-Id: dreamhost|x-authsender|jidanni@HIDDEN X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jidanni@HIDDEN X-MailChannels-Auth-Id: dreamhost X-Left-Descriptive: 51deda0b1e8580cc_1714202695954_495766058 X-MC-Loop-Signature: 1714202695954:2531206648 X-MC-Ingress-Time: 1714202695953 Received: from pdx1-sub0-mail-a253.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.106.71.32 (trex/6.9.2); Sat, 27 Apr 2024 07:24:55 +0000 Received: from jidanni.org (1-165-223-211.dynamic-ip.hinet.net [1.165.223.211]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: jidanni@HIDDEN) by pdx1-sub0-mail-a253.dreamhost.com (Postfix) with ESMTPSA id 4VRLhR1lllz74; Sat, 27 Apr 2024 00:24:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jidanni.org; s=dreamhost; t=1714202695; bh=Zi22cQYYEf40JLrx5HzmhaFaWVibiK3QFHRPP3STXDE=; h=From:To:Cc:Subject:Date:Content-Type; b=uPmPU9lK6+6XZHB8KsWlwJbyx0gU61XEoHEDGVyJ7rJreeVI4qGXMglqWUvRYhfNw g3jduv99fjvDVDFjyc1MCGuX1gssuYTz/R6QmBAZW9h5aNc/YSr3cgxRCYZhYFJpMs b53NF3YxstLYFNFIMkkJnRv8n1t5OcwSH2oKt7uC7t9YeAGLyM/sjUA+x7L5rtEAsS PEknoUhixJ5v0003/+isjDOAKV3yoD2UotaIhq1J+KteU7pSefXkiEP9anapZVKIrs vqyPFfIH+rOyJxKZpD4Uy4+aLQDymRHXKh9r+IgA+fhOR9EffoUgY2QWcK6Aac7xPR sD3vRf2Yvxavg== From: Dan Jacobson <jidanni@HIDDEN> References: <87le506i07.n.fsf@HIDDEN> <86jzkkz9f2.fsf@HIDDEN> <ZiuJrLiF5wMDQqTm@HIDDEN> <86bk5wz8a6.fsf@HIDDEN> Date: Sat, 27 Apr 2024 15:24:52 +0800 Message-ID: <8734r7b73v.5.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) EZ> I asked for a complete reproduction recipe, so could you please EZ> provide such a recipe? $ emacs -Q /etc then on e.g., adduser.conf.update-old, press "=", and enter the second name. Redo shows I did (dired-diff "/etc/adduser.conf" nil) Also *Shell Command Output* should be in View mode. Otherwise every time we expect to scroll it, the strangest thing happens. We end up inserting a space (' ') into the beginning of the first line. And, a half an hour later, having forgot that mishap, end up sticking a "q" in it when it's time to leave. q as in quicksand, which is what the buffer feels like.
X-Loop: help-debbugs@HIDDEN Subject: bug#70587: More buffers that ought to be read-only Resent-From: Eli Zaretskii <eliz@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Sat, 27 Apr 2024 07:59:03 +0000 Resent-Message-ID: <handler.70587.B70587.17142046874946 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 70587 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Dan Jacobson <jidanni@HIDDEN>, Stefan Monnier <monnier@HIDDEN> Cc: 70587 <at> debbugs.gnu.org Received: via spool by 70587-submit <at> debbugs.gnu.org id=B70587.17142046874946 (code B ref 70587); Sat, 27 Apr 2024 07:59:03 +0000 Received: (at 70587) by debbugs.gnu.org; 27 Apr 2024 07:58:07 +0000 Received: from localhost ([127.0.0.1]:38849 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1s0cwg-0001Hd-V8 for submit <at> debbugs.gnu.org; Sat, 27 Apr 2024 03:58:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34376) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1s0cwc-0001Fi-6g for 70587 <at> debbugs.gnu.org; Sat, 27 Apr 2024 03:58:04 -0400 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 <eliz@HIDDEN>) id 1s0cwD-00047R-5D; Sat, 27 Apr 2024 03:57:37 -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=g5SFr5n8kAQQVjrGqqULpkLf0OOGP5Wg0OUS0/aJ6qs=; b=Iv8RoFDoaYvv TXd2RFlCIi+bFPYbqHOPojTl9DNnqn6NxZN4FRoMAPVxqs2Quht+QWxUj6nxKYLxcH0oVcyQh6vjX 7Kow+GqNHU1LW0fhgXyAWOPPlQiXk+FUcCZZ2AEbrlQukeik0xsAkHyfnHL4YURRvQFpPATMPeYjW VzeOjMhav1lVyA3T9E2XNVtfR0iM57yOE8Txqgcfj+Z8n8DrC8d6dHSqFt6ccVw/ZkKAeNW9/CXAw Vnewr162SWuEwfsS18V3Y8EOhQub0McHbwjNlfE0fxaDZeytDMZWQHR8KLIaH5l62bLrNbmfJj6JM HW1h8ZyVOUt1PKac1EFyYg==; Date: Sat, 27 Apr 2024 10:57:34 +0300 Message-Id: <86zftfw841.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> In-Reply-To: <8734r7b73v.5.fsf@HIDDEN> (message from Dan Jacobson on Sat, 27 Apr 2024 15:24:52 +0800) References: <87le506i07.n.fsf@HIDDEN> <86jzkkz9f2.fsf@HIDDEN> <ZiuJrLiF5wMDQqTm@HIDDEN> <86bk5wz8a6.fsf@HIDDEN> <8734r7b73v.5.fsf@HIDDEN> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Dan Jacobson <jidanni@HIDDEN> > Cc: 70587 <at> debbugs.gnu.org > Date: Sat, 27 Apr 2024 15:24:52 +0800 > > EZ> I asked for a complete reproduction recipe, so could you please > EZ> provide such a recipe? > > $ emacs -Q /etc > then on e.g., adduser.conf.update-old, press "=", and enter the second > name. Redo shows I did > (dired-diff "/etc/adduser.conf" nil) Thanks. This is because the command 'diff' unconditionally puts the buffer into read-only mode. Stefan, this seems to be due to your changes in b2e4481906ec: you added '(setq buffer-read-only t)' which was not there before (in fact, the code before those changes did the opposite: --- a/lisp/vc/diff.el +++ b/lisp/vc/diff.el @@ -131,37 +147,32 @@ - (thisdir default-directory) - proc) - (save-excursion - (display-buffer buf) - (set-buffer buf) - (setq buffer-read-only nil) + (with-current-buffer buf + (setq buffer-read-only t) So I suggest to remove the setting of buffer-read-only there' diff-mode will do TRT according to diff-default-read-only. > Also *Shell Command Output* should be in View mode. > Otherwise every time we expect to scroll it, > the strangest thing happens. We end up inserting a > space (' ') into the beginning of the first line. > And, a half an hour later, having forgot that mishap, > end up sticking a "q" in it when it's time to leave. > q as in quicksand, which is what the buffer feels like. That's a separate issue, and I don't agree that *Shell Command Output* should be in View mode by default. The space will only be inserted if you mistakenly think the buffer is in View mode, and likewise with 'q'.
X-Loop: help-debbugs@HIDDEN Subject: bug#70587: More buffers that ought to be read-only Resent-From: Stefan Monnier <monnier@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Sun, 28 Apr 2024 03:03:02 +0000 Resent-Message-ID: <handler.70587.B70587.171427336429160 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 70587 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii <eliz@HIDDEN> Cc: 70587 <at> debbugs.gnu.org, Dan Jacobson <jidanni@HIDDEN> Received: via spool by 70587-submit <at> debbugs.gnu.org id=B70587.171427336429160 (code B ref 70587); Sun, 28 Apr 2024 03:03:02 +0000 Received: (at 70587) by debbugs.gnu.org; 28 Apr 2024 03:02:44 +0000 Received: from localhost ([127.0.0.1]:49931 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1s0uoN-0007aG-Rz for submit <at> debbugs.gnu.org; Sat, 27 Apr 2024 23:02:44 -0400 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:27789) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <monnier@HIDDEN>) id 1s0uoM-0007a0-Ld for 70587 <at> debbugs.gnu.org; Sat, 27 Apr 2024 23:02:42 -0400 Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 1A6FA80962; Sat, 27 Apr 2024 23:02:18 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1714273337; bh=KX54vIKQcxNQMmnJRghdh/UsJAO7eq8t3Ngm4SfcWkI=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=FA98Q/8ewrqHMqpubFTdbnMwO7ZTz/BX4DXaBhaXUOQH7VKTV/cZEAiEB2126y0yi m4fXcVS3ei8eMYoCkbWkN7ZUcy7NrjpcQ8tj6EPPpG5X6Qs7A0X9jBdltgjxfn8ZMB Lwg/WJYq5LTU5hjkcQf4DutK+SwoI7eud2KSX5T5xnKtnVRbJV7pZKg+Yn5sNI8fsX JRy34Xj3RWk7Xe3iPXdApgyB1iuJB5g8KkRS3eQR1tbDflQUsMq+e7TwK6IrQNx/xr RIXKao4FX4EnqINB+LaAnSAaYYpPhgbnMT95TCW8VOjk0li6P5tdBV1Az6l+hxd+6Q 61C1E48CntZvw== Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 111A88001C; Sat, 27 Apr 2024 23:02:17 -0400 (EDT) Received: from pastel (unknown [45.72.201.215]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id D844012030C; Sat, 27 Apr 2024 23:02:16 -0400 (EDT) From: Stefan Monnier <monnier@HIDDEN> In-Reply-To: <86zftfw841.fsf@HIDDEN> (Eli Zaretskii's message of "Sat, 27 Apr 2024 10:57:34 +0300") Message-ID: <jwvpluajiyh.fsf-monnier+emacs@HIDDEN> References: <87le506i07.n.fsf@HIDDEN> <86jzkkz9f2.fsf@HIDDEN> <ZiuJrLiF5wMDQqTm@HIDDEN> <86bk5wz8a6.fsf@HIDDEN> <8734r7b73v.5.fsf@HIDDEN> <86zftfw841.fsf@HIDDEN> Date: Sat, 27 Apr 2024 23:02:16 -0400 User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-SPAM-INFO: Spam detection results: 0 ALL_TRUSTED -1 Passed through trusted hosts only via SMTP AWL -0.053 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain DKIM_VALID_EF -0.1 Message has a valid DKIM or DK signature from envelope-from domain X-SPAM-LEVEL: X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > Stefan, this seems to be due to your changes in b2e4481906ec: you > added '(setq buffer-read-only t)' which was not there before (in fact, > the code before those changes did the opposite: > > --- a/lisp/vc/diff.el > +++ b/lisp/vc/diff.el > @@ -131,37 +147,32 @@ > - (thisdir default-directory) > - proc) > - (save-excursion > - (display-buffer buf) > - (set-buffer buf) > - (setq buffer-read-only nil) > + (with-current-buffer buf > + (setq buffer-read-only t) > > So I suggest to remove the setting of buffer-read-only there' > diff-mode will do TRT according to diff-default-read-only. There is no right or wrong answer here. The current design reflects the behavior I think makes more sense, but that's largely just my personal preference. The above patch was no mistake. But if we install the above patch, then *vc-diff* will suddenly not be read-only any more, so we should arguably change `diff-default-read-only` at the same time, which will in turn cause another behavior change when people open a `.diff` file. Stefan
X-Loop: help-debbugs@HIDDEN Subject: bug#70587: More buffers that ought to be read-only Resent-From: Stefan Monnier <monnier@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Sun, 28 Apr 2024 04:27:02 +0000 Resent-Message-ID: <handler.70587.B70587.171427839632515 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 70587 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii <eliz@HIDDEN> Cc: 70587 <at> debbugs.gnu.org, Dan Jacobson <jidanni@HIDDEN> Received: via spool by 70587-submit <at> debbugs.gnu.org id=B70587.171427839632515 (code B ref 70587); Sun, 28 Apr 2024 04:27:02 +0000 Received: (at 70587) by debbugs.gnu.org; 28 Apr 2024 04:26:36 +0000 Received: from localhost ([127.0.0.1]:49954 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1s0w7X-0008SN-Qd for submit <at> debbugs.gnu.org; Sun, 28 Apr 2024 00:26:36 -0400 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:18861) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <monnier@HIDDEN>) id 1s0w7W-0008SH-IS for 70587 <at> debbugs.gnu.org; Sun, 28 Apr 2024 00:26:34 -0400 Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 3F73A10005D; Sun, 28 Apr 2024 00:26:09 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1714278367; bh=8MXIM4lIeVeJQyf0H74uiZ2C1FptqQOCiCNjE2wmkLg=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=ikI7v/afU4asEjoFNHoZOgWEeBjhDvThde/3l1eIx1vLupFgvLPAHIjw65v5Cgam/ 7cBUsmcbIB8svJGAKr1JW8OSH9CW672pe/12RPtQkMz3xrLx2R2jBxIhlrUw8NaXEK gjy37ryxT74+KojZ2Pk/WkzHAEZGO8v7+Q2xJ9sPdA0yEYN8E72OPzoPrLohtiKN89 CPC2BQbk/XICO5JbnkWKtRMDi+M6Q+6ZdXiPVGWD0Gcr2xXd+WsVFdQwGnE8x3w55V zpYaLP3Em0zyefQep1qfdV7/iGPXgqTbukyApwahgWjLAf25Bq8rQqRqxsXEt7n/bQ 8kItonun4moPQ== Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 5CF4410002E; Sun, 28 Apr 2024 00:26:07 -0400 (EDT) Received: from pastel (unknown [45.72.201.215]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 32374120635; Sun, 28 Apr 2024 00:26:07 -0400 (EDT) From: Stefan Monnier <monnier@HIDDEN> In-Reply-To: <jwvpluajiyh.fsf-monnier+emacs@HIDDEN> (Stefan Monnier's message of "Sat, 27 Apr 2024 23:02:16 -0400") Message-ID: <jwvjzkijeps.fsf-monnier+emacs@HIDDEN> References: <87le506i07.n.fsf@HIDDEN> <86jzkkz9f2.fsf@HIDDEN> <ZiuJrLiF5wMDQqTm@HIDDEN> <86bk5wz8a6.fsf@HIDDEN> <8734r7b73v.5.fsf@HIDDEN> <86zftfw841.fsf@HIDDEN> <jwvpluajiyh.fsf-monnier+emacs@HIDDEN> Date: Sun, 28 Apr 2024 00:26:05 -0400 User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-SPAM-INFO: Spam detection results: 0 ALL_TRUSTED -1 Passed through trusted hosts only via SMTP AWL 0.039 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain DKIM_VALID_EF -0.1 Message has a valid DKIM or DK signature from envelope-from domain X-SPAM-LEVEL: X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > There is no right or wrong answer here. The current design reflects the > behavior I think makes more sense, but that's largely just my > personal preference. The above patch was no mistake. > > But if we install the above patch, then *vc-diff* will suddenly not be ^^^^^^^ revert - Stefan
X-Loop: help-debbugs@HIDDEN Subject: bug#70587: More buffers that ought to be read-only Resent-From: Eli Zaretskii <eliz@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Sun, 28 Apr 2024 05:15:01 +0000 Resent-Message-ID: <handler.70587.B70587.17142812602553 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 70587 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Monnier <monnier@HIDDEN> Cc: 70587 <at> debbugs.gnu.org, jidanni@HIDDEN Received: via spool by 70587-submit <at> debbugs.gnu.org id=B70587.17142812602553 (code B ref 70587); Sun, 28 Apr 2024 05:15:01 +0000 Received: (at 70587) by debbugs.gnu.org; 28 Apr 2024 05:14:20 +0000 Received: from localhost ([127.0.0.1]:49982 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1s0wrj-0000f7-N1 for submit <at> debbugs.gnu.org; Sun, 28 Apr 2024 01:14:20 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35266) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1s0wrh-0000f1-4R for 70587 <at> debbugs.gnu.org; Sun, 28 Apr 2024 01:14:18 -0400 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 <eliz@HIDDEN>) id 1s0wrH-0004LH-T4; Sun, 28 Apr 2024 01:13:51 -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=FwtjUuluOoovoRfFVn6UWQMhiLd6vIpgd/6D78IG5tI=; b=B6+KyYIVTfar JRHDYbGXMwFFohnDatWt2Cu+vhR31vqTdXCHygNCDgVs2u05orIUAqBKqHDGp3Ci1xYZyLkCBZWV4 yErtPj/Kxw42e/kkz6Ief6KpweloLUMi/4MVP5q2C8+JBnRWoYICr3f4wPYuzqaD5mvfuXC3UuNVE Sgz4XXUUWbK6hgM7I30lBAnOsfZJ1cZz/lZ0SaV08RK5MuzMFf5aj06NE3UjU/buHPuZ11giv7NOn ZHSIuKjU0zAIkR4rnLnf2W2JgnwWeB5SdK0DEFrcTKWwGIh2rdTD8wsSS2UiDfwRUC7g1PQsVz4R9 pXU7nArR8rqAmsa5uuk/DA==; Date: Sun, 28 Apr 2024 08:13:48 +0300 Message-Id: <86bk5uul0z.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> In-Reply-To: <jwvpluajiyh.fsf-monnier+emacs@HIDDEN> (message from Stefan Monnier on Sat, 27 Apr 2024 23:02:16 -0400) References: <87le506i07.n.fsf@HIDDEN> <86jzkkz9f2.fsf@HIDDEN> <ZiuJrLiF5wMDQqTm@HIDDEN> <86bk5wz8a6.fsf@HIDDEN> <8734r7b73v.5.fsf@HIDDEN> <86zftfw841.fsf@HIDDEN> <jwvpluajiyh.fsf-monnier+emacs@HIDDEN> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Stefan Monnier <monnier@HIDDEN> > Cc: Dan Jacobson <jidanni@HIDDEN>, 70587 <at> debbugs.gnu.org > Date: Sat, 27 Apr 2024 23:02:16 -0400 > > > Stefan, this seems to be due to your changes in b2e4481906ec: you > > added '(setq buffer-read-only t)' which was not there before (in fact, > > the code before those changes did the opposite: > > > > --- a/lisp/vc/diff.el > > +++ b/lisp/vc/diff.el > > @@ -131,37 +147,32 @@ > > - (thisdir default-directory) > > - proc) > > - (save-excursion > > - (display-buffer buf) > > - (set-buffer buf) > > - (setq buffer-read-only nil) > > + (with-current-buffer buf > > + (setq buffer-read-only t) > > > > So I suggest to remove the setting of buffer-read-only there' > > diff-mode will do TRT according to diff-default-read-only. > > There is no right or wrong answer here. The current design reflects the > behavior I think makes more sense, but that's largely just my > personal preference. The above patch was no mistake. If your personal preference is that diff-mode buffers should be read-only, then you (and those who agree with you) should customize diff-default-read-only to a non-nil value. What we have now is a mess: some cases which invoke diff-mode behave according to diff-default-read-only, while others behave differently unconditionally. However, if by "no mistake" you mean something else, please elaborate why it was no mistake. > But if we install the above patch, then *vc-diff* will suddenly not be > read-only any more, so we should arguably change > `diff-default-read-only` at the same time, which will in turn cause > another behavior change when people open a `.diff` file. Why should *vc-diff* be read-only regardless of diff-default-read-only? And why visiting a .diff file is different in this regard?
X-Loop: help-debbugs@HIDDEN Subject: bug#70587: More buffers that ought to be read-only Resent-From: Dan Jacobson <jidanni@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Sun, 28 Apr 2024 09:05:01 +0000 Resent-Message-ID: <handler.70587.B70587.171429509713564 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 70587 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii <eliz@HIDDEN> Cc: 70587 <at> debbugs.gnu.org, Stefan Monnier <monnier@HIDDEN> Received: via spool by 70587-submit <at> debbugs.gnu.org id=B70587.171429509713564 (code B ref 70587); Sun, 28 Apr 2024 09:05:01 +0000 Received: (at 70587) by debbugs.gnu.org; 28 Apr 2024 09:04:57 +0000 Received: from localhost ([127.0.0.1]:50107 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1s10Sv-0003Wh-FB for submit <at> debbugs.gnu.org; Sun, 28 Apr 2024 05:04:57 -0400 Received: from crocodile.elm.relay.mailchannels.net ([23.83.212.45]:16537) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <jidanni@HIDDEN>) id 1s10St-0003Wa-Pj for 70587 <at> debbugs.gnu.org; Sun, 28 Apr 2024 05:04:56 -0400 X-Sender-Id: dreamhost|x-authsender|jidanni@HIDDEN Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 1CF88901DEC; Sun, 28 Apr 2024 09:04:35 +0000 (UTC) Received: from pdx1-sub0-mail-a268.dreamhost.com (unknown [127.0.0.6]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 81ACF90212B; Sun, 28 Apr 2024 09:04:34 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1714295074; a=rsa-sha256; cv=none; b=ydHmGLchLlx9mLgm9TYZsd16a+bqyqPLqg49P+H/Pm+/XS6DrcNESNSenpQJRwtLi7HRoI 8xgVMRRZDi0vJiAnhtg5x68xkJyskzUtF4kJlz2bjQVm8NyrPG/f0Z3VFRRyInTSfomq92 Sw/ax79jMYgZdC0+jFiQAm8W6MG+85gPdfCx0kljt8mT/2Y4u3gLWdHWxhm3rJXb/AeLtK v1VRBzb8g1x2PHO7ZjGrKNdtDZuaNQfI7TVp0zrGP3aXlwd7l6lqjDw7cLq9NlsV8eoPRE YbvHZIrTWi7Ky5OA7XxY4ZfWeRYNJOr07s8OfuhRcAelL3GQmNRUJDsGdP3P6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1714295074; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references:dkim-signature; bh=8rN187AOAXrgSNNweokAXHSffWswqBXTbBihE0C3gJ8=; b=tBc5zFvanI8rFSQ9OseBKPpwzDeZ/GAIqzxOQ6AJ7w+kA/mOOU+AzIxLzc8dGkC02U6wRK fbwpSnTyjPoSuEQCYqeZ66BZF9SR2AVXpxiV/np3Ld5z4oByztFWKyVcCpGCmPke+94VFm +ysmcLOxk2egTJjXqSqcgh9j4xS0WyhRWPP8NmIE9E4YXmePzeDZJXM3p19mfeoLi9pxAe N29ZbnK4HQSRw1oYuaUxlN/ltYcgZlwaLe+W0/ze6BBB5WuM0L/OeBqoqjWdponov7k5LC NiU4HPDHsAS/82virad+kl/HbIQnsb3eMcS9GVjXtiWVlCXMpM7RmuS3HXzDHA== ARC-Authentication-Results: i=1; rspamd-67db6f49c6-m7t9r; auth=pass smtp.auth=dreamhost smtp.mailfrom=jidanni@HIDDEN X-Sender-Id: dreamhost|x-authsender|jidanni@HIDDEN X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jidanni@HIDDEN X-MailChannels-Auth-Id: dreamhost X-Callous-Whimsical: 5c93658b3d945490_1714295074760_2896026423 X-MC-Loop-Signature: 1714295074759:581868452 X-MC-Ingress-Time: 1714295074759 Received: from pdx1-sub0-mail-a268.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.118.14.240 (trex/6.9.2); Sun, 28 Apr 2024 09:04:34 +0000 Received: from jidanni.org (1-165-166-81.dynamic-ip.hinet.net [1.165.166.81]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: jidanni@HIDDEN) by pdx1-sub0-mail-a268.dreamhost.com (Postfix) with ESMTPSA id 4VS0ry2jSBz8H; Sun, 28 Apr 2024 02:04:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jidanni.org; s=dreamhost; t=1714295074; bh=8rN187AOAXrgSNNweokAXHSffWswqBXTbBihE0C3gJ8=; h=Date:From:To:Cc:Subject:Content-Type; b=JIevzSSfg69x2IaN5xZEWWyGAASafqugxPCGz1/MnI068Yx7fckZsxXtDuo3B9eTa pCPm2EXmGToptK0gjmJ0aFCSvUWMty9fkZizwCxaMUx9+rJWMTkLBPaHDkczDDvoOk 45dS9+P+sY/fCV8i5OVooGaIHK6XP3FGaozc30mjRlKlLVBzaP34OOU+zIowp6Hp03 1hYbQkVlg4pYkrO8Qjx/blVwtU/Bakf51rhAcMxJL+oKvj1jLNfWdeb3X5slmdP4/F fif72wapwPjmlCs8ue06cdxNMeMUj2ORpj/GOoV7iqa9UPijYowfpc4oiN37j92B+l mPHmkRnC9edwg== Date: Sun, 28 Apr 2024 17:04:29 +0800 From: Dan Jacobson <jidanni@HIDDEN> Message-ID: <Zi4RHUPpEwZs_vdn@HIDDEN> References: <87le506i07.n.fsf@HIDDEN> <86jzkkz9f2.fsf@HIDDEN> <ZiuJrLiF5wMDQqTm@HIDDEN> <86bk5wz8a6.fsf@HIDDEN> <8734r7b73v.5.fsf@HIDDEN> <86zftfw841.fsf@HIDDEN> <jwvpluajiyh.fsf-monnier+emacs@HIDDEN> <86bk5uul0z.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <86bk5uul0z.fsf@HIDDEN> X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) I got an idea: how about a pair of variables "buffers-that-should-be-read-only-regexp", "buffers-that-should-not-be-read-only-regexp", which would be shipped with reasonable defaults... And then the user can tweak them to their own tastes.
X-Loop: help-debbugs@HIDDEN Subject: bug#70587: More buffers that ought to be read-only Resent-From: Stefan Monnier <monnier@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Sun, 28 Apr 2024 14:58:01 +0000 Resent-Message-ID: <handler.70587.B70587.171431627720956 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 70587 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii <eliz@HIDDEN> Cc: 70587 <at> debbugs.gnu.org, jidanni@HIDDEN Received: via spool by 70587-submit <at> debbugs.gnu.org id=B70587.171431627720956 (code B ref 70587); Sun, 28 Apr 2024 14:58:01 +0000 Received: (at 70587) by debbugs.gnu.org; 28 Apr 2024 14:57:57 +0000 Received: from localhost ([127.0.0.1]:50630 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1s15yX-0005Rw-Bd for submit <at> debbugs.gnu.org; Sun, 28 Apr 2024 10:57:57 -0400 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:34808) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <monnier@HIDDEN>) id 1s15yV-0005Ro-Cs for 70587 <at> debbugs.gnu.org; Sun, 28 Apr 2024 10:57:56 -0400 Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 2B6C710005D; Sun, 28 Apr 2024 10:57:30 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1714316249; bh=2FMmQzLJ05p31AZCvQbjUiH8FBnXZbmzlEH54KqsdzE=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=AsRIpRs9NLmKrKjnt0ra3+Ig8a7nbqqqSu5PFdOHTn5dhJXpZvocmNRHxCB+QxH4o GWKTZTKdPhdIRe2GFTGH/+tlpTvG7cbijUt9qWMrc+B7ChoFNaLScD7IRmnozVrKVV KxEUWRgKc/ToM1hB3+hmLHBLpGpFuaEZ29DS8RjfbHstKX2t0O6N7Pno12NccbniU3 V/HsS6jcY/Pv/sI0BW/XZWxmnn8tTMdVEcjDMiOWxLJspGxsq2bvdqnjoVfNG41dmY 3kZF2unO/0uh3dgdyG/DdJDTj7hCC5nphd21tUGJkumpEIZJ9vG3D8cbkHdGVCeLzX D8b5jRFsxE8cA== Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 2FDF2100035; Sun, 28 Apr 2024 10:57:29 -0400 (EDT) Received: from pastel (unknown [45.72.201.215]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 067031204C0; Sun, 28 Apr 2024 10:57:29 -0400 (EDT) From: Stefan Monnier <monnier@HIDDEN> In-Reply-To: <86bk5uul0z.fsf@HIDDEN> (Eli Zaretskii's message of "Sun, 28 Apr 2024 08:13:48 +0300") Message-ID: <jwvedapk03z.fsf-monnier+emacs@HIDDEN> References: <87le506i07.n.fsf@HIDDEN> <86jzkkz9f2.fsf@HIDDEN> <ZiuJrLiF5wMDQqTm@HIDDEN> <86bk5wz8a6.fsf@HIDDEN> <8734r7b73v.5.fsf@HIDDEN> <86zftfw841.fsf@HIDDEN> <jwvpluajiyh.fsf-monnier+emacs@HIDDEN> <86bk5uul0z.fsf@HIDDEN> Date: Sun, 28 Apr 2024 10:57:26 -0400 User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-SPAM-INFO: Spam detection results: 0 ALL_TRUSTED -1 Passed through trusted hosts only via SMTP AWL 0.039 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain DKIM_VALID_EF -0.1 Message has a valid DKIM or DK signature from envelope-from domain X-SPAM-LEVEL: X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > Why should *vc-diff* be read-only regardless of > diff-default-read-only? And why visiting a .diff file is different in > this regard? I've been wondering the same and I don't have a good answer. In practice, I edit diffs much more often when they're in a file than when they're in *vc-diff*, but it's far from clear to me why that is the case. Stefan
X-Loop: help-debbugs@HIDDEN Subject: bug#70587: More buffers that ought to be read-only Resent-From: Eli Zaretskii <eliz@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Sun, 28 Apr 2024 15:19:02 +0000 Resent-Message-ID: <handler.70587.B70587.171431752632657 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 70587 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Monnier <monnier@HIDDEN> Cc: 70587 <at> debbugs.gnu.org, jidanni@HIDDEN Received: via spool by 70587-submit <at> debbugs.gnu.org id=B70587.171431752632657 (code B ref 70587); Sun, 28 Apr 2024 15:19:02 +0000 Received: (at 70587) by debbugs.gnu.org; 28 Apr 2024 15:18:46 +0000 Received: from localhost ([127.0.0.1]:50723 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1s16Ig-0008Ue-18 for submit <at> debbugs.gnu.org; Sun, 28 Apr 2024 11:18:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47660) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1s16Ie-0008UR-B9 for 70587 <at> debbugs.gnu.org; Sun, 28 Apr 2024 11:18:45 -0400 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 <eliz@HIDDEN>) id 1s16IE-0007Cw-OR; Sun, 28 Apr 2024 11:18:18 -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=rG0OX4FTFgLk0P3vX/FPZpdGv6y+a2b5L58atNaWVwI=; b=PwMROea2h9pG jVAEf0XHSKWMnQ1XTcYRCiz7cBhs3B3wcw7B6G90pxVVYZzNgyrhZ26Ivc2HyEGOM4Y6rGVO8sr6Z EjZRQp0ALQc2OzEOAn5exGF+mka9Eu9AisISCiQ94xMj8d+G7C0qgCwudK/5jQ5o4n0EDko1syBYY cOrmvoDT8Eg6lIzl2kNSIZ4SzDlYZV9g8UO4pn5+l1vW5hkBpcGZT8uMO9xrkJPZ4LeexgGveCAh7 oamIXUe0ZoSkhOj6J77RkS1wEy2HdUWnFLoOACimIq34emqwUL+zVSgJb+6k0FRkcjCdn8ipr60VP cSRJlPl0vOPSwNXV3QA9mw==; Date: Sun, 28 Apr 2024 18:18:15 +0300 Message-Id: <864jbltt1k.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> In-Reply-To: <jwvedapk03z.fsf-monnier+emacs@HIDDEN> (message from Stefan Monnier on Sun, 28 Apr 2024 10:57:26 -0400) References: <87le506i07.n.fsf@HIDDEN> <86jzkkz9f2.fsf@HIDDEN> <ZiuJrLiF5wMDQqTm@HIDDEN> <86bk5wz8a6.fsf@HIDDEN> <8734r7b73v.5.fsf@HIDDEN> <86zftfw841.fsf@HIDDEN> <jwvpluajiyh.fsf-monnier+emacs@HIDDEN> <86bk5uul0z.fsf@HIDDEN> <jwvedapk03z.fsf-monnier+emacs@HIDDEN> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Stefan Monnier <monnier@HIDDEN> > Cc: jidanni@HIDDEN, 70587 <at> debbugs.gnu.org > Date: Sun, 28 Apr 2024 10:57:26 -0400 > > > Why should *vc-diff* be read-only regardless of > > diff-default-read-only? And why visiting a .diff file is different in > > this regard? > > I've been wondering the same and I don't have a good answer. > In practice, I edit diffs much more often when they're in a file than when > they're in *vc-diff*, but it's far from clear to me why that is the case. Does it mean you will not be terribly mad if I remove the read-only setting from "M-x diff", and let it behave as every other client of diff-mode?
X-Loop: help-debbugs@HIDDEN Subject: bug#70587: More buffers that ought to be read-only Resent-From: Stefan Monnier <monnier@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Sun, 28 Apr 2024 15:31:01 +0000 Resent-Message-ID: <handler.70587.B70587.1714318256837 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 70587 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii <eliz@HIDDEN> Cc: 70587 <at> debbugs.gnu.org, jidanni@HIDDEN Received: via spool by 70587-submit <at> debbugs.gnu.org id=B70587.1714318256837 (code B ref 70587); Sun, 28 Apr 2024 15:31:01 +0000 Received: (at 70587) by debbugs.gnu.org; 28 Apr 2024 15:30:56 +0000 Received: from localhost ([127.0.0.1]:50802 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1s16US-0000DR-3Y for submit <at> debbugs.gnu.org; Sun, 28 Apr 2024 11:30:56 -0400 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:33101) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <monnier@HIDDEN>) id 1s16UP-0000DL-NN for 70587 <at> debbugs.gnu.org; Sun, 28 Apr 2024 11:30:54 -0400 Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 739118079A; Sun, 28 Apr 2024 11:30:28 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1714318227; bh=pLoq35JmxpbAngNzHxKGqLOxkyiBsZkqEAck2vNpYG4=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=NT0XMp4FnVzitXLN/ubLW55c4FVJXatdgd3PLCXwdSxflHUIZvZN5+s52oiNVr5qA yVjwa+Kvfl4sae1hEGBkbfM0NLersIIZG8F6NdR6lp4qtJMoft6PZ3i7vhiLMpOBrj UnV+6VMTGCMuDN+EoABNZT2JqvFPJdoQ5xxI2tLYhF1HqfLAP1b4si9FOnNazyniyn G5F0MOUlLlT/VKkhCSgdlvifdfANo8rhnZ+flBb3lGYtGNpMjvzvHRwB2bF0M7s1Wn /4RGDrCmEmkbf/eEZ90TCF0iKGY+pwLGtxRnObnZWVg92bF/ynE84Xa6p2cv6gZP7V MHyGB/WyqvJgg== Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 70D978092C; Sun, 28 Apr 2024 11:30:27 -0400 (EDT) Received: from pastel (unknown [45.72.201.215]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 3E85A1202DC; Sun, 28 Apr 2024 11:30:27 -0400 (EDT) From: Stefan Monnier <monnier@HIDDEN> In-Reply-To: <864jbltt1k.fsf@HIDDEN> (Eli Zaretskii's message of "Sun, 28 Apr 2024 18:18:15 +0300") Message-ID: <jwvr0epik7l.fsf-monnier+emacs@HIDDEN> References: <87le506i07.n.fsf@HIDDEN> <86jzkkz9f2.fsf@HIDDEN> <ZiuJrLiF5wMDQqTm@HIDDEN> <86bk5wz8a6.fsf@HIDDEN> <8734r7b73v.5.fsf@HIDDEN> <86zftfw841.fsf@HIDDEN> <jwvpluajiyh.fsf-monnier+emacs@HIDDEN> <86bk5uul0z.fsf@HIDDEN> <jwvedapk03z.fsf-monnier+emacs@HIDDEN> <864jbltt1k.fsf@HIDDEN> Date: Sun, 28 Apr 2024 11:30:26 -0400 User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-SPAM-INFO: Spam detection results: 0 ALL_TRUSTED -1 Passed through trusted hosts only via SMTP AWL -0.052 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain DKIM_VALID_EF -0.1 Message has a valid DKIM or DK signature from envelope-from domain X-SPAM-LEVEL: X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > Does it mean you will not be terribly mad if I remove the read-only > setting from "M-x diff", and let it behave as every other client of > diff-mode? I don't have a strong opinion on this, no (diff-mode buffers are among those where I use `C-x C-q` most frequently). `C-x v =` is an important "client of diff-mode" (arguably more important than `M-x diff`), and it does make `*vc-diff*` read-only, so if you want to change `M-x diff`, I suggest you change `C-x v =` at the same time. Stefan
X-Loop: help-debbugs@HIDDEN Subject: bug#70587: More buffers that ought to be read-only Resent-From: Dmitry Gutov <dmitry@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Sun, 28 Apr 2024 20:37:02 +0000 Resent-Message-ID: <handler.70587.B70587.17143365656398 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 70587 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii <eliz@HIDDEN>, Stefan Monnier <monnier@HIDDEN> Cc: 70587 <at> debbugs.gnu.org, jidanni@HIDDEN Received: via spool by 70587-submit <at> debbugs.gnu.org id=B70587.17143365656398 (code B ref 70587); Sun, 28 Apr 2024 20:37:02 +0000 Received: (at 70587) by debbugs.gnu.org; 28 Apr 2024 20:36:05 +0000 Received: from localhost ([127.0.0.1]:52759 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1s1BFl-0001f8-0c for submit <at> debbugs.gnu.org; Sun, 28 Apr 2024 16:36:05 -0400 Received: from fhigh5-smtp.messagingengine.com ([103.168.172.156]:54333) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <dmitry@HIDDEN>) id 1s1BFj-0001ek-V3 for 70587 <at> debbugs.gnu.org; Sun, 28 Apr 2024 16:36:04 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailfhigh.nyi.internal (Postfix) with ESMTP id C08A8114010C; Sun, 28 Apr 2024 16:35:38 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Sun, 28 Apr 2024 16:35:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gutov.dev; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm2; t=1714336538; x=1714422938; bh=cJJ4Vco1v9pClFGUA8dpQsXh2S/K7eSiE/HY6UArK1c=; b= E3qDApB+CJx6nNT1e+MK+XB0PBp5j5a0na3pPqOml7fOWX6B9RHeRTDzHrCkkrQ8 o+vj3dK1ddAuhARoe2EMO6Q2wjMnN5Rt4YWo46uqVeV+i9jV/DV40sfINs6umZ5m 4Vri5nMJEEWDtGRPCraLyoI2PufVMW80YtPbwoE5K9DAD1uFmDV+nHN5YmJ23WYj aVfSdG56W+u2vuWkIEaK+dl8+U8lhx+TYLofWG1UVQaaIJmCT7IwkT7Hpl/MkAhY wYkjPJ/TirvBjmCHmf1ZMTfY0oL+BXIS6Sgth+FGzyMip/HCnIejzKSw0s3E8fMS dACPZjQzbYLWnJNyA6VFHQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1714336538; x= 1714422938; bh=cJJ4Vco1v9pClFGUA8dpQsXh2S/K7eSiE/HY6UArK1c=; b=G ewFMVke/S+QP808UCVnJ+mFEsCqIUQPA+/iGy14FOMHKRt7+ZcCtA9mCCAJfqS1C EH1NoKwTJ0FfFOrnDSUIP3TtoyG+Y4UOe3r9j33UnuN6D3ZYzI9q44Q4b4cY/+7z PwAWhLRZzRfA9ZE0j0e8Pr02w44KkYn9JM1zAkE3BO12ncNW9yLKSacGV53UwxI8 5vRZrFvAaRJYpYvfsYayGwNBYgzxFd48kNu8CIjHZcJSzIs8ttg0LF36qxrsIIIv RvonVnxTOZJcdIjKR+zJQNPhqvtjugWBj0FMbqHUmMs1aMWLVIbUyqoY6RkfP2yN hcTBBQQ70jkRNR6Qb6FOg== X-ME-Sender: <xms:GrMuZhv55I5ZfcmLo4iTDCD3-uVBBObfdoHgPd6lVEh-aj69-KDH-w> <xme:GrMuZqduJubbEX2f1P4nUnis3zA20MzN2rdWSCD79Ruy7LMgLYs6Hxudevb6wKEyJ azqCdgFgaghBQ96kTA> X-ME-Received: <xmr:GrMuZkx_G1FWBFQfrAAB36x5_3AcFnFhNaoY8jDFppvGijP9Pq-D6rolyQj1xJ-fVld2> X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrvddthedgvddtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepkfffgggfuffvvehfhfgjtgfgsehtjeertddtvdejnecuhfhrohhmpeffmhhi thhrhicuifhuthhovhcuoegumhhithhrhiesghhuthhovhdruggvvheqnecuggftrfgrth htvghrnhepteduleejgeehtefgheegjeekueehvdevieekueeftddvtdevfefhvdevgedu jeehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepug hmihhtrhihsehguhhtohhvrdguvghv X-ME-Proxy: <xmx:GrMuZoPnBsS4kQhpIU4zQ2RAPo58HQCzqMKWaXUnTSGzGXFeN9LIZA> <xmx:GrMuZh8J-O3560LIrf4rsN02p-5hwWXU2RVJnyLTMb8Rz2WGkIBIUw> <xmx:GrMuZoVYSPZEOl7m5pQwl-pyCcXod5MiQQL6avZFwsSrm7fcfZ-hSQ> <xmx:GrMuZifAjj_a_zvO86epC33C92mq863H_2P3Bq9RbqHfXRIg4Dh9dA> <xmx:GrMuZtaMUy7dOaNOKe80dKIkJ479tizWo_9mCNkGYHrQy0gienrvUfAl> Feedback-ID: i0e71465a:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 28 Apr 2024 16:35:37 -0400 (EDT) Message-ID: <455de8f3-0b53-49ad-8f40-7e49d448d576@HIDDEN> Date: Sun, 28 Apr 2024 23:35:34 +0300 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird References: <87le506i07.n.fsf@HIDDEN> <86jzkkz9f2.fsf@HIDDEN> <ZiuJrLiF5wMDQqTm@HIDDEN> <86bk5wz8a6.fsf@HIDDEN> <8734r7b73v.5.fsf@HIDDEN> <86zftfw841.fsf@HIDDEN> <jwvpluajiyh.fsf-monnier+emacs@HIDDEN> <86bk5uul0z.fsf@HIDDEN> Content-Language: en-US From: Dmitry Gutov <dmitry@HIDDEN> In-Reply-To: <86bk5uul0z.fsf@HIDDEN> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) On 28/04/2024 08:13, Eli Zaretskii wrote: >> But if we install the above patch, then*vc-diff* will suddenly not be >> read-only any more, so we should arguably change >> `diff-default-read-only` at the same time, which will in turn cause >> another behavior change when people open a `.diff` file. > Why should*vc-diff* be read-only regardless of > diff-default-read-only? And why visiting a .diff file is different in > this regard? I also think that we should flip diff-default-read-only to true, and drop the special casing in vc-diff. :-)
X-Loop: help-debbugs@HIDDEN Subject: bug#70587: More buffers that ought to be read-only Resent-From: Eli Zaretskii <eliz@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Mon, 29 Apr 2024 06:58:01 +0000 Resent-Message-ID: <handler.70587.B70587.171437385914539 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 70587 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Dmitry Gutov <dmitry@HIDDEN> Cc: 70587 <at> debbugs.gnu.org, monnier@HIDDEN, jidanni@HIDDEN Received: via spool by 70587-submit <at> debbugs.gnu.org id=B70587.171437385914539 (code B ref 70587); Mon, 29 Apr 2024 06:58:01 +0000 Received: (at 70587) by debbugs.gnu.org; 29 Apr 2024 06:57:39 +0000 Received: from localhost ([127.0.0.1]:55460 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1s1KxH-0003mR-9K for submit <at> debbugs.gnu.org; Mon, 29 Apr 2024 02:57:39 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42514) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1s1KxF-0003mL-Dz for 70587 <at> debbugs.gnu.org; Mon, 29 Apr 2024 02:57:38 -0400 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 <eliz@HIDDEN>) id 1s1Kwn-00008y-FV; Mon, 29 Apr 2024 02:57:11 -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=K6GWCksA5gWUy6shtz0A15FgiGKMyyRSX7ChkklPWYk=; b=rwS7ahxB+QAo 77wUzlOMDeboJ6A0aTq36YTJoMeWz7ieCe/vTF4hvpBkTxpDz4pKtGfSQ+eHxsfeiIHsyw+1ANcBX Y6paE6so/kAFO72yWDoHtfLuXCUq5WcfMNxTzTKZ/QPcyFbP5cZxc31EG6TPnopboMtwg0C6rPSXz 0QoOcebYZXszTht7KVAQKdF/o2GxKWlu75i0bq+eCq7ZYo7uRjiizEDx+hGLXNNiPKodIENdc0aCD qFzAeK+dADFEawC7t5r5MMdaBSTntBKcE4Rb1Oou4fVxWSy60k9ZKpJSufzy/gH0GOHgN487c2ig/ 6Ai/vFRHE13+fA4VdGbO1g==; Date: Mon, 29 Apr 2024 09:57:07 +0300 Message-Id: <86v840slks.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> In-Reply-To: <455de8f3-0b53-49ad-8f40-7e49d448d576@HIDDEN> (message from Dmitry Gutov on Sun, 28 Apr 2024 23:35:34 +0300) References: <87le506i07.n.fsf@HIDDEN> <86jzkkz9f2.fsf@HIDDEN> <ZiuJrLiF5wMDQqTm@HIDDEN> <86bk5wz8a6.fsf@HIDDEN> <8734r7b73v.5.fsf@HIDDEN> <86zftfw841.fsf@HIDDEN> <jwvpluajiyh.fsf-monnier+emacs@HIDDEN> <86bk5uul0z.fsf@HIDDEN> <455de8f3-0b53-49ad-8f40-7e49d448d576@HIDDEN> X-Spam-Score: -1.6 (-) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -2.6 (--) > Date: Sun, 28 Apr 2024 23:35:34 +0300 > Cc: 70587 <at> debbugs.gnu.org, jidanni@HIDDEN > From: Dmitry Gutov <dmitry@HIDDEN> > > On 28/04/2024 08:13, Eli Zaretskii wrote: > >> But if we install the above patch, then*vc-diff* will suddenly not be > >> read-only any more, so we should arguably change > >> `diff-default-read-only` at the same time, which will in turn cause > >> another behavior change when people open a `.diff` file. > > Why should*vc-diff* be read-only regardless of > > diff-default-read-only? And why visiting a .diff file is different in > > this regard? > > I also think that we should flip diff-default-read-only to true, and > drop the special casing in vc-diff. :-) That doesn't answer my questions. Flipping the default value would require much more than 2 or 3 people asking for it.
X-Loop: help-debbugs@HIDDEN Subject: bug#70587: More buffers that ought to be read-only References: <87le506i07.n.fsf@HIDDEN> Resent-From: Dan Jacobson <jidanni@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Tue, 30 Apr 2024 09:57:01 +0000 Resent-Message-ID: <handler.70587.B70587.171447100814275 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 70587 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Dmitry Gutov <dmitry@HIDDEN> Cc: Eli Zaretskii <eliz@HIDDEN>, Stefan Monnier <monnier@HIDDEN>, 70587 <at> debbugs.gnu.org Received: via spool by 70587-submit <at> debbugs.gnu.org id=B70587.171447100814275 (code B ref 70587); Tue, 30 Apr 2024 09:57:01 +0000 Received: (at 70587) by debbugs.gnu.org; 30 Apr 2024 09:56:48 +0000 Received: from localhost ([127.0.0.1]:59298 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1s1kEC-0003iB-IY for submit <at> debbugs.gnu.org; Tue, 30 Apr 2024 05:56:48 -0400 Received: from bird.elm.relay.mailchannels.net ([23.83.212.17]:7622) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <jidanni@HIDDEN>) id 1s1kE8-0003i5-GI for 70587 <at> debbugs.gnu.org; Tue, 30 Apr 2024 05:56:47 -0400 X-Sender-Id: dreamhost|x-authsender|jidanni@HIDDEN Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 716F39024F4; Tue, 30 Apr 2024 09:56:22 +0000 (UTC) Received: from pdx1-sub0-mail-a234.dreamhost.com (unknown [127.0.0.6]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id E93B2902DB5; Tue, 30 Apr 2024 09:56:21 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1714470982; a=rsa-sha256; cv=none; b=wvRSkgDugQ98Q6hyFZUDBU+x8SJTBy3kqeWLcvZuubgSC1RTo6n5n658hNahziigWftcg9 gxorwpLWZeKAJFxQzq1P1Cgnnsneq6Esbd7vHlzSQ7MvbFkBOB7Kl70Y7ect7xozYIGVeq GWJ8sU4KPma6DcFcT3007FPN0znuE99HkagrgIb8pM1SwG3LHHKnBVukuTBaS8JkaY+p/d 4ZpGqnnGdaZTrwIUKUb5K5TRnYVFvlPeagaacqlhzDeLcMQxL93S3EwocGmA8Azc3rbdFv oOqnwimP8INq5zxBk4+ez+/VDu/Tu67QfD0PUlAUmtmxnnvjMmmBjlFXqpzilw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1714470982; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:dkim-signature; bh=eyESZN3WEjCqqLl1EDQqOhhUWhSO6IboRRTuR6Ay2cA=; b=w4j8Rp9mzyI7hyzadf0Pey5vvI06THXcyToqt0TCndaDDHaSQg3/RjhJ4MYO9yZzxGtzlC jEO5DCpp/HnKDxIuYsLLwAvWsPg7pCFDH38B2dMoQgoR/skPhDJzByThYTOnw5rant9Cbp B2UB0bSSTq1iXkt/FT3KOXWSiXxgY3sPS06QGbxCLhV6uLHiEIRwDryL6Z1iRxDOWxI+90 RnRyzSX9LCEFQuG7JpUm0gURmMkF7+S+SnKT9A+mFs6eZaJ/WbEx8P/LxwGcVQwBbR91DS SO4bYEuQGfBm4gXpGu1gO7imJrALaUMzOsgoiMRX2NIWuICYR01YRlJzJF3KeQ== ARC-Authentication-Results: i=1; rspamd-67db6f49c6-25n8l; auth=pass smtp.auth=dreamhost smtp.mailfrom=jidanni@HIDDEN X-Sender-Id: dreamhost|x-authsender|jidanni@HIDDEN X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jidanni@HIDDEN X-MailChannels-Auth-Id: dreamhost X-Juvenile-Interest: 7b7c77a1556d5400_1714470982197_935767707 X-MC-Loop-Signature: 1714470982197:2533518713 X-MC-Ingress-Time: 1714470982197 Received: from pdx1-sub0-mail-a234.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.116.74.87 (trex/6.9.2); Tue, 30 Apr 2024 09:56:22 +0000 Received: from [10.51.136.221] (111-82-64-162.emome-ip.hinet.net [111.82.64.162]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: jidanni@HIDDEN) by pdx1-sub0-mail-a234.dreamhost.com (Postfix) with ESMTPSA id 4VTFvm5HF8z9r; Tue, 30 Apr 2024 02:56:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jidanni.org; s=dreamhost; t=1714470981; bh=eyESZN3WEjCqqLl1EDQqOhhUWhSO6IboRRTuR6Ay2cA=; h=Date:Subject:From:To:Cc:Content-Type:Content-Transfer-Encoding; b=oGb8OfJoBQ0US4EuSbQ4BjIndwULHTWJnToziDavmw25NW9urlXfVvkilL819o9wY sF2/31nfCZBOJP2fbZVT7YuXia/EbuYZ7EDk0UvIByX4gsT2WEa5sPGscXuHQxNxqO yB7vMExxcaodCCtEPbzHoRz1pjqmiAGyPsHyJy4G0QXPsRn4xGyCDrOb3VyOFQt/iD 8fqFbv7O0U1b0crJ96G7Q7pbPliRqLWmum1eNOFOmf9OMsDYdVv1QhLrSTXy1UstGY 1R4zfx4snSfvUY/9XxjQaATXWAOd2IgAvJH+P0RzRYzTy2DJxkwfRsn5V5HbgxXTYU Lje33WifJZRQw== Date: Tue, 30 Apr 2024 17:56:15 +0800 Message-ID: <e0340263-e5f4-44b0-b01f-4a2f378babf6@HIDDEN> X-Android-Message-ID: <e0340263-e5f4-44b0-b01f-4a2f378babf6@HIDDEN> In-Reply-To: <455de8f3-0b53-49ad-8f40-7e49d448d576@HIDDEN> From: Dan Jacobson <jidanni@HIDDEN> Importance: Normal X-Priority: 3 X-MSMail-Priority: Normal MIME-Version: 1.0 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: base64 X-Spam-Score: 0.7 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.3 (/) PGRpdiBkaXI9J2F1dG8nPjxkaXY+PGRpdiBjbGFzcz0iZ21haWxfZXh0cmEiPkkgYWxzbyBkb24n dCB1bmRlcnN0YW5kIHRoZSByZWFzb25pbmcgYmVoaW5kIHdhbnRpbmcgYWxsIHRoZXNlIHZhcmlv dXMgYnVmZmVycyB0byBiZSByZWFkIHdyaXRlLiZuYnNwOzwvZGl2PjwvZGl2PjxkaXYgY2xhc3M9 ImdtYWlsX2V4dHJhIiBkaXI9ImF1dG8iPjxicj48L2Rpdj48ZGl2IGNsYXNzPSJnbWFpbF9leHRy YSIgZGlyPSJhdXRvIj5NaWdodCBhcyB3ZWxsIG1ha2UgTWFuIHBhZ2VzIHJlYWQgd3JpdGUgYWxz by4mbmJzcDs8L2Rpdj48ZGl2IGNsYXNzPSJnbWFpbF9leHRyYSIgZGlyPSJhdXRvIj48YnI+PC9k aXY+PGRpdiBjbGFzcz0iZ21haWxfZXh0cmEiIGRpcj0iYXV0byI+QnV0IG15IHdob2xlIHBvaW50 IGlzIHRvIHByZXZlbnQgYWNjaWRlbnRzLiBGb3IgaW5zdGFuY2Ugd2l0aCBNYW4gcGFnZXMgcGVv cGxlIHNob3VsZCBiZSBlZGl0aW5nIHRoZSBucm9mZi4mbmJzcDs8L2Rpdj48ZGl2IGNsYXNzPSJn bWFpbF9leHRyYSIgZGlyPSJhdXRvIj48YnI+PC9kaXY+PGRpdiBjbGFzcz0iZ21haWxfZXh0cmEi IGRpcj0iYXV0byI+SSBtZWFuIGl0J3Mgbm90IGxpa2Ugd2UgYXJlIG5vdCBhbGxvd2luZyBwZW9w bGUgdG8gY29weSBhbnl0aGluZy4gTm8gY29weSBwcm90ZWN0aW9uIGludm9sdmVkLiZuYnNwOzwv ZGl2PjxkaXYgY2xhc3M9ImdtYWlsX2V4dHJhIiBkaXI9ImF1dG8iPjxicj48L2Rpdj48ZGl2IGNs YXNzPSJnbWFpbF9leHRyYSIgZGlyPSJhdXRvIj5Pa2F5IHRoZXJlIG1pZ2h0IGJlIHNwZWNpYWwg dXNlcyBmb3IgZWRpdGluZyBkaWZmIHBhZ2VzIHdoaWNoIEkgaGF2ZW4ndCB0cmllZCB5ZXQuPC9k aXY+PC9kaXY+
X-Loop: help-debbugs@HIDDEN Subject: bug#70587: More buffers that ought to be read-only Resent-From: Eli Zaretskii <eliz@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Sat, 04 May 2024 11:24:02 +0000 Resent-Message-ID: <handler.70587.B70587.17148217975300 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 70587 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Monnier <monnier@HIDDEN>, Dmitry Gutov <dmitry@HIDDEN> Cc: 70587 <at> debbugs.gnu.org, jidanni@HIDDEN Received: via spool by 70587-submit <at> debbugs.gnu.org id=B70587.17148217975300 (code B ref 70587); Sat, 04 May 2024 11:24:02 +0000 Received: (at 70587) by debbugs.gnu.org; 4 May 2024 11:23:17 +0000 Received: from localhost ([127.0.0.1]:52806 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1s3DU4-0001NO-OG for submit <at> debbugs.gnu.org; Sat, 04 May 2024 07:23:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58126) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1s3DU1-0001NE-4C for 70587 <at> debbugs.gnu.org; Sat, 04 May 2024 07:23:15 -0400 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 <eliz@HIDDEN>) id 1s3DTY-0003iv-43; Sat, 04 May 2024 07:22:44 -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=Qhb3l2IUHm7TLOKXjlqc4rhzRWHHZYpjeIoSJLha97g=; b=G8/6cRmjTUg6 Rh6ddSNrCt23+7+0yd5SRAM5aYNzTTAKhGNCjIgUGsPAChvIuY54aKlufxq+8LHaX96sJ8roJy/Vi qsnH4Qzo2j7piQLOSeZRQDGkfxMqwgra1UoQR3KnXlXQaq3dTFpbbabPip2GA6Wj6ESjdwJbSXmn/ mWBdVGPrR6OfcSBhYEhjPZym+ZGAI7b+wbSeVNvB/dUXtOE6K2y15GU6SY+LtTQVvMAG0ctCkr+bs w0D+x3dim0zzK8GEl//o8w4MJNeYULpLdbGsUj6zBGmkE6EulPP/7mPVzm7L4aOGB3juX8n+/0F9u cxg46l1smRWDtL7iKLWLkw==; Date: Sat, 04 May 2024 14:22:41 +0300 Message-Id: <8634qxhldq.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> In-Reply-To: <jwvr0epik7l.fsf-monnier+emacs@HIDDEN> (message from Stefan Monnier on Sun, 28 Apr 2024 11:30:26 -0400) References: <87le506i07.n.fsf@HIDDEN> <86jzkkz9f2.fsf@HIDDEN> <ZiuJrLiF5wMDQqTm@HIDDEN> <86bk5wz8a6.fsf@HIDDEN> <8734r7b73v.5.fsf@HIDDEN> <86zftfw841.fsf@HIDDEN> <jwvpluajiyh.fsf-monnier+emacs@HIDDEN> <86bk5uul0z.fsf@HIDDEN> <jwvedapk03z.fsf-monnier+emacs@HIDDEN> <864jbltt1k.fsf@HIDDEN> <jwvr0epik7l.fsf-monnier+emacs@HIDDEN> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Stefan Monnier <monnier@HIDDEN> > Cc: jidanni@HIDDEN, 70587 <at> debbugs.gnu.org > Date: Sun, 28 Apr 2024 11:30:26 -0400 > > > Does it mean you will not be terribly mad if I remove the read-only > > setting from "M-x diff", and let it behave as every other client of > > diff-mode? > > I don't have a strong opinion on this, no (diff-mode buffers are > among those where I use `C-x C-q` most frequently). > > `C-x v =` is an important "client of diff-mode" (arguably more > important than `M-x diff`), and it does make `*vc-diff*` read-only, > so if you want to change `M-x diff`, I suggest you change `C-x v =` at > the same time. So the two most important clients of diff-mode unconditionally make the buffer read-only, but we have a diff-mode option that by default leaves the buffer writable? This makes absolutely no sense to me! Does anyone have any explanation for how we ended up in this situation?
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.