doomemacs / doomemacs/core

imenu-list works as ui-lsp-imenu

Open
#7,660 1 comment 0 reactions 0 assignees View on GitHub
is:bug needs-triage
Dominant language
Emacs Lisp
Stars
22.7k
Forks
3.1k
Avg merge
10h 46m
Merged PRs (30d)
4

Description

### I confirm that...

- [X] I have searched the [issue tracker](https://github.com/doomemacs/doomemacs/issues), [documentation](https://docs.doomemacs.org), [FAQ](https://docs.doomemacs.org/-/faq), [Discourse](https://discourse.doomemacs.org), and [Google](https://google.com), in case this issue has already been reported/resolved.

- [X] I have read "[How to Debug Issues](https://doomemacs.org/d/how2debug)", and will use it to provide as much information about this issue as possible.

- [X] The issue can be reproduced on the **latest** available commit of Doom.

- [X] The issue can be reproduced on a stable release of Emacs, such as 27, 28, or 29. *(Unstable versions end in .50, .60, or .9x)*

### Expected behavior

Instead of creating an index of a buffer imenu-list shows nothing, imenu-list-smart-toggle create about the same as ui-lsp-imenu buffer.

Is it a way to let imenu-list work as in emacs or spacemacs?

### Current behavior

Trying to create an index using imenu-list (if kill it manually, it will create same as imenu-list-smart-toggle):
![image](https://github.com/doomemacs/doomemacs/assets/97762325/405dc91a-75e8-4c96-8d25-4c93ea67c62c)

imenu-list-smart-toggle:
![image](https://github.com/doomemacs/doomemacs/assets/97762325/5aa39396-2851-41f0-8af9-1980614eea48)

ui-lsp-imenu:
![image](https://github.com/doomemacs/doomemacs/assets/97762325/357182ad-77d3-4a9b-ac33-cc8e5197e489)

### Steps to reproduce

Fresh installed doom emacs, couple of side packages and some functions to use it:

(use-package! evil-terminal-cursor-changer
:hook (tty-setup . evil-terminal-cursor-changer-activate))

(after! imenu-list
(set-popup-rule! "^\\*Ilist"
:side 'right :size 35 :quit nil :select nil :ttl 0))

### System Information

https://pastebin.com/n98HzZUV

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.