Closed yusi1 closed 2 years ago
Issue occurs with consult-imenu
.
Issue doesn't occur with normal imenu
.
I'm not familiar with consult
, would be greate if you can provide some steps for reproduce this issue starting from emacs -Q
.
Also you can turn off mini-frame
for consult-imenu
by adding consult-imenu
to mini-frame-ignore-commands
.
I'm not familiar with
consult
, would be greate if you can provide some steps for reproduce this issue starting fromemacs -Q
.
Here's a minimal config, but it seems the error didn't occur when I tried emacs -Q
with this minimal config.
(require 'package)
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/"))
(package-initialize)
(package-install 'mini-frame)
(package-install 'consult)
(require 'mini-frame)
(mini-frame-mode)
(require 'consult)
(consult-imenu) ; goto a file like init.el before doing this
Also you can turn off
mini-frame
forconsult-imenu
by addingconsult-imenu
tomini-frame-ignore-commands
.
Thank you, this is all I needed, AFAIK I don't think the issue is with either consult
or mini-frame
, because when I tried emacs -Q
with the minimal config, the error didn't occur.
I think the issue is maybe with my configuration.
Also you can turn off
mini-frame
forconsult-imenu
by addingconsult-imenu
tomini-frame-ignore-commands
.
This fix is fine for me and has solved the issue.
When I have
mini-frame-mode
enabled and callconsult-imenu
, this error occurs:redisplay--pre-redisplay-functions: (error "Cannot resize the root window of a frame")
Also, one thing to mention is that
consult-imenu
also creates it's own buffer, but the menu is available in both the mini-frame and the buffer thatconsult-imenu
creates.Would there be any way to disable
mini-frame-mode
beforeconsult-imenu
creates its own buffer?This issue is not reproducible with standard
imenu
.