Open aschmitz-crnc opened 1 year ago
I updated nano-modeline (on ELPA) a few days ago and that might be the problem. However, it is not supposed to use nano-faces that are only part of nano-emacs. Did you change anything on your config ?
No, I changed nothing. I used to simply have this line:
(use-package nano-modeline
:ensure t)
Since the semantics of nano-modeline changed in the past months, I now have this configuration, but still doesn't help, as I still get the illegal face error:
(use-package nano-modeline
:ensure t)
(add-hook 'prog-mode-hook #'nano-modeline-prog-mode)
(nano-modeline-text-mode t)
Can you try from Emacs -Q
?
Yes, tried, and gives the same error once I require the nano-modeline package.
(require 'nano-modeline)
-> face-attribute: Invalid face
What is your emacs version? Also, can you try downloading the GitHub version and evaluate the buffer?
My Emacs version:
GNU Emacs 28.2 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.20, cairo version 1.16.0) of 2023-06-02
I cloned your repo and evaluated the nano-modeline.el buffer and now I have a blank modeline:
EDIT: Before you ask -- same thing happens with emacs -Q
Sorry for late anwer. You mean jus evaluating the buffer make the mode-line blank?
Yes, exactly.
Quick feedback: I just upgraded to Emacs 29.1 and nano-modeline works again.
One thing to note though: When nano-modeline is displayed at the TOP of the window, the regular modeline is also visible. When at the bottom only nano-modeline is visible. Is this intentional?
I try not to modify user setup too muh and you need to disable modeline by yourself.
Since recently I get error messages when starting up Emacs with nano-modeline enabled. I installed nano-modeline a long time back using ELPA. The error I get is:
I think the problem is that there is no nano-faces package available on ELPA. Maybe more of the nano packages are even missing.