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#69056: 30.0.50; history-add-new-input and recursive minibuffers Date: Thu, 15 Feb 2024 10:19:18 +0200 Message-ID: <86sf1uw35l.fsf@gnu.org> References: <86il2vrlri.fsf@gnu.org> <86frxysxeq.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9997"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 69056@debbugs.gnu.org, me@eshelyaron.com To: Stefan Kangas , Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Feb 15 09:19:58 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 1raWyM-0002MB-7e for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 15 Feb 2024 09:19:58 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1raWy9-0006NZ-F0; Thu, 15 Feb 2024 03:19:45 -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 1raWy8-0006NQ-77 for bug-gnu-emacs@gnu.org; Thu, 15 Feb 2024 03:19:44 -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 1raWy7-0002TR-Ut for bug-gnu-emacs@gnu.org; Thu, 15 Feb 2024 03:19:43 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1raWyQ-0000BB-0h for bug-gnu-emacs@gnu.org; Thu, 15 Feb 2024 03:20:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 15 Feb 2024 08:20:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69056 X-GNU-PR-Package: emacs Original-Received: via spool by 69056-submit@debbugs.gnu.org id=B69056.1707985190664 (code B ref 69056); Thu, 15 Feb 2024 08:20:01 +0000 Original-Received: (at 69056) by debbugs.gnu.org; 15 Feb 2024 08:19:50 +0000 Original-Received: from localhost ([127.0.0.1]:53934 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1raWyE-0000Ad-BW for submit@debbugs.gnu.org; Thu, 15 Feb 2024 03:19:50 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:42730) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1raWyC-0000AQ-7C for 69056@debbugs.gnu.org; Thu, 15 Feb 2024 03:19:49 -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 1raWxn-0002NG-W3; Thu, 15 Feb 2024 03:19:24 -0500 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=cheBVPsUJCxQMPvhBqioKNN1dSS8RMxcpsyC5Ak66cc=; b=ZIKn23YXsn5D Oy+9MMbOBvmLV5XqaRsWenQDLyYNoTFHC6ht2Rl0j3CPNUOBgX4bZFhJj/FLsk7TL00QjK90RQHcr 1/qOGY2laixr4FW0ji06SFAFoMfCBzCyuUUrFxln1QvP8Vmmy3mghTKid5PtpnCRew6SYIKjrJ6yx vgM7JLXX7r2Am3hvU+lbv6eJisU5PvhHPxdnu9EjYhJT8ldxik5MLTKJm8Rng6L9/8rSDgEucN84c WLa/X2rp/qouHeIP1psGgn1aE+0KvN6FIJXYSH+FzjSK7IpOCWMpCwLc96CGHWzvY/2nbmZtL1xGN tccG9z5Zy/E+0NtXTN4AlA==; In-Reply-To: <86frxysxeq.fsf@gnu.org> (message from Eli Zaretskii on Sun, 11 Feb 2024 19:50:21 +0200) 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:280047 Archived-At: > Cc: 69056@debbugs.gnu.org > Date: Sun, 11 Feb 2024 19:50:21 +0200 > From: Eli Zaretskii > > > From: Eshel Yaron > > Cc: 69056@debbugs.gnu.org > > Date: Sun, 11 Feb 2024 18:42:49 +0100 > > > > Eli Zaretskii writes: > > > > > I'm not sure we should be interested in fixing this. Recursive > > > minibuffers are not supposed to start a completely new command loop > > > unaffected by whatever was before it, so we shouldn't try. > > > > I see that, but the problem, IMO, is that there's nothing telling you > > that you're in this state of not recording minibuffer history. You > > likely won't know that you're using a command that let-binds > > history-add-new-input when you enter a recursive minibuffer, and losing > > all minibuffer history from commands you invoked in the recursive edit > > may come as an unpleasant surprise. > > We should probably document this caveat. enable-recursive-minibuffers > is an advanced feature, not recommended to newbies. Stefan & Stefan, any comments or suggestions, beyond documenting this caveat?