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

[Bug] Error "Invalid face" bookmark-menu-heading - causes ivy minibuffer on some commands to throw error (+ other packages) #135

Open
wakatara opened this issue Jan 16, 2023 · 4 comments

Comments

@wakatara
Copy link
Contributor

I am not sure why, but this invalid face prevents ivy with ivy-rich from working in my configuration for some minibiffuer functions (primarily kill buffer C-x k and previously C-x b buffer switching). Not all though, which is interesting.

I commented out the bookmarks theme (I never use them) here:
https://github.com/wakatara/nano-emacs/

And then used straight package manager and it fixes the problem.

I do not use emacs bookmarks (ever) so am unsure what causes this issue. Note: it only seems to occur with ivy/ivy-rish. I used vertico and did not see the issue arise.

(it did crop up with another package md-roam though the bug I was experiencing with it seems to be unrelated.).

@rougier
Copy link
Owner

rougier commented Jan 16, 2023

Thanks for the eport. What is the error message exactly?

@wakatara
Copy link
Contributor Author

When I try to to use C-x b (which is ivy-switch-buffer for me) the Message I get is :

set-face: Invalid face: bookmark-menu-heading

though is appears in the modeline as Invalid face: bookmark-menu-heading

Hope that helps. Very curious about this one as I would not have thought setting a face would kill a command.

@wakatara
Copy link
Contributor Author

wakatara commented Jan 16, 2023

Commenting out the bookmark theme package fixes the problem. If you use straight you can just do this in your init.el to check it:

;; (straight-use-package
;;  '(nano-emacs :type git :host github :repo "rougier/nano-emacs"))

(straight-use-package
  '(nano-emacs :type git :host github :repo "rougier/nano-emacs"
               :fork (:host github
                    :repo "wakatara/nano-emacs")))

@wakatara wakatara changed the title [Bug] Error "Invalid face" bookmakr-menu-heading - causes ivy minibuffer on some commands to throw error (+ other packages) [Bug] Error "Invalid face" bookmark-menu-heading - causes ivy minibuffer on some commands to throw error (+ other packages) Jan 22, 2023
@rougier
Copy link
Owner

rougier commented Feb 2, 2023

Another way to fix would be to load the bookmark library. Do you want to make a PR?

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

2 participants