From unknown Fri Aug 15 04:03:34 2025 X-Loop: don@donarmstrong.com Subject: bug#381: save-some-buffers recursive editing entrapment Reply-To: jidanni@jidanni.org, 381@debbugs.gnu.org Resent-From: jidanni@jidanni.org Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Mon, 09 Jun 2008 23:45:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 381 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.121305473831503 (code B ref -1); Mon, 09 Jun 2008 23:45:03 +0000 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 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 unknown Fri Aug 15 04:03:34 2025 X-Loop: don@donarmstrong.com Subject: bug#381: save-some-buffers recursive editing entrapment Reply-To: Stefan Monnier , 381@debbugs.gnu.org Resent-From: Stefan Monnier Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Tue, 10 Jun 2008 02:25:06 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 381 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.12130642816289 (code B ref -1); Tue, 10 Jun 2008 02:25:06 +0000 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 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 unknown Fri Aug 15 04:03:34 2025 X-Loop: don@donarmstrong.com Subject: bug#381: save-some-buffers recursive editing entrapment Reply-To: Stefan Monnier , 381@debbugs.gnu.org Resent-From: Stefan Monnier Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Wed, 11 Jun 2008 02:00:04 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 381 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 381-submit@emacsbugs.donarmstrong.com id=B381.121314903031470 (code B ref 381); Wed, 11 Jun 2008 02:00:04 +0000 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 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