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

nano-modeline breaks on html files #150

Open
sergeyplis opened this issue Aug 16, 2023 · 3 comments
Open

nano-modeline breaks on html files #150

sergeyplis opened this issue Aug 16, 2023 · 3 comments

Comments

@sergeyplis
Copy link

The mode line on html files is simply not shown. The following is the error in the Messages buffer:

Error during redisplay: (eval (cond ((nano-modeline-prog-mode-p) (nano-modeline-default-mode)) ((nano-modeline-message-mode-p) (nano-modeline-message-mode)) ((nano-modeline-elfeed-search-mode-p) (nano-modeline-elfeed-search-mode)) ((nano-modeline-elfeed-show-mode-p) (nano-modeline-elfeed-show-mode)) ((nano-modeline-deft-mode-p) (nano-modeline-deft-mode)) ((nano-modeline-info-mode-p) (nano-modeline-info-mode)) ((nano-modeline-calendar-mode-p) (nano-modeline-calendar-mode)) ((nano-modeline-org-capture-mode-p) (nano-modeline-org-capture-mode)) ((nano-modeline-org-agenda-mode-p) (nano-modeline-org-agenda-mode)) ((nano-modeline-org-clock-mode-p) (nano-modeline-org-clock-mode)) ((nano-modeline-term-mode-p) (nano-modeline-term-mode)) ((nano-modeline-vterm-mode-p) (nano-modeline-term-mode)) ((nano-modeline-mu4e-dashboard-mode-p) (nano-modeline-mu4e-dashboard-mode)) ((nano-modeline-mu4e-main-mode-p) (nano-modeline-mu4e-main-mode)) ((nano-modeline-mu4e-headers-mode-p) (nano-modeline-mu4e-headers-mode)) ((nano-modeline-text-mode-p) (nano-modeline-default-mode)) ((nano-modeline-pdf-view-mode-p) (nano-modeline-pdf-view-mode)) ((nano-modeline-docview-mode-p) (nano-modeline-docview-mode)) ((nano-modeline-completion-list-mode-p) (nano-modeline-completion-list-mode)) ((nano-modeline-nano-help-mode-p) (nano-modeline-nano-help-mode)) (t (nano-modeline-default-mode)))) signaled (wrong-type-argument characterp sgml-xml-mode)

@sergeyplis sergeyplis changed the title nano-modeling breaks on html files nano-modeline breaks on html files Aug 16, 2023
@rougier
Copy link
Owner

rougier commented Aug 24, 2023

I think the html is not present and it should fall back to the default mode. Probably they I test for mode is wrong.

Could test the nano-modeline on ELPA to check if it is working properly?

@sergeyplis
Copy link
Author

sergeyplis commented Aug 24, 2023

If I install from ELPA it does work with .html files as well

@rougier
Copy link
Owner

rougier commented Sep 11, 2023

Best option would be to use the ELPA version of the modeline then. the nano-emacs package was my early attempt and I later split it in several packages such that people can choose which components they want to include (such a nano-theme for example).

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