From unknown Tue Jun 17 22:27:14 2025 X-Loop: help-debbugs@gnu.org Subject: bug#52389: 29.0.50; Imenu does not pop up the Completions eagerly Resent-From: Protesilaos Stavrou Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 09 Dec 2021 13:33:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 52389 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 52389@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.163905675511434 (code B ref -1); Thu, 09 Dec 2021 13:33:01 +0000 Received: (at submit) by debbugs.gnu.org; 9 Dec 2021 13:32:35 +0000 Received: from localhost ([127.0.0.1]:42905 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mvJX2-0002y8-NV for submit@debbugs.gnu.org; Thu, 09 Dec 2021 08:32:35 -0500 Received: from lists.gnu.org ([209.51.188.17]:42138) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mvJX1-0002y0-5N for submit@debbugs.gnu.org; Thu, 09 Dec 2021 08:32:19 -0500 Received: from eggs.gnu.org ([209.51.188.92]:36156) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mvJX0-0003r5-Ty for bug-gnu-emacs@gnu.org; Thu, 09 Dec 2021 08:32:18 -0500 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:40283) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mvJWy-0001Qz-Rt for bug-gnu-emacs@gnu.org; Thu, 09 Dec 2021 08:32:18 -0500 Received: (Authenticated sender: public@protesilaos.com) by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id D8A3CE000D for ; Thu, 9 Dec 2021 13:32:12 +0000 (UTC) From: Protesilaos Stavrou Date: Thu, 09 Dec 2021 15:32:11 +0200 Message-ID: <87bl1pj44k.fsf@protesilaos.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: none client-ip=217.70.183.196; envelope-from=info@protesilaos.com; helo=relay4-d.mail.gandi.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain Dear maintainers, I think the current behaviour of 'imenu-eager-completion-buffer' is counter-intuitive. Its default value is non-nil, while its doc string tells us that: If non-nil, eagerly popup the completion buffer. This, however, is not what actually happens. With 'emacs -Q': + Include a demo function in the scratch buffer: (defun test-fn ()) + M-x imenu + Here we expect the Completions' buffer to eagerly pop up, yet it does not. + M-: (setq imenu-eager-completion-buffer nil) + M-x imenu + The Completions' buffer now pops up automatically. Do you agree that this is counter-intuitive? If so, please find attached a patch that should fix the issue. I was not sure this was NEWSworthy, but I included an entry regardless. All the best, Protesilaos -- Protesilaos Stavrou https://protesilaos.com --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-Fix-semantics-of-imenu-eager-completion-buffer.patch >From b4625110cb5b40f079c134a73e9be8240818fa33 Mon Sep 17 00:00:00 2001 Message-Id: From: Protesilaos Stavrou Date: Thu, 9 Dec 2021 15:19:48 +0200 Subject: [PATCH] Fix semantics of imenu-eager-completion-buffer * etc/NEWS: Document the change. * lisp/imenu.el (imenu-eager-completion-buffer): Set the default value to nil, as that was the intended one. (imenu--completion-buffer): Update the condition to check for a non-nil value to 'imenu-eager-completion-buffer'. --- etc/NEWS | 7 +++++++ lisp/imenu.el | 6 +++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/etc/NEWS b/etc/NEWS index b9134d850e..a83f2d2a86 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -706,6 +706,13 @@ the Netscape web browser was released in February, 2008. This support has been obsolete since Emacs 25.1. The final version of the Galeon web browser was released in September, 2008. +** Imenu +The default value of 'imenu-eager-completion-buffer' is set to nil to +better convey the intended semantics of optionally popping up the +Completions' buffer automatically after invoking M-x imenu (with the +default settings from previous versions, the Completions would not pop +up automatically and the same is true now). + * New Modes and Packages in Emacs 29.1 diff --git a/lisp/imenu.el b/lisp/imenu.el index 22412d5f88..bf12e110e5 100644 --- a/lisp/imenu.el +++ b/lisp/imenu.el @@ -99,10 +99,10 @@ (defcustom imenu-use-popup-menu 'on-mouse (const :tag "Never" nil) (other :tag "Always" t))) -(defcustom imenu-eager-completion-buffer t +(defcustom imenu-eager-completion-buffer nil "If non-nil, eagerly popup the completion buffer." :type 'boolean - :version "22.1") + :version "29.1") (defcustom imenu-after-jump-hook nil "Hooks called after jumping to a place in the buffer. @@ -727,7 +727,7 @@ (defun imenu--completion-buffer (index-alist &optional prompt) name)))) (let ((minibuffer-setup-hook minibuffer-setup-hook)) ;; Display the completion buffer. - (if (not imenu-eager-completion-buffer) + (when imenu-eager-completion-buffer (add-hook 'minibuffer-setup-hook 'minibuffer-completion-help)) (setq name (completing-read prompt prepared-index-alist -- 2.34.1 --=-=-=-- From unknown Tue Jun 17 22:27:14 2025 X-Loop: help-debbugs@gnu.org Subject: bug#52389: 29.0.50; Imenu does not pop up the Completions eagerly Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 10 Dec 2021 11:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52389 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Protesilaos Stavrou Cc: 52389@debbugs.gnu.org Received: via spool by 52389-submit@debbugs.gnu.org id=B52389.163913709217570 (code B ref 52389); Fri, 10 Dec 2021 11:52:02 +0000 Received: (at 52389) by debbugs.gnu.org; 10 Dec 2021 11:51:32 +0000 Received: from localhost ([127.0.0.1]:45729 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mveR1-0004ZK-SS for submit@debbugs.gnu.org; Fri, 10 Dec 2021 06:51:32 -0500 Received: from quimby.gnus.org ([95.216.78.240]:54706) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mveR0-0004Z8-Kg for 52389@debbugs.gnu.org; Fri, 10 Dec 2021 06:51:31 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=7ldNEs68v9MOu43VTmOSpSsYvHEw4eeEdADBszCmzuQ=; b=ChXCwkofUHKiRzDDo7K2wzmXlw FrJcrxDCWILDF0tYJUO9w96sKUAbmviZNFyoUZ3C54zZZSwlypqEb2ii3CC9J6DBTyOzoDaRXV7ml MpftJwahkLZkGG8wZq6kMvIhjqN3yfg/12U0mKuz11436dlqZaYS6GEGvpg1j+LFmooc=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mveQr-0002oc-O0; Fri, 10 Dec 2021 12:51:24 +0100 From: Lars Ingebrigtsen References: <87bl1pj44k.fsf@protesilaos.com> X-Now-Playing: The Smiths's _Hatful Of Hollow_: "William It Was Really Nothing" Date: Fri, 10 Dec 2021 12:51:18 +0100 In-Reply-To: <87bl1pj44k.fsf@protesilaos.com> (Protesilaos Stavrou's message of "Thu, 09 Dec 2021 15:32:11 +0200") Message-ID: <87mtl8znih.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Protesilaos Stavrou writes: > * lisp/imenu.el (imenu-eager-completion-buffer): Set the default value > to nil, as that was the intended one. > (imenu--completion-buffer): Update the condition to check for a > non-nil value to 'i [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Protesilaos Stavrou writes: > * lisp/imenu.el (imenu-eager-completion-buffer): Set the default value > to nil, as that was the intended one. > (imenu--completion-buffer): Update the condition to check for a > non-nil value to 'imenu-eager-completion-buffer'. But you're reversing the logic, so that people who have set this to nil now won't get an eager pop up? I don't think we can do that. The documentation (and indeed the name of the variable) seems to be wrong, though. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From unknown Tue Jun 17 22:27:14 2025 X-Loop: help-debbugs@gnu.org Subject: bug#52389: 29.0.50; Imenu does not pop up the Completions eagerly Resent-From: Daniel =?UTF-8?Q?Mart=C3=ADn?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 10 Dec 2021 15:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52389 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Lars Ingebrigtsen Cc: Protesilaos Stavrou , 52389@debbugs.gnu.org Received: via spool by 52389-submit@debbugs.gnu.org id=B52389.163914942210864 (code B ref 52389); Fri, 10 Dec 2021 15:18:02 +0000 Received: (at 52389) by debbugs.gnu.org; 10 Dec 2021 15:17:02 +0000 Received: from localhost ([127.0.0.1]:47734 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mvhdu-0002p2-3S for submit@debbugs.gnu.org; Fri, 10 Dec 2021 10:17:02 -0500 Received: from sonic305-20.consmr.mail.ir2.yahoo.com ([77.238.177.82]:36060) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mvhdq-0002oc-7e for 52389@debbugs.gnu.org; Fri, 10 Dec 2021 10:17:00 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.es; s=s2048; t=1639149411; bh=B1/s5qjdlzjhVExnW0EaUaD3dsskzUiacRT1YvjQSLQ=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=X0APEPasEQh4yIaRj3yWiDTqLtXZeV5i764MKcuIsgt7qVtuNWD/5OI96yJXka0cnVP0FWgBF7h9zmA3bJBGn8fgyT2UQwNWedBvVuwNItBnWxWlLdUWI6xsmNVtyxNFEoRCYCPuyIwBzMtz885E8Xmgpbw0YSX5iY+W9YrkA+Z4UkcQSPbWJfmZYhAEm8dZDYyI44DjzXZMi3ZQtpKVej+iA0AAA/uKC6+PJJ9GDgrcA0U2SAWCDxst39Cea6tUrAf6bkLQOheKxsxmvLP3OE+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KIc5vFVF GaI2sgXf7Ap2ilqItnoAWulq5ZM3fd0h06jCdbSGpczzMt12mO4wRv1Kn8oSsNMqANuUEHTF28BV RtS8L2sZiBnSVI0BcnEZ5JkJx4jqibv5U8l3TImV9HNed2LAtzOju3AayY6EJO59iMcZazRGKBsi fuPk03aUivA0rzL16hMCK0_bEPJp_rDaa5RkqVVhXQbPBGGgMRqeWnB58Q5f9AyR2ugB9eqm4unA EbsXU75xRZAsiqavfOuUeoSngXQI.QI1jgC.D6a0p_nrLPEd2NFvumcpE1mnicTda1i.fFs_OtGP lQTFWnj70wdhYWv9qrTKWzRS06MIRcApXwFIrR91ogEXO9NY54Cj9gq7IpcooDreTGoHZbIlZZ4e 1070F6vG.8vaAzHnBThZjOxrkQSkN0BpSyTdry5dVN8vif5aHl_nvJObsY_ETNh8WvMh5IzXAlaC QrurN7Z5F.N8DQpaP2rcOBKQa8ASH4KlDxW0JI61WaOdJpaDeSvHg22o9i.d_2DXFHlXUmCOCbhC 65xGaJLIJgndtlIqGsjdKCZsMkiyU8eHinO9saQ80TW1Dw2Vk1Bokkg0TXiHOzYcC6xrHvKltwin nH4BhVlNdLPeCmLj3qDTKLYmuvHuKpxq8dtwcMIr1e53jaoWInW4EKPbAWQ4ptZfawAd1Z7DTz0H ytO277BfEznzS0aWmzaXU18sw7j5Mf60QkuudN7z9JM1yHUvpQljCJTCQ1w-- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic305.consmr.mail.ir2.yahoo.com with HTTP; Fri, 10 Dec 2021 15:16:51 +0000 Received: by kubenode516.mail-prod1.omega.ir2.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 31d0e8e0676aaa6f9f60c7d08345daa8; Fri, 10 Dec 2021 15:16:48 +0000 (UTC) From: Daniel =?UTF-8?Q?Mart=C3=ADn?= References: <87bl1pj44k.fsf@protesilaos.com> <87mtl8znih.fsf@gnus.org> Date: Fri, 10 Dec 2021 16:16:47 +0100 In-Reply-To: <87mtl8znih.fsf@gnus.org> (Lars Ingebrigtsen's message of "Fri, 10 Dec 2021 12:51:18 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (darwin) MIME-Version: 1.0 Content-Type: text/plain X-Mailer: WebService/1.1.19415 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Content-Length: 767 X-Spam-Score: 0.2 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.8 (/) Lars Ingebrigtsen writes: > Protesilaos Stavrou writes: > >> * lisp/imenu.el (imenu-eager-completion-buffer): Set the default value >> to nil, as that was the intended one. >> (imenu--completion-buffer): Update the condition to check for a >> non-nil value to 'imenu-eager-completion-buffer'. > > But you're reversing the logic, so that people who have set this to nil > now won't get an eager pop up? > > I don't think we can do that. The documentation (and indeed the name of > the variable) seems to be wrong, though. I think the safest way to solve this long-standing problem without surprising users is to introduce a new variable whose logic is handled correctly, and mark imenu-eager-completion-buffer as deprecated. From unknown Tue Jun 17 22:27:14 2025 X-Loop: help-debbugs@gnu.org Subject: bug#52389: 29.0.50; Imenu does not pop up the Completions eagerly Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 11 Dec 2021 03:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52389 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Daniel =?UTF-8?Q?Mart=C3=ADn?= Cc: Protesilaos Stavrou , 52389@debbugs.gnu.org Received: via spool by 52389-submit@debbugs.gnu.org id=B52389.16391931381829 (code B ref 52389); Sat, 11 Dec 2021 03:26:02 +0000 Received: (at 52389) by debbugs.gnu.org; 11 Dec 2021 03:25:38 +0000 Received: from localhost ([127.0.0.1]:48305 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mvt10-0000TR-20 for submit@debbugs.gnu.org; Fri, 10 Dec 2021 22:25:38 -0500 Received: from quimby.gnus.org ([95.216.78.240]:33500) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mvt0y-0000TD-2D for 52389@debbugs.gnu.org; Fri, 10 Dec 2021 22:25:36 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=N9CF/zR+oYDP2XsW79QZoiFPY1wOhzMPr966kYvShUQ=; b=CsKDsp0PZy+vrlGB130K4N5unn 7UDVrNYHVwUci/gduksg40bWpEtg0NiAUMrcb2W6v7bGuISdwsaox1w2yok2lymxMeXn/nuSWeI6m wgQ91uUlQ/C0BUKX3NyhylSBZIYC5LrCo4MLMVNm0tjKEvN/Yx0zMqBLJ6YlnUMvNAeQ=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mvt0o-0000MF-GU; Sat, 11 Dec 2021 04:25:29 +0100 From: Lars Ingebrigtsen References: <87bl1pj44k.fsf@protesilaos.com> <87mtl8znih.fsf@gnus.org> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAFVBMVEXq8fnAqLegeX9e OEAjFBucVUH///8QE4DzAAAAAWJLR0QGYWa4fQAAAAd0SU1FB+UMCg0iAI96+IcAAAGdSURBVDjL 1VNBbsNACNzkBbHzgtjtvTLwAsgHgvn/Vzqw2ciVUqnXcshGMzALw7q1fx8T4i28LLTc3sArmSm1 H9RpmomAI5peDtnzShVJ2DSYeSnQO9V4/ur4lY5hjeatejvzC3RSIhAkt0s78TE/CQMhy3TNRBsE o107K3iKz2NFEQtwY5MoSJBTVIvsz1AlLhEumATnKs17Kco8hlI4oyvxrTe4i2DknIGcrUUKoMEt b+yixRQRXSRSXnoCPQnom7o8hlU8iEdyTttHZUHZn0TFA832+meFD8ZjM+1X9q7oRRDb2ikMqAPN YHUtsVZWUNboaJzvOJtSCKokk7OMlctRmChlSMRu+LnvyorXw628wVwibpmZQzA8aUDZcq8SBpPz QoWV0RIDsmLB+c7QExJRWvvAAn2TYFgrNIiczg1dMS6BICzjkso11xxQhx8Ch1JS63JsAbALtLIJ VCjeLoaoJZpIIrh8r9fONVx5IfUByI52jdGuvExcOdW4+IY/MKAeLJDCuBO/xB8JpeeZ32CenhOb YKB8AjDE+RtdBtpHyoFRdQAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAyMS0xMi0xMFQxMzozNDowMCsw MDowMD0NvwUAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMjEtMTItMTBUMTM6MzQ6MDArMDA6MDBMUAe5 AAAAAElFTkSuQmCC X-Now-Playing: Section 25's _From The Hip_: "Back To Wonder (12" Version)" Date: Sat, 11 Dec 2021 04:25:25 +0100 In-Reply-To: ("Daniel =?UTF-8?Q?Mart=C3=ADn?="'s message of "Fri, 10 Dec 2021 16:16:47 +0100") Message-ID: <87h7bfx1p6.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Daniel =?UTF-8?Q?Mart=C3=ADn?= writes: > I think the safest way to solve this long-standing problem without > surprising users is to introduce a new variable whose logic is handled > correctly, and mark imenu-eager-completion-buffer as dep [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Daniel Mart=C3=ADn writes: > I think the safest way to solve this long-standing problem without > surprising users is to introduce a new variable whose logic is handled > correctly, and mark imenu-eager-completion-buffer as deprecated. Sounds good to me. (The new variable could be an alias of the old name, but have a name with the opposite meaning, and then things would continue to work for everybody.) --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From unknown Tue Jun 17 22:27:14 2025 X-Loop: help-debbugs@gnu.org Subject: bug#52389: 29.0.50; Imenu does not pop up the Completions eagerly Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 11 Dec 2021 20:20:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52389 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Lars Ingebrigtsen Cc: Protesilaos Stavrou , 52389@debbugs.gnu.org, Daniel =?UTF-8?Q?Mart=C3=ADn?= Received: via spool by 52389-submit@debbugs.gnu.org id=B52389.16392539712813 (code B ref 52389); Sat, 11 Dec 2021 20:20:01 +0000 Received: (at 52389) by debbugs.gnu.org; 11 Dec 2021 20:19:31 +0000 Received: from localhost ([127.0.0.1]:50066 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mw8qB-0000jJ-Kb for submit@debbugs.gnu.org; Sat, 11 Dec 2021 15:19:31 -0500 Received: from relay10.mail.gandi.net ([217.70.178.230]:43155) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mw8q9-0000j3-29 for 52389@debbugs.gnu.org; Sat, 11 Dec 2021 15:19:30 -0500 Received: (Authenticated sender: juri@linkov.net) by relay10.mail.gandi.net (Postfix) with ESMTPSA id 2A07C240005; Sat, 11 Dec 2021 20:19:20 +0000 (UTC) From: Juri Linkov Organization: LINKOV.NET References: <87bl1pj44k.fsf@protesilaos.com> <87mtl8znih.fsf@gnus.org> <87h7bfx1p6.fsf@gnus.org> Date: Sat, 11 Dec 2021 22:16:01 +0200 In-Reply-To: <87h7bfx1p6.fsf@gnus.org> (Lars Ingebrigtsen's message of "Sat, 11 Dec 2021 04:25:25 +0100") Message-ID: <86h7belwxq.fsf@mail.linkov.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) >> I think the safest way to solve this long-standing problem without >> surprising users is to introduce a new variable whose logic is handled >> correctly, and mark imenu-eager-completion-buffer as deprecated. > > Sounds good to me. (The new variable could be an alias of the old name, > but have a name with the opposite meaning, and then things would > continue to work for everybody.) This is a good opportunity for generalization. Like there is icomplete-show-matches-on-no-input, would it be possible to create a new user option e.g. minibuffer-auto-show-completions, and allow to customize what commands should use it. Then it could be like completion-auto-select recently proposed by Philip. From unknown Tue Jun 17 22:27:14 2025 X-Loop: help-debbugs@gnu.org Subject: bug#52389: 29.0.50; Imenu does not pop up the Completions eagerly Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 12 Dec 2021 04:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52389 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Juri Linkov Cc: Protesilaos Stavrou , 52389@debbugs.gnu.org, Daniel =?UTF-8?Q?Mart=C3=ADn?= Received: via spool by 52389-submit@debbugs.gnu.org id=B52389.163928512018314 (code B ref 52389); Sun, 12 Dec 2021 04:59:02 +0000 Received: (at 52389) by debbugs.gnu.org; 12 Dec 2021 04:58:40 +0000 Received: from localhost ([127.0.0.1]:50435 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mwGwa-0004lJ-7A for submit@debbugs.gnu.org; Sat, 11 Dec 2021 23:58:40 -0500 Received: from quimby.gnus.org ([95.216.78.240]:44604) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mwGwY-0004l6-FE for 52389@debbugs.gnu.org; Sat, 11 Dec 2021 23:58:39 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=naYsPNI1QK6vHvl0pAhiMo+sc4HWWLue5Zj0sIRT6vI=; b=MRxgzNG28/c2jxL+RlI2wZ9011 mJFIK2mtnTrWCQVGL6bR1AzugfsKc2/dhrjFxJRkXJ2U8f0VZB5CTdX05hXcT8I/im2czmkdgFdF0 7niMiWEVdTb/Az2bxZUCsWWwDGldmOjsxgG16bomihDGeFAtn4naOMrlrpi/7lNjQ9H4=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mwGwP-0001uN-3M; Sun, 12 Dec 2021 05:58:32 +0100 From: Lars Ingebrigtsen References: <87bl1pj44k.fsf@protesilaos.com> <87mtl8znih.fsf@gnus.org> <87h7bfx1p6.fsf@gnus.org> <86h7belwxq.fsf@mail.linkov.net> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAD1BMVEXu3QKgkgFcVAGF egH///9tNUTkAAAAAWJLR0QEj2jZUQAAAAd0SU1FB+UMDAQqHHkYSpMAAAGjSURBVDjLrZTblSMx CEQlO4FGJLCIBCzIP7ep0qPds9+jY//omgIK5FL+8DTJ6N/zr4xSPxOk5wPYazSLBe4zQcXHFhjz VhYDkLBKoCKKex7NsEuijxkx5D4T9O4T6ONeFComV3mAFceIhgpWHzzNVkyzGpkPqWREOAtyWVoL BCKiz8iM7PWWYrl9gqu80w4IBnQCtcout4moSYXlE8gIWV5B26dQzghI+ZFKyvRhLSnVfUnRKsW9 qri40nZpB2AEJpH46lSpu3MEoKxAf5L2puwGGC2bjm4EbHUlZ4YY0thI2oVxfXZVyBypnOyAu2dL lFIRKYMAbvRxm9g6fi9GF3POw49XQwjofNL2s3BwpIdMoASxIxBKdiIu7T5zNPwgPeKWgpt74YKb 8MixZ96SbsHAIwUfbpDqN6h21QW8DW0Abjp318NXDnSMCNhIkPa6pKyqBk1yzm31ccxqbLs7LeYO rXlsSwYfmzoeygDA/N5ndyGtGBNSixUvbc5XZXyfAaRe2Mb2/8MhKP1T1179AvmdYMvfEVN5Apj7 APgD2ODPzg8tvl9S/uy48AAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAyMS0xMi0xMlQwNDo0MjoyOCsw MDowMA8+UZYAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMjEtMTItMTJUMDQ6NDI6MjgrMDA6MDB+Y+kq AAAAAElFTkSuQmCC X-Now-Playing: Snapped Ankles's _Come Play The Trees_: "Jonny Guitar Calling Gosta Berlin" Date: Sun, 12 Dec 2021 05:58:28 +0100 In-Reply-To: <86h7belwxq.fsf@mail.linkov.net> (Juri Linkov's message of "Sat, 11 Dec 2021 22:16:01 +0200") Message-ID: <8735myh11n.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Juri Linkov writes: > This is a good opportunity for generalization. > Like there is icomplete-show-matches-on-no-input, > would it be possible to create a new user option > e.g. minibuffer-auto-show-completions, and all [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Juri Linkov writes: > This is a good opportunity for generalization. > Like there is icomplete-show-matches-on-no-input, > would it be possible to create a new user option > e.g. minibuffer-auto-show-completions, and allow > to customize what commands should use it. Hm... I think that sounds rather confusing... -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From unknown Tue Jun 17 22:27:14 2025 X-Loop: help-debbugs@gnu.org Subject: bug#52389: 29.0.50; Imenu does not pop up the Completions eagerly Resent-From: Protesilaos Stavrou Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 12 Dec 2021 06:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52389 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Juri Linkov , Lars Ingebrigtsen Cc: 52389@debbugs.gnu.org, Daniel =?UTF-8?Q?Mart=C3=ADn?= Received: via spool by 52389-submit@debbugs.gnu.org id=B52389.163928935818865 (code B ref 52389); Sun, 12 Dec 2021 06:10:02 +0000 Received: (at 52389) by debbugs.gnu.org; 12 Dec 2021 06:09:18 +0000 Received: from localhost ([127.0.0.1]:50510 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mwI2w-0004uD-Co for submit@debbugs.gnu.org; Sun, 12 Dec 2021 01:09:18 -0500 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:50321) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mwI2v-0004tx-1X for 52389@debbugs.gnu.org; Sun, 12 Dec 2021 01:09:17 -0500 Received: (Authenticated sender: public@protesilaos.com) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id A44DC60009; Sun, 12 Dec 2021 06:09:09 +0000 (UTC) From: Protesilaos Stavrou In-Reply-To: <86h7belwxq.fsf@mail.linkov.net> References: <87bl1pj44k.fsf@protesilaos.com> <87mtl8znih.fsf@gnus.org> <87h7bfx1p6.fsf@gnus.org> <86h7belwxq.fsf@mail.linkov.net> User-Agent: Notmuch/0.34.1 (https://notmuchmail.org) Emacs/29.0.50 (x86_64-pc-linux-gnu) Date: Sun, 12 Dec 2021 08:09:07 +0200 Message-ID: <877dcacq2k.fsf@protesilaos.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) On 2021-12-11, 22:16 +0200, Juri Linkov wrote: >>> I think the safest way to solve this long-standing problem without >>> surprising users is to introduce a new variable whose logic is handled >>> correctly, and mark imenu-eager-completion-buffer as deprecated. >> >> Sounds good to me. (The new variable could be an alias of the old name, >> but have a name with the opposite meaning, and then things would >> continue to work for everybody.) > > This is a good opportunity for generalization. > Like there is icomplete-show-matches-on-no-input, > would it be possible to create a new user option > e.g. minibuffer-auto-show-completions, and allow > to customize what commands should use it. > Then it could be like completion-auto-select > recently proposed by Philip. That is possible with my mct package on GNU ELPA. It has the option of a passlist for commands that should eagerly pop up the Completions' buffer. [ Philip mentioned mct in those patches. ] Note, however, that the case here with Imenu is different because even if you pop the completions eagerly upon M-x imenu, you still need to handle the case of nested Imenu entries. That is what the user option imenu-eager-completion-buffer helps deal with. Actually, what prompted me to report this bug was due to an issue in the mct repo, where I discovered the confusing doc string of that Imenu user option: . -- Protesilaos Stavrou https://protesilaos.com From unknown Tue Jun 17 22:27:14 2025 X-Loop: help-debbugs@gnu.org Subject: bug#52389: 29.0.50; Imenu does not pop up the Completions eagerly Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 12 Dec 2021 17:43:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52389 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Protesilaos Stavrou Cc: Lars Ingebrigtsen , 52389@debbugs.gnu.org, Daniel =?UTF-8?Q?Mart=C3=ADn?= Received: via spool by 52389-submit@debbugs.gnu.org id=B52389.16393309489585 (code B ref 52389); Sun, 12 Dec 2021 17:43:01 +0000 Received: (at 52389) by debbugs.gnu.org; 12 Dec 2021 17:42:28 +0000 Received: from localhost ([127.0.0.1]:53026 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mwSrk-0002UX-1b for submit@debbugs.gnu.org; Sun, 12 Dec 2021 12:42:28 -0500 Received: from relay12.mail.gandi.net ([217.70.178.232]:41681) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mwSri-0002UJ-J2 for 52389@debbugs.gnu.org; Sun, 12 Dec 2021 12:42:27 -0500 Received: (Authenticated sender: juri@linkov.net) by relay12.mail.gandi.net (Postfix) with ESMTPSA id 1ADD6200006; Sun, 12 Dec 2021 17:42:18 +0000 (UTC) From: Juri Linkov Organization: LINKOV.NET References: <87bl1pj44k.fsf@protesilaos.com> <87mtl8znih.fsf@gnus.org> <87h7bfx1p6.fsf@gnus.org> <86h7belwxq.fsf@mail.linkov.net> <877dcacq2k.fsf@protesilaos.com> Date: Sun, 12 Dec 2021 19:36:15 +0200 In-Reply-To: <877dcacq2k.fsf@protesilaos.com> (Protesilaos Stavrou's message of "Sun, 12 Dec 2021 08:09:07 +0200") Message-ID: <86sfuxlo8g.fsf@mail.linkov.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) >> This is a good opportunity for generalization. >> Like there is icomplete-show-matches-on-no-input, >> would it be possible to create a new user option >> e.g. minibuffer-auto-show-completions, and allow >> to customize what commands should use it. >> Then it could be like completion-auto-select >> recently proposed by Philip. > > That is possible with my mct package on GNU ELPA. It has the option of > a passlist for commands that should eagerly pop up the Completions' > buffer. > > [ Philip mentioned mct in those patches. ] > > Note, however, that the case here with Imenu is different because even > if you pop the completions eagerly upon M-x imenu, you still need to > handle the case of nested Imenu entries. That is what the user option > imenu-eager-completion-buffer helps deal with. Actually, what prompted > me to report this bug was due to an issue in the mct repo, where I > discovered the confusing doc string of that Imenu user option: > . Thanks for the reference, I see the problem now: after adding ‘imenu’ to mct-completion-passlist, ‘M-x imenu RET’ auto-displays completions correctly. But the problem is that selecting e.g. a nested completion doesn't auto-display the nested completion list, because in the first case ‘this-command’ is ‘imenu’, but in the second case it's a command that selects the nested completion. Fortunately, it's possible to solve this problem using the new variable introduced in 28.1: ‘current-minibuffer-command’ that is like ‘this-command’, but preserves its value during the nested minibuffer activities. To make it backward-compatibile with Emacs 27.1, 'bound-and-true-p' could help to check if the variable is defined, e.g. #+begin_src emacs-lisp ((memq (or (bound-and-true-p current-minibuffer-command) this-command) mct-completion-passlist) #+end_src Then 'imenu' in 'mct-completion-passlist' will be available for the nested minibuffer commands. PS: Overall, your package mct makes progress towards better minibuffer/completions interactions. However, its behaviour can't be enabled by default in Emacs, because e.g. such keys as up/down arrows traditionally are used for history navigation. From unknown Tue Jun 17 22:27:14 2025 X-Loop: help-debbugs@gnu.org Subject: bug#52389: 29.0.50; Imenu does not pop up the Completions eagerly Resent-From: Protesilaos Stavrou Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 13 Dec 2021 07:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52389 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Juri Linkov Cc: Lars Ingebrigtsen , 52389@debbugs.gnu.org, Daniel =?UTF-8?Q?Mart=C3=ADn?= Received: via spool by 52389-submit@debbugs.gnu.org id=B52389.163938006018495 (code B ref 52389); Mon, 13 Dec 2021 07:21:02 +0000 Received: (at 52389) by debbugs.gnu.org; 13 Dec 2021 07:21:00 +0000 Received: from localhost ([127.0.0.1]:53924 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mwfdr-0004oC-Pb for submit@debbugs.gnu.org; Mon, 13 Dec 2021 02:21:00 -0500 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:51079) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mwfdp-0004nx-T2 for 52389@debbugs.gnu.org; Mon, 13 Dec 2021 02:20:58 -0500 Received: (Authenticated sender: public@protesilaos.com) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id 0BFCD60007; Mon, 13 Dec 2021 07:20:48 +0000 (UTC) From: Protesilaos Stavrou In-Reply-To: <86sfuxlo8g.fsf@mail.linkov.net> References: <87bl1pj44k.fsf@protesilaos.com> <87mtl8znih.fsf@gnus.org> <87h7bfx1p6.fsf@gnus.org> <86h7belwxq.fsf@mail.linkov.net> <877dcacq2k.fsf@protesilaos.com> <86sfuxlo8g.fsf@mail.linkov.net> User-Agent: Notmuch/0.34.1 (https://notmuchmail.org) Emacs/29.0.50 (x86_64-pc-linux-gnu) Date: Mon, 13 Dec 2021 09:20:47 +0200 Message-ID: <87pmq1j7hs.fsf@protesilaos.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: base64 X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) T24gMjAyMS0xMi0xMiwgMTk6MzYgKzAyMDAsIEp1cmkgTGlua292IDxqdXJpQGxpbmtvdi5uZXQ+ IHdyb3RlOg0KDQo+Pj4gVGhpcyBpcyBhIGdvb2Qgb3Bwb3J0dW5pdHkgZm9yIGdlbmVyYWxpemF0 aW9uLg0KPj4+IExpa2UgdGhlcmUgaXMgaWNvbXBsZXRlLXNob3ctbWF0Y2h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d29ydGggcHV0dGluZyBpdCBvbiBHTlUgRUxQQSBhcyBhDQpw cm9vZi1vZi1jb25jZXB0LiAgUGF0Y2hpbmcgRW1hY3MgdGhlIHdheSBQaGlsaXAgc3VnZ2VzdHMg c2hvdWxkIGJlIHRoZQ0KcmlnaHQgd2F5IGZvcndhcmQuDQoNCiogKiAqDQoNClJlZ2FyZGluZyB0 aGlzIGJ1ZyByZXBvcnQsIEkgYW0gbm90IHN1cmUgd2hhdCB0aGUgc3RhdHVzIGlzLiAgU2hvdWxk IEkNCnJld3JpdGUgdGhlIHBhdGNoIHRvIHNwZWNpZnkgYSBkZWZpbmUtb2Jzb2xldGUtdmFyaWFi bGUtYWxpYXMgaW5zdGVhZD8NCk9yIGlzIHNvbWVvbmUgZWxzZSB0YWtpbmcgY2FyZSBvZiBpdD8N Cg0KLS0gDQpQcm90ZXNpbGFvcyBTdGF2cm91DQpodHRwczovL3Byb3Rlc2lsYW9zLmNvbQ0K From unknown Tue Jun 17 22:27:14 2025 X-Loop: help-debbugs@gnu.org Subject: bug#52389: 29.0.50; Imenu does not pop up the Completions eagerly Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 13 Dec 2021 09:49:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52389 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Protesilaos Stavrou Cc: Lars Ingebrigtsen , 52389@debbugs.gnu.org, Daniel =?UTF-8?Q?Mart=C3=ADn?= Received: via spool by 52389-submit@debbugs.gnu.org id=B52389.1639388901378 (code B ref 52389); Mon, 13 Dec 2021 09:49:03 +0000 Received: (at 52389) by debbugs.gnu.org; 13 Dec 2021 09:48:21 +0000 Received: from localhost ([127.0.0.1]:54171 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mwhwT-000061-FQ for submit@debbugs.gnu.org; Mon, 13 Dec 2021 04:48:21 -0500 Received: from relay6-d.mail.gandi.net ([217.70.183.198]:45189) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mwhwR-00005T-E9 for 52389@debbugs.gnu.org; Mon, 13 Dec 2021 04:48:19 -0500 Received: (Authenticated sender: juri@linkov.net) by relay6-d.mail.gandi.net (Postfix) with ESMTPSA id 12B4CC000F; Mon, 13 Dec 2021 09:48:10 +0000 (UTC) From: Juri Linkov Organization: LINKOV.NET References: <87bl1pj44k.fsf@protesilaos.com> <87mtl8znih.fsf@gnus.org> <87h7bfx1p6.fsf@gnus.org> <86h7belwxq.fsf@mail.linkov.net> <877dcacq2k.fsf@protesilaos.com> <86sfuxlo8g.fsf@mail.linkov.net> <87pmq1j7hs.fsf@protesilaos.com> Date: Mon, 13 Dec 2021 10:53:59 +0200 In-Reply-To: <87pmq1j7hs.fsf@protesilaos.com> (Protesilaos Stavrou's message of "Mon, 13 Dec 2021 09:20:47 +0200") Message-ID: <86r1agdfio.fsf@mail.linkov.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) > Regarding this bug report, I am not sure what the status is. Should I > rewrite the patch to specify a define-obsolete-variable-alias instead? > Or is someone else taking care of it? It seems everyone agrees here it would be preferable to rewrite the patch using define-obsolete-variable-alias. Any generalization that uses current-minibuffer-command could be implemented later, without impeding the fix for this bug report. From unknown Tue Jun 17 22:27:14 2025 X-Loop: help-debbugs@gnu.org Subject: bug#52389: 29.0.50; Imenu does not pop up the Completions eagerly Resent-From: Protesilaos Stavrou Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 17 Dec 2021 11:59:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52389 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Juri Linkov Cc: Lars Ingebrigtsen , 52389@debbugs.gnu.org, Daniel =?UTF-8?Q?Mart=C3=ADn?= Received: via spool by 52389-submit@debbugs.gnu.org id=B52389.163974228328532 (code B ref 52389); Fri, 17 Dec 2021 11:59:01 +0000 Received: (at 52389) by debbugs.gnu.org; 17 Dec 2021 11:58:03 +0000 Received: from localhost ([127.0.0.1]:38126 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1myBsB-0007Q8-Da for submit@debbugs.gnu.org; Fri, 17 Dec 2021 06:58:03 -0500 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:45645) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1myBs9-0007Pb-BB for 52389@debbugs.gnu.org; Fri, 17 Dec 2021 06:58:02 -0500 Received: (Authenticated sender: public@protesilaos.com) by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id A9AB1E000D; Fri, 17 Dec 2021 11:57:53 +0000 (UTC) From: Protesilaos Stavrou In-Reply-To: <86r1agdfio.fsf@mail.linkov.net> References: <87bl1pj44k.fsf@protesilaos.com> <87mtl8znih.fsf@gnus.org> <87h7bfx1p6.fsf@gnus.org> <86h7belwxq.fsf@mail.linkov.net> <877dcacq2k.fsf@protesilaos.com> <86sfuxlo8g.fsf@mail.linkov.net> <87pmq1j7hs.fsf@protesilaos.com> <86r1agdfio.fsf@mail.linkov.net> User-Agent: Notmuch/0.34.1 (https://notmuchmail.org) Emacs/29.0.50 (x86_64-pc-linux-gnu) Date: Fri, 17 Dec 2021 13:57:52 +0200 Message-ID: <87v8zncukf.fsf@protesilaos.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --=-=-= Content-Type: text/plain On 2021-12-13, 10:53 +0200, Juri Linkov wrote: >> Regarding this bug report, I am not sure what the status is. Should I >> rewrite the patch to specify a define-obsolete-variable-alias instead? >> Or is someone else taking care of it? > > It seems everyone agrees here it would be preferable to > rewrite the patch using define-obsolete-variable-alias. Please find attached the patch that implements the new user option. I did not include a NEWS entry as things should work the way they did before. The combined use of "not" and "no" concepts in this case feels awkward. I prefer my original approach of changing the logic, though I understand it would be backward-incompatible. -- Protesilaos Stavrou https://protesilaos.com --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-Deprecate-Imenu-option-for-eager-completion-buffer.patch >From 2487aaba2f531563e1acc0979a738ade7bb322f2 Mon Sep 17 00:00:00 2001 Message-Id: <2487aaba2f531563e1acc0979a738ade7bb322f2.1639741622.git.info@protesilaos.com> From: Protesilaos Stavrou Date: Fri, 17 Dec 2021 13:46:29 +0200 Subject: [PATCH] Deprecate Imenu option for eager completion buffer The now-deprecated user option had confusing language as it produced the opposite effect of what it meant. Read bug#52389. * imenu.el (imenu-eager-completion-buffer): Remove old user option. (imenu-no-eager-completion-buffer): Write alias for the deprecated user option. (imenu--completion-buffer): Check for the new variable. --- lisp/imenu.el | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/lisp/imenu.el b/lisp/imenu.el index 22412d5f88..86f7d2d3ff 100644 --- a/lisp/imenu.el +++ b/lisp/imenu.el @@ -99,10 +99,15 @@ (defcustom imenu-use-popup-menu 'on-mouse (const :tag "Never" nil) (other :tag "Always" t))) -(defcustom imenu-eager-completion-buffer t - "If non-nil, eagerly popup the completion buffer." +(define-obsolete-variable-alias + 'imenu-eager-completion-buffer + 'imenu-no-eager-completion-buffer + "29.1") + +(defcustom imenu-no-eager-completion-buffer t + "If non-nil, do not eagerly popup the completion buffer." :type 'boolean - :version "22.1") + :version "29.1") (defcustom imenu-after-jump-hook nil "Hooks called after jumping to a place in the buffer. @@ -727,7 +732,7 @@ (defun imenu--completion-buffer (index-alist &optional prompt) name)))) (let ((minibuffer-setup-hook minibuffer-setup-hook)) ;; Display the completion buffer. - (if (not imenu-eager-completion-buffer) + (if (not imenu-no-eager-completion-buffer) (add-hook 'minibuffer-setup-hook 'minibuffer-completion-help)) (setq name (completing-read prompt prepared-index-alist -- 2.34.1 --=-=-=-- From unknown Tue Jun 17 22:27:14 2025 X-Loop: help-debbugs@gnu.org Subject: bug#52389: 29.0.50; Imenu does not pop up the Completions eagerly Resent-From: =?UTF-8?Q?Andr=C3=A9?= A. Gomes Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 17 Dec 2021 12:36:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52389 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Protesilaos Stavrou Cc: Lars Ingebrigtsen , Daniel =?UTF-8?Q?Mart=C3=ADn?= , 52389@debbugs.gnu.org, Juri Linkov Received: via spool by 52389-submit@debbugs.gnu.org id=B52389.16397445088531 (code B ref 52389); Fri, 17 Dec 2021 12:36:01 +0000 Received: (at 52389) by debbugs.gnu.org; 17 Dec 2021 12:35:08 +0000 Received: from localhost ([127.0.0.1]:38202 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1myCS3-0002DV-QB for submit@debbugs.gnu.org; Fri, 17 Dec 2021 07:35:08 -0500 Received: from mail-wr1-f50.google.com ([209.85.221.50]:45686) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1myCS2-0002CW-Ap for 52389@debbugs.gnu.org; Fri, 17 Dec 2021 07:35:07 -0500 Received: by mail-wr1-f50.google.com with SMTP id o13so3714911wrs.12 for <52389@debbugs.gnu.org>; Fri, 17 Dec 2021 04:35:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=wWRkd9ZWd5ydMPL2inHf6gruA03lmdf5/LcY/Zx+GUQ=; b=lke89R/VP/EJKIyBUUZN08C8GObD+Om5Js9a5iCqxO44cLE0sugeveJpmFqG9IV5XX QyZmjGoDAZ/SGzmHAbX7MSNwKD1WJa3fmy+i+El4/L768m2oYaWVT54mDsZWUGq5gbmy k/R/IhFYTSemdtrYKsQ8MP1s1iM2Q761IFDU/JI4JfpM+2TEpJGUeK+WA5n3V1H2AEDj hlKUrCuzCQliHUA0DN6E20vXG8BtoVHsVC/LxBmcrvNnaDBybrTtAckvidOz/wnS4xbA n4IrwtNxSzDUSp2RqIwxQBvWKPa6l6v9RTttm7BT/Zfi7WnnkDg1MtAW2vZRstT9g5Tu W6rg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=wWRkd9ZWd5ydMPL2inHf6gruA03lmdf5/LcY/Zx+GUQ=; b=GZn5pxIRD3Q03t+SXwNaNBbmAfZuHou7WBWt0JgnpR2eZpH8S6CzJVeRdh/0wiLhV2 9dLM/DaVNygag4QoL9iIXX9OMFJjAfNm/WIB+pTzZ5IMstkOi9iYNGEQ3fNubdqIbOQ4 BZhWpO+E9GfWmBg/CeUM3wkntEummxKF0chO8dLxSKKxKqFKD+aWPJ+L7mdZJGapoPtH 4hjM5+2LI0vtT+V8x+A/7RWH36FQAZDxsGMZWVaqx0UiZBRDrNFsRdP7xmu5rQOWFGlB S7ymoei19lQoVELWyd6qryZ7Qxu1E5Swbv7Kaw0vSELUx5BB0FpaVhDLNHgU0f/LD3+H /i0w== X-Gm-Message-State: AOAM532uEOu/tpt7aJCP330F3ZPtUhyvYFtfyOBwQQz6jRfiWxl73LUU QfskRS4Zzrg3An83zhO9jm/lg3vv9XE= X-Google-Smtp-Source: ABdhPJxYS3Pg5lb6nnlGNFR5gmvL3vBcpIFAizrj5xIZzo0W7NWaPH79IegX7d630aYPQ7McxXj6QQ== X-Received: by 2002:adf:9d4c:: with SMTP id o12mr2408026wre.283.1639744500750; Fri, 17 Dec 2021 04:35:00 -0800 (PST) Received: from guix-xps13 ([2001:818:daa9:6700:462d:384e:6de8:4a1c]) by smtp.gmail.com with ESMTPSA id p2sm9882062wmg.41.2021.12.17.04.34.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Dec 2021 04:35:00 -0800 (PST) From: =?UTF-8?Q?Andr=C3=A9?= A. Gomes References: <87bl1pj44k.fsf@protesilaos.com> <87mtl8znih.fsf@gnus.org> <87h7bfx1p6.fsf@gnus.org> <86h7belwxq.fsf@mail.linkov.net> <877dcacq2k.fsf@protesilaos.com> <86sfuxlo8g.fsf@mail.linkov.net> <87pmq1j7hs.fsf@protesilaos.com> <86r1agdfio.fsf@mail.linkov.net> <87v8zncukf.fsf@protesilaos.com> Date: Fri, 17 Dec 2021 12:34:58 +0000 In-Reply-To: <87v8zncukf.fsf@protesilaos.com> (Protesilaos Stavrou's message of "Fri, 17 Dec 2021 13:57:52 +0200") Message-ID: <87y24j4dfx.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Protesilaos Stavrou writes: > On 2021-12-13, 10:53 +0200, Juri Linkov wrote: > >>> Regarding this bug report, I am not sure what the status is. Should I >>> rewrite the patch to specify a define-obsolete-variable-alias instead? >>> Or is someone else taking care of it? >> >> It seems everyone agrees here it would be preferable to >> rewrite the patch using define-obsolete-variable-alias. > > Please find attached the patch that implements the new user option. I > did not include a NEWS entry as things should work the way they did > before. > > The combined use of "not" and "no" concepts in this case feels awkward. > I prefer my original approach of changing the logic, though I understand > it would be backward-incompatible. Agreed. I don't understand how the decision moved in this direction. Perhaps the maintainers will reconsider. --=20 Andr=C3=A9 A. Gomes "Free Thought, Free World" From unknown Tue Jun 17 22:27:14 2025 X-Loop: help-debbugs@gnu.org Subject: bug#52389: 29.0.50; Imenu does not pop up the Completions eagerly Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 17 Dec 2021 12:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52389 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Protesilaos Stavrou Cc: larsi@gnus.org, mardani29@yahoo.es, 52389@debbugs.gnu.org, juri@linkov.net Received: via spool by 52389-submit@debbugs.gnu.org id=B52389.163974574610716 (code B ref 52389); Fri, 17 Dec 2021 12:56:02 +0000 Received: (at 52389) by debbugs.gnu.org; 17 Dec 2021 12:55:46 +0000 Received: from localhost ([127.0.0.1]:38220 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1myCm2-0002mm-AH for submit@debbugs.gnu.org; Fri, 17 Dec 2021 07:55:46 -0500 Received: from eggs.gnu.org ([209.51.188.92]:40658) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1myCm1-0002mZ-0c for 52389@debbugs.gnu.org; Fri, 17 Dec 2021 07:55:45 -0500 Received: from [2001:470:142:3::e] (port=37152 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1myClv-0002gW-CP; Fri, 17 Dec 2021 07:55:39 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=H79afdxqzYTDLZqJU86R6nkcIzYjK6g5uLnhHE0+ySo=; b=nS84KA1kPhnwlrpTT/JP vbI1H+HR6SOBTbAb4EF444IinIg27k41lRkEaZFAcXKiWUp1dYv5lp+Te+qScFd/nUS+ZUU2M9827 sMqDKYc+OzxH8D9wBos9/XAEOgl4Wdqii8HhSihU+JM+QS2+wTa21XewWigyMy4UzFVXio6EAQArO ZaKXXPSr773iJN3VtSoeFa03dV+SkacR4CDrxfmJFKJOqfvK4cy+TTSuJv5rzx7K24EIkkDq+iwvJ zH4fdZfYeJCqr5KHPeIKdtAVOtyOyXQS7st+aTjjUInmxsu5AM65UHey7gLkg9kqWyJThAf0ytQCz 4IAtz6TtQljt8w==; Received: from [87.69.77.57] (port=2054 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1myCln-0001qw-UU; Fri, 17 Dec 2021 07:55:33 -0500 Date: Fri, 17 Dec 2021 14:55:17 +0200 Message-Id: <835yrne6h6.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <87v8zncukf.fsf@protesilaos.com> (message from Protesilaos Stavrou on Fri, 17 Dec 2021 13:57:52 +0200) References: <87bl1pj44k.fsf@protesilaos.com> <87mtl8znih.fsf@gnus.org> <87h7bfx1p6.fsf@gnus.org> <86h7belwxq.fsf@mail.linkov.net> <877dcacq2k.fsf@protesilaos.com> <86sfuxlo8g.fsf@mail.linkov.net> <87pmq1j7hs.fsf@protesilaos.com> <86r1agdfio.fsf@mail.linkov.net> <87v8zncukf.fsf@protesilaos.com> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Protesilaos Stavrou > Date: Fri, 17 Dec 2021 13:57:52 +0200 > Cc: Lars Ingebrigtsen , 52389@debbugs.gnu.org, > Daniel Martín > > +(defcustom imenu-no-eager-completion-buffer t > + "If non-nil, do not eagerly popup the completion buffer." The doc string should go on to explain what does it mean to "eagerly popup a buffer". It is not self-evident. (Yes, I know this was in the original text, but while we are at that, we might as well fix that omission.) Thanks. From unknown Tue Jun 17 22:27:14 2025 X-Loop: help-debbugs@gnu.org Subject: bug#52389: 29.0.50; Imenu does not pop up the Completions eagerly Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 18 Dec 2021 07:46:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52389 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: Protesilaos Stavrou , mardani29@yahoo.es, 52389@debbugs.gnu.org, juri@linkov.net Received: via spool by 52389-submit@debbugs.gnu.org id=B52389.16398135022183 (code B ref 52389); Sat, 18 Dec 2021 07:46:01 +0000 Received: (at 52389) by debbugs.gnu.org; 18 Dec 2021 07:45:02 +0000 Received: from localhost ([127.0.0.1]:41202 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1myUOs-0000Yu-G5 for submit@debbugs.gnu.org; Sat, 18 Dec 2021 02:45:02 -0500 Received: from quimby.gnus.org ([95.216.78.240]:53440) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1myUOr-0000YO-FS for 52389@debbugs.gnu.org; Sat, 18 Dec 2021 02:45:01 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=tV3dBjLD2pZpP++/1P9qwenKvsLzGIwkRO8uQXhyr5I=; b=mvMH21cCov/uOXsRzXA5EaITMI uoaMQRPuInALTYf+ew4y6BPnfujPjeaCoTH5854KOIvTPAqZXdwRqpOE7MTsAo6frFNn3piUrdRIr eCG4onXz1IeqRtAm0G9nu1nFWXsEnJSTKloY1v+aw72OCZsiPDn6VTzpkl9PiOYtfzMg=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1myUOh-00074O-Qo; Sat, 18 Dec 2021 08:44:54 +0100 From: Lars Ingebrigtsen References: <87bl1pj44k.fsf@protesilaos.com> <87mtl8znih.fsf@gnus.org> <87h7bfx1p6.fsf@gnus.org> <86h7belwxq.fsf@mail.linkov.net> <877dcacq2k.fsf@protesilaos.com> <86sfuxlo8g.fsf@mail.linkov.net> <87pmq1j7hs.fsf@protesilaos.com> <86r1agdfio.fsf@mail.linkov.net> <87v8zncukf.fsf@protesilaos.com> <835yrne6h6.fsf@gnu.org> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAGFBMVEV9fmOGhYlNTUx2 dhCCgRWAfhOvx8b///8EnAsbAAAAAWJLR0QHFmGI6wAAAAd0SU1FB+UMEgcXNJTFNCIAAAGsSURB VDjLdZJbkuMgDEUFU9XfwArgUvnvQbCBuLKBxux/KyORdAd73DeOLesg9MBkvDfOeSJ5+pfUICIn f0PfcvNuPM0lbl4Hkf9FJ2CugfPJmUvgUkhnEGRpoPg/sEnhNSDnL4GBDMBegATyFJJbgCN4GyPB 2JDgfZLCBQQbIqyFNYgKjOwJI8BCZRGD3G2SLAEhkXn6nwyEiBiD/Cj++KMToMtSEJPE8Q0wwXwo sO+9NMcE0QqQamf4M0pDnKYjyEHOvFN/vdcKgKo5DBcx+RMxi5G5yHiYPmFj+xLQFELBV/xwmQpY lDtzUYPnq6SixvvG3Iaodx5D/bIK1LDd1N9H51XEKFm8U4t/UJVCtvryt5+wRnwH7vmhCVYJkALv eJTGJ6A9F9Ryk4i2gj9zFBXo7RBEPSNDr8oNC5IGc9aJ4MYV2wr2nFGkhMZ1rYC4yqTKXtB6le0W 0HYBTWZZ8glIx5v0v8lWBzAnqifSdpzB4L4h93KsSme+j54fteQDGC/1VnK/AkNa3d7jojEW0uex vpIvQOu7Alpee4N3Ejl5Hoc+nh9P4/Vz+AcsorMXoWMPvwAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAy MS0xMi0xOFQwNzoyMzo1MiswMDowMO+FcF4AAAAldEVYdGRhdGU6bW9kaWZ5ADIwMjEtMTItMThU MDc6MjM6NTIrMDA6MDCe2MjiAAAAAElFTkSuQmCC X-Now-Playing: Joni Mitchell's _The Hissing Of Summer Lawns_: "Shades Of Scarlett Conquering" Date: Sat, 18 Dec 2021 08:44:50 +0100 In-Reply-To: <835yrne6h6.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 17 Dec 2021 14:55:17 +0200") Message-ID: <87bl1exsp9.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Eli Zaretskii writes: >> +(defcustom imenu-no-eager-completion-buffer t >> + "If non-nil, do not eagerly popup the completion buffer." > > The doc string should go on to explain what does it mean to "eagerly > popup a buff [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Eli Zaretskii writes: >> +(defcustom imenu-no-eager-completion-buffer t >> + "If non-nil, do not eagerly popup the completion buffer." > > The doc string should go on to explain what does it mean to "eagerly > popup a buffer". It is not self-evident. > > (Yes, I know this was in the original text, but while we are at that, > we might as well fix that omission.) And I don't think we should call a variable `imenu-no-eager-completion-buffer' -- it's very confusing. `imenu-inhibit-eager-completion-buffer' is better. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no