From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#61652: 28.2; Read-only mode and View mode Date: Wed, 06 Sep 2023 14:32:18 +0300 Message-ID: <83il8n35bx.fsf@gnu.org> References: <83bklov1ny.fsf@gnu.org> <3C58A00D-8E01-4CC8-BFEA-CCC6CB798B35@t-online.de> <83a617tbby.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12615"; mail-complaints-to="usenet@ciao.gmane.io" Cc: bernd.rellermeyer@t-online.de, 61652@debbugs.gnu.org To: Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Sep 06 13:33:10 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qdqmT-00030U-Ia for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 06 Sep 2023 13:33:09 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qdqmM-0000vW-Ub; Wed, 06 Sep 2023 07:33:02 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qdqmL-0000vB-5J for bug-gnu-emacs@gnu.org; Wed, 06 Sep 2023 07:33:01 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qdqmK-0000df-TW for bug-gnu-emacs@gnu.org; Wed, 06 Sep 2023 07:33:00 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qdqmL-0001Ia-TV for bug-gnu-emacs@gnu.org; Wed, 06 Sep 2023 07:33:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 06 Sep 2023 11:33:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61652 X-GNU-PR-Package: emacs Original-Received: via spool by 61652-submit@debbugs.gnu.org id=B61652.16939999744976 (code B ref 61652); Wed, 06 Sep 2023 11:33:01 +0000 Original-Received: (at 61652) by debbugs.gnu.org; 6 Sep 2023 11:32:54 +0000 Original-Received: from localhost ([127.0.0.1]:33189 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qdqmE-0001IC-91 for submit@debbugs.gnu.org; Wed, 06 Sep 2023 07:32:54 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37756) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qdqmC-0001I0-I8 for 61652@debbugs.gnu.org; Wed, 06 Sep 2023 07:32:52 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qdqlx-0000VX-0X; Wed, 06 Sep 2023 07:32:42 -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=uGmZEFd/+Ff84uSBxSDHipENkimZRHK48r6UBLgyX4U=; b=BdXGYS0Q5Zi5 NT1ZGoFU9DcoJVBBwWq/R89Im8O50r7Yk6aDd2TaYmQhyzKnlcpiZ/1yFNleCcjS1AgR+yzFTC6mo OpZBkAK9RxtSNYJFhuTL6FmiJhUy9yv217IwfW64HQ/xpaTXFaGv9avBgDNJboGzMGgFmoP2A/hfr 9/995A8ksfDVZyCkpW3Lh/JwRK41cikSSTykdEPzptwEoi19ItGYlT9qWlzbInqZREjEZYnMhO83s 8a72R9ciLXKvHizZSKDJ6/WkvD173smEW51wtyNhDqK1YMbLWoGMVdduLtLAgJn6FGX7Tr/V1UFcN Gri9WWl/pSZVCVyGi4Cknw==; In-Reply-To: (message from Stefan Kangas on Tue, 5 Sep 2023 16:48:02 -0700) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:269515 Archived-At: > From: Stefan Kangas > Date: Tue, 5 Sep 2023 16:48:02 -0700 > Cc: Bernd Rellermeyer , 61652@debbugs.gnu.org > > Eli Zaretskii writes: > > >> From: Bernd Rellermeyer > >> Date: Tue, 21 Feb 2023 13:46:50 +0100 > >> Cc: 61652@debbugs.gnu.org > >> > >> In step 3, View mode is entered implicitly, because `view-read-only` is > >> non-nil. From the user perspective it is only one command. I.e. the user just > >> turns off and on Read-only mode. That means the user enters View mode vie > >> Read-Only mode from a writable buffer. I think this should not alter the > >> behavior of `View-exit` and after calling `View-exit` he should be in a > >> writable buffer. Or am I wrong? > > > > I'm not sure I agree with your interpretation. > > > > Does anyone else have an opinion? > > I don't think I agree either. Once the user starts changing > read-only-mode, I think disabling it when leaving view-mode would be > surprising. > > In any case, leaving it as read-only is only a minor annoyance. > Changing it to read-write means the user can suddenly start doing > destructive things in a situation where that might be unexpected. > > So I'm not sure we should do anything at all here. Since no one has chimed in during all this time, I think we should leave this alone.