GNU bug report logs - #73117
30.0.90; Imenu missing entries when flattening by group

Previous Next

Package: emacs;

Reported by: Troy Brown <brownts <at> troybrown.dev>

Date: Sun, 8 Sep 2024 01:43:01 UTC

Severity: normal

Found in version 30.0.90

Full log


View this message in rfc822 format

From: Troy Brown <brownts <at> troybrown.dev>
To: Daniel Mendler <mail <at> daniel-mendler.de>
Cc: 73117 <at> debbugs.gnu.org, Juri Linkov <juri <at> linkov.net>
Subject: bug#73117: 30.0.90; Imenu missing entries when flattening by group
Date: Sun, 15 Sep 2024 11:58:53 -0400
On Sun, Sep 8, 2024 at 3:25 PM Troy Brown <brownts <at> troybrown.dev> wrote:
>
> It appears to be this line in `completion--insert-horizontal` which is
> causing all the trouble.  When I comment that out, I get the output
> I'm expecting.  Looking at the difference between
> `completion--insert-horizontal` and `completion--insert-vertical`,
> that check happens after the check for `group-fun`.  Maybe
> `completion--insert-horizontal` should be restructured similarly?
>
> ```elisp
>       (unless (equal last-string str) ; Remove (consecutive) duplicates.
> ```

Daniel, any thoughts on my comment above?

It appears completion--insert-horizontal incorrectly filters
consecutive strings when they belong to different groups.  From what I
can tell, it appears completion--insert-horizontal does support
groups, but just displays them vertically.  However, it does contain
the above problem.  I also notice this issue coming through in my use
of consult-imenu.




This bug report was last modified 257 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.