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#74637: [PATCH] Make view-read-only behave like view-file Date: Sat, 28 Dec 2024 13:32:14 +0200 Message-ID: <86bjwwt54x.fsf@gnu.org> References: <86ldwy46al.fsf@gnu.org> <86o71t3mob.fsf@gnu.org> <86zflc27dl.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19634"; mail-complaints-to="usenet@ciao.gmane.io" Cc: bjorn.bidar@thaodan.de, acorallo@gnu.org, 74637-done@debbugs.gnu.org To: Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Dec 28 12:33:35 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1tRV4Z-00050V-JS for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 28 Dec 2024 12:33:35 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tRV46-0002vI-KR; Sat, 28 Dec 2024 06:33:06 -0500 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 1tRV43-0002uF-A4 for bug-gnu-emacs@gnu.org; Sat, 28 Dec 2024 06:33:03 -0500 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 1tRV43-00083F-1S for bug-gnu-emacs@gnu.org; Sat, 28 Dec 2024 06:33:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-version:References:In-Reply-To:From:Date:To:Subject; bh=bUEIGqG8hXcRSIGt8A2uT2KULkaYmS8yxecspNrbfVQ=; b=nij8L6Ki0gmrB5YI7lfjg6gSoW8wIIIPjp4q5I1dfGbpFee3BarN+WJaQK5VfKgzbjbT0WUzzzvav0PCgjS6XILkC6aw0JJATQG4SHt4fPQV9ZEy1itW/RK6oFbiGHU75H92jzW8TeLePCmZLpxgxQ3ch0hIKMraTxUxUhaBd9LnNmuwKJxLb8hB3o2PJKKB353DZ8MC2uU7+ApKXl1pJmPgLI/pOZzZcGdor8RGiPhNah2UYi+mhPHYM8a+B/puBUcu3cMXl2V2M9oGzw9SrAwGzkSYWo2N0/W2CVV+Yh6wh/wbyGTnK0Vir3wEzBGFZRnaak0yljXaPWSIUF6zdQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tRV42-00089O-Su for bug-gnu-emacs@gnu.org; Sat, 28 Dec 2024 06:33:02 -0500 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Sat, 28 Dec 2024 11:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 74637 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Mail-Followup-To: 74637@debbugs.gnu.org, eliz@gnu.org, bjorn.bidar@thaodan.de Original-Received: via spool by 74637-done@debbugs.gnu.org id=D74637.173538554531259 (code D ref 74637); Sat, 28 Dec 2024 11:33:02 +0000 Original-Received: (at 74637-done) by debbugs.gnu.org; 28 Dec 2024 11:32:25 +0000 Original-Received: from localhost ([127.0.0.1]:49466 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tRV3Q-000887-P6 for submit@debbugs.gnu.org; Sat, 28 Dec 2024 06:32:25 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:58418) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tRV3O-00087u-IE for 74637-done@debbugs.gnu.org; Sat, 28 Dec 2024 06:32:23 -0500 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 1tRV3J-0007y9-BN; Sat, 28 Dec 2024 06:32:17 -0500 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=bUEIGqG8hXcRSIGt8A2uT2KULkaYmS8yxecspNrbfVQ=; b=dTHr6IyehZmN1L3uxLTc uUVkNYC2fXwoiQCRi3XIPQjMre8FWbMoOmvQyUjiqfVpwQp/VpoXaTU0u6cZ2/lOX4w8DGTPEOhzW 9AgArXL89HeMLO1GF+bKtTDT4R8q+qU7pcxt7V15SF0V6hsbzMtud3L/gfXkvyGCaFfWnhNpeabg9 Lk9bLDBx73GQtV4ktt0gM8WXvMGZiiVkFOBEVON6K3P5Ml9Ua3GomG2DjTa98zk+dlq2Y50gnV3p2 MCMsx8Jv+9BvtVR0Vv5xoQ8uEEe4Jz2o4emh62QMoU9pUvG7cpEXPqV0dtAHDbpz8jes8wrAq9Dpz heVldJrm9rEsJw==; In-Reply-To: (message from Stefan Kangas on Sun, 15 Dec 2024 18:43:39 +0000) 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:297882 Archived-At: > From: Stefan Kangas > Date: Sun, 15 Dec 2024 18:43:39 +0000 > Cc: Björn Bidar , > 74637@debbugs.gnu.org > > Andrea Corallo writes: > > > Eli Zaretskii writes: > > > >>> From: Björn Bidar > >>> Cc: 74637@debbugs.gnu.org > >>> Date: Tue, 03 Dec 2024 12:06:11 +0200 > >>> > >>> >> > That's an incompatible behavior change. Is that justified? How can > >>> >> > we be sure that everyone agrees with your interpretation of this mode? > >>> >> > >>> >> All other view-file like modes behave like this, you view the file and > >>> >> leave the file with q. > >>> > > >>> > That doesn't change the fact that view-mode didn't behave like that, > >>> > until now. > >>> > >>> View-mode isn't change outside of the specific situation of opening a > >>> file which isn't writable. > >> > >> It's still a significant change. Killing a buffer is not a minor > >> think, and restoring it is not always easy, or even possible (e.g., > >> the file could have been deleted in the meantime). > >> > >> My opinion is that if we install this, we need to provide some way of > >> getting the previous behavior back, for those who may want it. > >> > >> Stefan and Andrea, WDYT? > > > > Agree with your position. > > +1 It sounds like the consensus here is that we should not make this change, so I'm closing this bug.