Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doom-emacs: evil mode search exits without showing mini-frame #79

Open
cvanelteren opened this issue Sep 24, 2023 · 5 comments
Open

doom-emacs: evil mode search exits without showing mini-frame #79

cvanelteren opened this issue Sep 24, 2023 · 5 comments

Comments

@cvanelteren
Copy link

I was giving this mode a spin and it works great with swiper. Unfortunately using evil mode, the default search (/) is not shown. It briefly shows the mini frame but then exits.

@muffinmad
Copy link
Owner

I'm not really familiar with the evil mode, but looks like it is using isearch-mode to perform search by default. And isearch-mode is handled by mini-frame-mode here. So I don't know why it shows the mini-frame even briefly.

For the test purposes:

emacs -Q
M-x package-initialize
M-x mini-frame-mode
M-x evil-mode
/

The search prompt is "displayed" in the echo area and there is no mini-frame shown.

Then customize the evil-search-module to use evil-search instead of isearch:

M-: (evil-select-search-module 'evil-search-module 'evil-search)

Now pressing / shows the search prompt in the mini-frame.

@cvanelteren
Copy link
Author

cvanelteren commented Sep 24, 2023 via email

@muffinmad
Copy link
Owner

But with only evil-mode enabled the cursor is not moved to the search prompt:

emacs -Q
M-x package-initialise
M-x evil-mode

Can you please provide steps to reproduce the issue starting from emacs -Q?

@cvanelteren
Copy link
Author

cvanelteren commented Sep 25, 2023

With emacs -Q , evil-mode becomes unavailable (also I believe you mean -q). I attached the bug in a webm vide below. You see me first working without mini-frame mode, performing an evil search and a swiper search. Then I activate mini-frame (which yields a nill) then after package initialize, swiper works but does not focus the buffer, evil search just exists. Hope this helps!
bug_mini-frame.webm

@muffinmad muffinmad changed the title evil mode search exits without showing mini-frame doom-emacs: evil mode search exits without showing mini-frame Sep 25, 2023
@JoshTRN
Copy link

JoshTRN commented Jan 14, 2024

I have the same issue running spacemacs with evil-mode. I'm also using helm which is seemingly unsupported. This is a really cool project and I'd like to use it, but I'm not good enough at elisp to try to implement it myself.

Ideally, it would be cool if I could get mini-frame working with evil-mode commands, but for now, I think I'm going to stick to helm-posframe and just deal with my tiny little minibuffer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants