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

Cannot get the simpler nano-modeline to work #55

Closed
yakhni opened this issue Jun 4, 2023 · 8 comments
Closed

Cannot get the simpler nano-modeline to work #55

yakhni opened this issue Jun 4, 2023 · 8 comments

Comments

@yakhni
Copy link

yakhni commented Jun 4, 2023

Hi,
I am trying to do the following:

(use-package! nano-modeline
  :config
  (nano-modeline-text-mode t))

However, I end up with the following backtrace:

Debugger entered--Lisp error: (wrong-type-argument listp nano-modeline--empty-face)
  face-remap-set-base(header-line nano-modeline--empty-face)
  nano-modeline-header(((nano-modeline-buffer-status) " " (nano-modeline-buffer-name) " " (nano-modeline-git-info)) ((nano-modeline-cursor-position) (nano-modeline-window-dedicated)) t)
  funcall(nano-modeline-header ((nano-modeline-buffer-status) " " (nano-modeline-buffer-name) " " (nano-modeline-git-info)) ((nano-modeline-cursor-position) (nano-modeline-window-dedicated)) t)
  nano-modeline-text-mode(t)

I'm using emacs 28.2, doom emacs.
I've been using nano-modeline and nano-theme for quite a bit, but I cannot get nano-modeline to run with the new API.
Please advise.

@rougier
Copy link
Owner

rougier commented Jun 19, 2023

Can you try:

(require 'nano-modeline)
(nano-modeline-text-mode t)

@coldfish
Copy link

Still getting the same error like @yakhni

(wrong-type-argument listp nano-modeline--empty-face)

@rougier
Copy link
Owner

rougier commented Jun 19, 2023

Might be linked with a fix I pushed a few minutes ago on ELPA. Coudl you try with the github version (I think ELPA still not updated) ?

@coldfish
Copy link

I'm using the github version directly and see the last commit in my repo list:

Author: Nicolas P. Rougier
Date:   Mon Jun 19 16:12:53 2023 +0200

    Minor bugfix for ELPA

@rougier
Copy link
Owner

rougier commented Jun 19, 2023

What is your version of emacs?

@coldfish
Copy link

What is your version of emacs?

28.2

@rougier
Copy link
Owner

rougier commented Jun 19, 2023

Oh, is it the same issue #59 ?

@yakhni
Copy link
Author

yakhni commented Aug 21, 2023

I am closing this issue since upgrading to emacs version 29.1 resolves this issue.

@yakhni yakhni closed this as completed Aug 21, 2023
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