-
-
Notifications
You must be signed in to change notification settings - Fork 196
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: nano interferes with web-mode (TSX) #122
Comments
Could you try to use nano-modeline instead (which is on ELPA)? |
Not sure what you mean? Instead of what? |
Sorry for not being clear. There is now a dedicated package (nano-modeline) that is available on ELPA. You can install it from Emacs and then test is by typing |
I got that part, just was confused about the "instead" part. So just the modeline instead of the whole nano package.
Works just fine. Works also if I load the modeline before opening the file. |
Sorry for late answer. Does that mean it is working properly now? |
It means I can run |
I need to update nano-emacs to reflect the change but the story is that I split it in independent packages (nano-theme and nano-modeline) such that people are free to use this or that part. In the meantime, I've also developped several packages that go along the idea of nano emacs. You can have a look at my configuration here: https://github.com/rougier/dotemacs |
Thank you for your time, and please don't feel pushed. On a side note: I feel like the decluttering of colours together with the font hints removes a lot of distraction while still adding visual structure. It helps to focus on complex source code, so, great work! |
Thanks. Coming back to your problem, does that mean that nano-theme + nano-modeline works as expected now? |
I was able to resolve the issue by commenting out this line: Line 57 in c313957
|
Oh, that's surprising and I wonder how you found the problem. Do you want to make a PR (to just comment it by default) ? |
When it stopped working, I just started poking around with the settings to see how all of this actually worked and suspected this might be a font locking issue.
Sure thing! |
Do you want to make a PR? |
When switching to web-mode, it breaks with
Error (prog-mode-hook): Error running hook "highlight-indent-guides-mode" because: (wrong-number-of-arguments #<subr quote> 0)
and stays in fundamental mode.Reproduce:
emacs -q -l nano.el
web-mode
withinstall-package
M-x web-mode
Let me know if I can help debugging, but remember my elisp-fu is near to non-existent.
The text was updated successfully, but these errors were encountered: