all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@linkov.net>
To: Troy Brown <brownts@troybrown.dev>
Cc: 73117@debbugs.gnu.org, Daniel Mendler <mail@daniel-mendler.de>
Subject: bug#73117: 30.0.90; Imenu missing entries when flattening by group
Date: Sun, 08 Sep 2024 19:35:09 +0300	[thread overview]
Message-ID: <86y142p0hu.fsf@mail.linkov.net> (raw)
In-Reply-To: <CABvCZ42rd1sf7hpdXLwLXuXfN1bLneVuA71KB2mRHaQBNBTjiw@mail.gmail.com> (Troy Brown's message of "Sun, 8 Sep 2024 10:19:26 -0400")

> Maybe using `(setopt completion-auto-help t)`
> and hitting TAB is a better method.

Or just using `(setopt imenu-eager-completion-buffer nil)`
because otherwise with its default value you need to hit
'?' (minibuffer-completion-help) instead of TAB
to show the completions buffer with two identical
completions in different groups.

> I did try adding your suggested settings to the above code snippet,
> but they did not seem to improve anything with regards to what shows
> up in the completions buffer:
>
> ```
> (setopt completions-group t)
> (setopt minibuffer-visible-completions t)
> ```

I'm so sorry, I forgot to check with `emacs -Q`, and there is
an additional important setting that affects the groups:

```
(setopt completions-group t)
(setopt completions-format 'vertical)
```

The default value of 'completions-format' is 'horizontal'
that doesn't support groups, and I don't know why.

Maybe Daniel (Cc:ed) could help us understand
why 'completion--insert-horizontal' doesn't display groups.





  reply	other threads:[~2024-09-08 16:35 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-08  1:41 bug#73117: 30.0.90; Imenu missing entries when flattening by group Troy Brown
2024-09-08  6:53 ` Juri Linkov
2024-09-08 14:19   ` Troy Brown
2024-09-08 16:35     ` Juri Linkov [this message]
2024-09-08 17:31       ` Troy Brown
2024-09-20  6:58         ` Juri Linkov
2024-09-28  9:20           ` Eli Zaretskii
2024-09-08 18:28       ` Daniel Mendler via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-09-08 19:25         ` Troy Brown
2024-09-15 15:58           ` Troy Brown

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86y142p0hu.fsf@mail.linkov.net \
    --to=juri@linkov.net \
    --cc=73117@debbugs.gnu.org \
    --cc=brownts@troybrown.dev \
    --cc=mail@daniel-mendler.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.