GNU bug report logs - #42829
save-some-buffers should learn to "just let go"

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Severity: wishlist; Reported by: 積丹尼 Dan Jacobson <jidanni@HIDDEN>; Keywords: fixed; merged with #3625, #10229, #24174; Done: Lars Ingebrigtsen <larsi@HIDDEN>; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 42829 <at> debbugs.gnu.org:


Received: (at 42829) by debbugs.gnu.org; 13 Aug 2020 01:08:33 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Aug 12 21:08:33 2020
Received: from localhost ([127.0.0.1]:46185 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1k61jN-00043q-7C
	for submit <at> debbugs.gnu.org; Wed, 12 Aug 2020 21:08:33 -0400
Received: from relay12.mail.gandi.net ([217.70.178.232]:39001)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <juri@HIDDEN>) id 1k61jJ-00043J-7n
 for 42829 <at> debbugs.gnu.org; Wed, 12 Aug 2020 21:08:30 -0400
Received: from mail.gandi.net (m91-129-102-47.cust.tele2.ee [91.129.102.47])
 (Authenticated sender: juri@HIDDEN)
 by relay12.mail.gandi.net (Postfix) with ESMTPSA id EFDB3200006;
 Thu, 13 Aug 2020 01:08:21 +0000 (UTC)
From: Juri Linkov <juri@HIDDEN>
To: =?utf-8?B?56mN5Li55bC8?= Dan Jacobson <jidanni@HIDDEN>
Subject: Re: bug#42829: save-some-buffers should learn to "just let go"
Organization: LINKOV.NET
References: <875z9nx6ta.5.fsf@HIDDEN>
Date: Thu, 13 Aug 2020 02:39:51 +0300
In-Reply-To: <875z9nx6ta.5.fsf@HIDDEN> (=?utf-8?B?IuepjeS4ueWwvA==?=
 Dan Jacobson"'s message of "Wed, 12 Aug 2020 22:44:17 +0800")
Message-ID: <87zh6zjug0.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 42829
Cc: 42829 <at> debbugs.gnu.org
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 (-)

> C-x s says
>
>   Save file ...documentation.txt? (y, n, !, ., q, C-r, d or C-h)
>
> C-h then says
>
>   Type SPC or ‘y’ to save the current buffer;
>   DEL or ‘n’ to skip the current buffer;
>   RET or ‘q’ to give up on the save (skip all remaining buffers);
>   C-g to quit (cancel the whole command);
>   ! to save all remaining buffers;
>   C-r to view this buffer;
>   d to view changes in this buffer;
>   or . (period) to save the current buffer and exit.
>
> Problem is: C-r won't "let go of the user".
>
> He can't just visit the buffer (to say undo his changes there.)
> He is still trapped at the prompt. No C-x o won't free him temporarily.

This means that map-y-or-n-p (used by save-some-buffers) should be rewritten
to rely on read-char-from-minibuffer.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#42829; Package emacs. Full text available.
Forcibly Merged 3625 10229 24174 42829. Request was from Glenn Morris <rgm@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 12 Aug 2020 14:52:30 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Aug 12 10:52:30 2020
Received: from localhost ([127.0.0.1]:45162 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1k5s7C-0001GY-Ec
	for submit <at> debbugs.gnu.org; Wed, 12 Aug 2020 10:52:30 -0400
Received: from lists.gnu.org ([209.51.188.17]:52228)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <jidanni@HIDDEN>) id 1k5s7A-0001GQ-7G
 for submit <at> debbugs.gnu.org; Wed, 12 Aug 2020 10:52:29 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:45144)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <jidanni@HIDDEN>)
 id 1k5s79-0004OI-VC
 for bug-gnu-emacs@HIDDEN; Wed, 12 Aug 2020 10:52:27 -0400
Received: from dog.birch.relay.mailchannels.net ([23.83.209.48]:34012)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <jidanni@HIDDEN>)
 id 1k5s77-00073g-Pe
 for bug-gnu-emacs@HIDDEN; Wed, 12 Aug 2020 10:52:27 -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 5CEFF64112F
 for <bug-gnu-emacs@HIDDEN>; Wed, 12 Aug 2020 14:44:22 +0000 (UTC)
Received: from pdx1-sub0-mail-a60.g.dreamhost.com
 (100-96-27-32.trex.outbound.svc.cluster.local [100.96.27.32])
 (Authenticated sender: dreamhost)
 by relay.mailchannels.net (Postfix) with ESMTPA id C5C446412C6
 for <bug-gnu-emacs@HIDDEN>; Wed, 12 Aug 2020 14:44:21 +0000 (UTC)
X-Sender-Id: dreamhost|x-authsender|jidanni@HIDDEN
Received: from pdx1-sub0-mail-a60.g.dreamhost.com (pop.dreamhost.com
 [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384)
 by 0.0.0.0:2500 (trex/5.18.8); Wed, 12 Aug 2020 14:44:22 +0000
X-MC-Relay: Neutral
X-MailChannels-SenderId: dreamhost|x-authsender|jidanni@HIDDEN
X-MailChannels-Auth-Id: dreamhost
X-Minister-Attack: 33740fe07134584d_1597243462026_3093081868
X-MC-Loop-Signature: 1597243462025:1465011963
X-MC-Ingress-Time: 1597243462025
Received: from pdx1-sub0-mail-a60.g.dreamhost.com (localhost [127.0.0.1])
 by pdx1-sub0-mail-a60.g.dreamhost.com (Postfix) with ESMTP id 5E460860FA
 for <bug-gnu-emacs@HIDDEN>; Wed, 12 Aug 2020 07:44:21 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to
 :subject:date:message-id:mime-version:content-type
 :content-transfer-encoding; s=jidanni.org; bh=DwrEmhHt70uJYC7I+m
 SzJj0owqM=; b=K6xkTAY/layXuFrSBimVtN8fhlbSqxp8vzzH44IFCy0tVH75R6
 kwZgzdXVmLqCYnuKg43q4ofQaNn1WYJgwl3dVVVy3f2WHwm2qxr0wF7DPw2z8NPX
 tQHnW5hMCxjb+WdEuDFr1odKZZILgwBumr417+79mGCTFaPa+Txvxyvpc=
Received: from jidanni.org (114-41-12-134.dynamic-ip.hinet.net [114.41.12.134])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (No client certificate requested)
 (Authenticated sender: jidanni@HIDDEN)
 by pdx1-sub0-mail-a60.g.dreamhost.com (Postfix) with ESMTPSA id DC541860F8
 for <bug-gnu-emacs@HIDDEN>; Wed, 12 Aug 2020 07:44:20 -0700 (PDT)
X-DH-BACKEND: pdx1-sub0-mail-a60
From: =?utf-8?B?56mN5Li55bC8?= Dan Jacobson <jidanni@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: save-some-buffers should learn to "just let go"
Date: Wed, 12 Aug 2020 22:44:17 +0800
Message-ID: <875z9nx6ta.5.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
X-VR-OUT-STATUS: OK
X-VR-OUT-SCORE: 0
X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeduiedrledvgdejlecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucggtfgfnhhsuhgsshgtrhhisggvpdfftffgtefojffquffvnecuuegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkfggtgfgsehtkeertddttdejnecuhfhrohhmpejnnjjnucffrghnucflrggtohgsshhonhcuoehjihgurghnnhhisehjihgurghnnhhirdhorhhgqeenucggtffrrghtthgvrhhnpedvvdevveduffefleegtddvheevgeevtdehheeikeelveegkeehgfeggfeludegleenucfkphepuddugedrgedurdduvddrudefgeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhhouggvpehsmhhtphdphhgvlhhopehjihgurghnnhhirdhorhhgpdhinhgvthepuddugedrgedurdduvddrudefgedprhgvthhurhhnqdhprghthheppeeruhhtfhdqkeerueerheeimhfphefnihehhegsveekreepucffrghnucflrggtohgsshhonhcuoehjihgurghnnhhisehjihgurghnnhhirdhorhhgqedpmhgrihhlfhhrohhmpehjihgurghnnhhisehjihgurghnnhhirdhorhhgpdhnrhgtphhtthhopegsuhhgqdhgnhhuqdgvmhgrtghssehgnhhurdhorhhg
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=23.83.209.48; envelope-from=jidanni@HIDDEN;
 helo=dog.birch.relay.mailchannels.net
X-detected-operating-system: by eggs.gnu.org: First seen = 2020/08/12 10:52:21
X-ACL-Warn: Detected OS   = Linux 3.11 and newer [fuzzy]
X-Spam_score_int: -15
X-Spam_score: -1.6
X-Spam_bar: -
X-Spam_report: (-1.6 / 5.0 requ) BAYES_00=-1.9, 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=-1, RCVD_IN_SORBS_WEB=1.5,
 SPF_HELO_NONE=0.001, SPF_PASS=-0.001,
 URIBL_BLOCKED=0.001 autolearn=no autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 0.1 (/)
X-Debbugs-Envelope-To: submit
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.9 (/)

emacs-version "26.3". (maybe fixed already?)

C-x s says

  Save file ...documentation.txt? (y, n, !, ., q, C-r, d or C-h)

C-h then says

  Type SPC or =E2=80=98y=E2=80=99 to save the current buffer;
  DEL or =E2=80=98n=E2=80=99 to skip the current buffer;
  RET or =E2=80=98q=E2=80=99 to give up on the save (skip all remaining b=
uffers);
  C-g to quit (cancel the whole command);
  ! to save all remaining buffers;
  C-r to view this buffer;
  d to view changes in this buffer;
  or . (period) to save the current buffer and exit.

Problem is: C-r won't "let go of the user".

He can't just visit the buffer (to say undo his changes there.)
He is still trapped at the prompt. No C-x o won't free him temporarily.

Therefore there needs to be an additional choice:

"v to just visit that file and quit saving the rest of the files if any"




Acknowledgement sent to 積丹尼 Dan Jacobson <jidanni@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#42829; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Thu, 13 Aug 2020 01:15:01 UTC

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