-
Notifications
You must be signed in to change notification settings - Fork 152
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
[Bug] Modeline isn't setup correctly after helm candidates update #584
Comments
Why do you setup these? (add-hook 'helm-minibuffer-set-up-hook
(lambda () (advice-add #'doom-modeline--active :override (lambda () t))))
(add-hook 'helm-cleanup-hook
(lambda () (advice-remove #'doom-modeline--active (lambda () t)))) |
This is as per your advice, otherwise I have the same graphic bug as #114 Note that I tried removing them, I still have the bug described in this issue |
Okay. I got that. It's a workaround and I think it may be not necessary currently. I tested with Please test with |
I used to use However I will try to reproduce with a configuration from scratch, but honestly I don't think there is anything special in my config that interacts with doom-modeline. |
Got you! I think there may be some special handles of mode-line in helm. Will check later. |
After I research for a while, I realized the mode-line-format was set by helm after an async process finished. I am afraid it is not able to override the behaviors. If you happen to know the solution, please let me know kindly. Thanks! |
Thank you for narrowing it down. Indeed it looks like there isn't much we can do for As for (setq helm-ag-show-status-function nil) Maybe this can be set in |
Yes. I can handle helm-ag, but nothing to do for others, liks |
Actually since my PR has been merged in helm, for (setq helm-fd-mode-line-function nil) |
My solution is It's better if you can submit some PRs for other helm functions, to add some hooks or something like that. |
Thank you for the bug report
doom-modeline
related packages.the command
emacs -Q
.Bug description
When using a helm command that has dynamic candidates (
helm-ag
orhelm-fd
for instance), the doom-modeline is displayed/setup correctly at start:But when I type some input that yields candidates, then the modeline is displayed/setup without doom-modeline:
Note that if I move (line up/down) then the modeline is displayed correctly. If there are no candidates after my input, the modeline is also displayed correctly:
Steps to reproduce
Type:
Then type some input
Expected behavior
The modeline should be displayed with doom-modeline settings after candidates update.
OS
Linux
Emacs Version
28
Emacs Configurations
Vanilla
Error callstack
No response
Anything else
My config is as follows:
The text was updated successfully, but these errors were encountered: