From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii <eliz@gnu.org> Newsgroups: gmane.emacs.bugs Subject: bug#69056: 30.0.50; history-add-new-input and recursive minibuffers Date: Sun, 11 Feb 2024 19:50:21 +0200 Message-ID: <86frxysxeq.fsf@gnu.org> References: <m11q9jngho.fsf@dazzs-mbp.home> <86il2vrlri.fsf@gnu.org> <m1frxy3nja.fsf@dazzs-mbp.home> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24778"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 69056@debbugs.gnu.org To: Eshel Yaron <me@eshelyaron.com> Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Feb 11 18:51:02 2024 Return-path: <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org> 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 <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org>) id 1rZDym-00068Y-HV for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 11 Feb 2024 18:51:00 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <bug-gnu-emacs-bounces@gnu.org>) id 1rZDyd-0006wP-7D; Sun, 11 Feb 2024 12:50:51 -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 <Debian-debbugs@debbugs.gnu.org>) id 1rZDyY-0006so-Li for bug-gnu-emacs@gnu.org; Sun, 11 Feb 2024 12:50:46 -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 <Debian-debbugs@debbugs.gnu.org>) id 1rZDyY-00016n-DB for bug-gnu-emacs@gnu.org; Sun, 11 Feb 2024 12:50:46 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1rZDyo-0001h8-Lo for bug-gnu-emacs@gnu.org; Sun, 11 Feb 2024 12:51:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii <eliz@gnu.org> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org> Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 11 Feb 2024 17:51:02 +0000 Resent-Message-ID: <handler.69056.B69056.17076738496473@debbugs.gnu.org> 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.17076738496473 (code B ref 69056); Sun, 11 Feb 2024 17:51:02 +0000 Original-Received: (at 69056) by debbugs.gnu.org; 11 Feb 2024 17:50:49 +0000 Original-Received: from localhost ([127.0.0.1]:35177 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>) id 1rZDya-0001gJ-Td for submit@debbugs.gnu.org; Sun, 11 Feb 2024 12:50:49 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43246) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@gnu.org>) id 1rZDyY-0001fv-Qv for 69056@debbugs.gnu.org; Sun, 11 Feb 2024 12:50:47 -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 <eliz@gnu.org>) id 1rZDyD-00014i-0m; Sun, 11 Feb 2024 12:50:25 -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=bkFe/+C2Np0hM6TA7HrbldtNj7X1+M8Gbeo/wYGXMPc=; b=an7Wm3Ze5vNk V/7q3KmzCQLeGfQYzIoxihHC/gKSzKVTMxw5ODU6xFISB2bLs/ZH6JrCCrdaW15KfzAJC+banUL4Z 9xAqo80qsTWojkRXDvPQtkPFjdl8K3VgJNjfzvCOYk92le9a35asNusMWT2tAW0rR/xDdadArfAh3 FOwubRvueNoPUD9x1RJmxB4i/2ODfsYQbh02ddIanjYf28oxFyfSdRUy3OV5WLfHYtu72idqP1FsQ ub+3ML0LExAZM6EIiHtQPSfBbg0tMJbJkonxZtpOSssdXvGAWorVJvbnVp2yB0U3VHv7/GOxbi03F qQbihNo1d9advHyt34Ez1g==; In-Reply-To: <m1frxy3nja.fsf@dazzs-mbp.home> (message from Eshel Yaron on Sun, 11 Feb 2024 18:42:49 +0100) 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" <bug-gnu-emacs.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-gnu-emacs>, <mailto:bug-gnu-emacs-request@gnu.org?subject=unsubscribe> List-Archive: <https://lists.gnu.org/archive/html/bug-gnu-emacs> List-Post: <mailto:bug-gnu-emacs@gnu.org> List-Help: <mailto:bug-gnu-emacs-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-gnu-emacs>, <mailto:bug-gnu-emacs-request@gnu.org?subject=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:279859 Archived-At: <http://permalink.gmane.org/gmane.emacs.bugs/279859> > From: Eshel Yaron <me@eshelyaron.com> > Cc: 69056@debbugs.gnu.org > Date: Sun, 11 Feb 2024 18:42:49 +0100 > > Eli Zaretskii <eliz@gnu.org> 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.