bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#52389: 29.0.50; Imenu does not pop up the Completions eagerly


From: Protesilaos Stavrou
Subject: bug#52389: 29.0.50; Imenu does not pop up the Completions eagerly
Date: Thu, 09 Dec 2021 15:32:11 +0200

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

Attachment: 0001-Fix-semantics-of-imenu-eager-completion-buffer.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]