From unknown Sat Jun 21 17:34:04 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#381 <381@debbugs.gnu.org> To: bug#381 <381@debbugs.gnu.org> Subject: Status: save-some-buffers recursive editing entrapment Reply-To: bug#381 <381@debbugs.gnu.org> Date: Sun, 22 Jun 2025 00:34:04 +0000 retitle 381 save-some-buffers recursive editing entrapment reassign 381 emacs submitter 381 jidanni@jidanni.org severity 381 normal thanks From jidanni@jidanni.org Mon Jun 9 16:38:58 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-4.7 required=4.0 tests=AWL,BAYES_00, RCVD_IN_DNSWL_LOW autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 9 Jun 2008 23:38:58 +0000 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m59Ncs05031497 for ; Mon, 9 Jun 2008 16:38:56 -0700 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K5qww-0002fm-GH for bug-gnu-emacs@gnu.org; Mon, 09 Jun 2008 19:38:54 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K5qwr-0002dg-1i for bug-gnu-emacs@gnu.org; Mon, 09 Jun 2008 19:38:53 -0400 Received: from [199.232.76.173] (port=44337 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K5qwq-0002dd-Se for bug-gnu-emacs@gnu.org; Mon, 09 Jun 2008 19:38:48 -0400 Received: from lax-green-bigip-5.dreamhost.com ([208.113.200.5]:39925 helo=blingymail-a3.g.dreamhost.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K5qwq-00028V-HS for bug-gnu-emacs@gnu.org; Mon, 09 Jun 2008 19:38:48 -0400 Received: from jidanni2.jidanni.org (122-127-33-224.dynamic.hinet.net [122.127.33.224]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by blingymail-a3.g.dreamhost.com (Postfix) with ESMTP id 3A6C014D7A1 for ; Mon, 9 Jun 2008 16:38:47 -0700 (PDT) To: bug-gnu-emacs@gnu.org Subject: save-some-buffers recursive editing entrapment From: jidanni@jidanni.org Date: Tue, 10 Jun 2008 07:38:44 +0800 Message-ID: <873anmp4aj.fsf@jidanni.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 Let's examine the trouble one can get into with C-x s runs the command save-some-buffers 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; Yeah, that will get one entangled into both recursive editing and view mode, try it while you are entering the reply for this message. d to view changes in this buffer; Beep: "Buffer *mail* has no associated file on disc" (so don't ask in this case); plus now we are recursive editing. or . (period) to save the current buffer and exit. Make you a deal: please just add a further choice: g go to the current buffer (i.e., that buffer listed) with no side effects, no marriage vows. Just put us in that buffer and that's that. 4 out of 5 users won't know how to climb out of recursive editing, now that there is no message about it, except for brackets in the modeline. And even if there was a message, it would get overwritten by the view mode message. And, recursive editing messes up gnus for me. So my new g proposal will not tangle up the user with recursive editing. From monnier@iro.umontreal.ca Mon Jun 9 19:18:01 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-4.4 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER, MDO_CABLE_TV3,RCVD_IN_DNSWL_LOW autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 10 Jun 2008 02:18:01 +0000 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m5A2Hv8s006282 for ; Mon, 9 Jun 2008 19:17:59 -0700 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K5tQr-0007Po-Re for bug-gnu-emacs@gnu.org; Mon, 09 Jun 2008 22:17:57 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K5tQq-0007Nz-Ce for bug-gnu-emacs@gnu.org; Mon, 09 Jun 2008 22:17:57 -0400 Received: from [199.232.76.173] (port=48324 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K5tQq-0007Ns-1B for bug-gnu-emacs@gnu.org; Mon, 09 Jun 2008 22:17:56 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.182]:53293) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K5tQp-0007Cy-F7 for bug-gnu-emacs@gnu.org; Mon, 09 Jun 2008 22:17:55 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AiMCAJB0TUjO+ISodGdsb2JhbACBW5A0ASeeCA X-IronPort-AV: E=Sophos;i="4.27,615,1204520400"; d="scan'208";a="22346505" Received: from smtp.pppoe.ca (HELO smtp.teksavvy.com) ([65.39.196.238]) by ironport2-out.teksavvy.com with ESMTP; 09 Jun 2008 22:17:55 -0400 Received: from pastel.home ([206.248.132.168]) by smtp.teksavvy.com (Internet Mail Server v1.0) with ESMTP id QIB10155; Mon, 09 Jun 2008 22:17:55 -0400 Received: by pastel.home (Postfix, from userid 20848) id 92F218265; Mon, 9 Jun 2008 22:17:54 -0400 (EDT) From: Stefan Monnier To: jidanni@jidanni.org Cc: 381@debbugs.gnu.org, bug-gnu-emacs@gnu.org Subject: Re: bug#381: save-some-buffers recursive editing entrapment Message-ID: References: <873anmp4aj.fsf@jidanni.org> Date: Mon, 09 Jun 2008 22:17:54 -0400 In-Reply-To: <873anmp4aj.fsf@jidanni.org> (jidanni@jidanni.org's message of "Tue, 10 Jun 2008 07:38:44 +0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. > Let's examine the trouble one can get into with > C-x s runs the command save-some-buffers > 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; > Yeah, that will get one entangled into both recursive editing and view > mode, try it while you are entering the reply for this message. > d to view changes in this buffer; > Beep: "Buffer *mail* has no associated file on disc" (so don't ask in > this case); plus now we are recursive editing. > or . (period) to save the current buffer and exit. > Make you a deal: please just add a further choice: > g go to the current buffer (i.e., that buffer listed) > with no side effects, no marriage vows. Just put us in that buffer and > that's that. > 4 out of 5 users won't know how to climb out of recursive editing, now > that there is no message about it, except for brackets in the > modeline. And even if there was a message, it would get overwritten by > the view mode message. And, recursive editing messes up gnus for me. > So my new g proposal will not tangle up the user with recursive editing. Indeed, the recursive edit is a bit problematic (and the `d' may not always be applicable). Thanks. We'll see what we can do about it. Stefan From monnier@iro.umontreal.ca Tue Jun 10 18:50:30 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-3.4 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 381) by emacsbugs.donarmstrong.com; 11 Jun 2008 01:50:30 +0000 Received: from ironport2-out.teksavvy.com (ironport2-out.pppoe.ca [206.248.154.182]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m5B1oRg1031464 for <381@emacsbugs.donarmstrong.com>; Tue, 10 Jun 2008 18:50:28 -0700 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AsoEAOzLTkhMCpcZ/2dsb2JhbACBW68m X-IronPort-AV: E=Sophos;i="4.27,620,1204520400"; d="scan'208";a="22389236" Received: from smtp.pppoe.ca (HELO smtp.teksavvy.com) ([65.39.196.238]) by ironport2-out.teksavvy.com with ESMTP; 10 Jun 2008 21:50:21 -0400 Received: from pastel.home ([76.10.151.25]) by smtp.teksavvy.com (Internet Mail Server v1.0) with ESMTP id RHJ42121; Tue, 10 Jun 2008 21:50:21 -0400 Received: by pastel.home (Postfix, from userid 20848) id 1062B82F1; Tue, 10 Jun 2008 21:50:21 -0400 (EDT) From: Stefan Monnier To: 381@debbugs.gnu.org Subject: Re: bug#381: save-some-buffers recursive editing entrapment Message-ID: References: <873anmp4aj.fsf@jidanni.org> Date: Tue, 10 Jun 2008 21:50:21 -0400 In-Reply-To: <873anmp4aj.fsf@jidanni.org> (jidanni@jidanni.org's message of "Tue, 10 Jun 2008 07:38:44 +0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii > C-r to view this buffer; > Yeah, that will get one entangled into both recursive editing and view > mode, try it while you are entering the reply for this message. I've changed it so that recursive-edit is only used if you've set enable-recursive-minibuffers. Otherwise, the buffer is displayed and you have to use scroll-other-window to navigate through it. > d to view changes in this buffer; > Beep: "Buffer *mail* has no associated file on disc" (so don't ask in > this case); plus now we are recursive editing. Same here. It still offers the option for non-file buffers, tho. Stefan From monnier@iro.umontreal.ca Tue Jun 10 18:57:59 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-3.5 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at control) by emacsbugs.donarmstrong.com; 11 Jun 2008 01:57:59 +0000 Received: from ironport2-out.teksavvy.com (ironport2-out.teksavvy.com [206.248.154.182]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m5B1vu3t032653 for ; Tue, 10 Jun 2008 18:57:57 -0700 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AsoEAEPOTkhMCpcZ/2dsb2JhbACBW68f X-IronPort-AV: E=Sophos;i="4.27,621,1204520400"; d="scan'208";a="22389588" Received: from smtp.pppoe.ca (HELO smtp.teksavvy.com) ([65.39.196.238]) by ironport2-out.teksavvy.com with ESMTP; 10 Jun 2008 21:57:51 -0400 Received: from pastel.home ([76.10.151.25]) by smtp.teksavvy.com (Internet Mail Server v1.0) with ESMTP id RHQ34351; Tue, 10 Jun 2008 21:57:51 -0400 Received: by pastel.home (Postfix, from userid 20848) id 0A2F482F1; Tue, 10 Jun 2008 21:57:51 -0400 (EDT) From: Stefan Monnier To: control@debbugs.gnu.org Subject: Re: bug#381: save-some-buffers recursive editing entrapment Message-ID: References: <873anmp4aj.fsf@jidanni.org> Date: Tue, 10 Jun 2008 21:57:51 -0400 In-Reply-To: (Stefan Monnier's message of "Tue, 10 Jun 2008 21:50:21 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii close 381 From unknown Sat Jun 21 17:34:04 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: $requester Subject: Internal Control Message-Id: bug archived. Date: Wed, 09 Jul 2008 14:24:04 +0000 User-Agent: Fakemail v42.6.9 # A New Hope # A log time ago, in a galaxy far, far away # something happened. # # Magically this resulted in the following # action being taken, but this fake control # message doesn't tell you why it happened # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator