-
Notifications
You must be signed in to change notification settings - Fork 31
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
Blank modeline #64
Comments
Sorry for long delay. Most probably |
Yes, I am using version 1.0.1 and start it in text mode |
When you start nano-modeline manually, it is your first command? Can you before |
Yes, it is the first command. Here is the debugger output. Debugger entered--Lisp error: (wrong-type-argument listp nano-modeline--empty-face) |
Can you evaluate (using |
Same error on both. Debugger entered--Lisp error: (wrong-type-argument listp nano-modeline--empty-face) |
What about |
It returns |
Weird. Can you try |
Sorry for delay. Debugger entered--Lisp error: (wrong-type-argument listp default) |
What is the documentation of
|
Yep, same for me. |
What about |
This function is working. I am not sure how to check whether escape-glyph face changed, so I tried the other example in the manual |
Sorry for delay. Another try: (face-remap-set-base 'header-line 'default)
(face-remap-set-base 'header-line '(default))
(face-remap-set-base 'header-line '(:inherit default)) |
The first two return the same error, i.e., |
I'm a bit at loss, especially for the second line. The argument is a list and yet emacs complains it is not. Can you try the same with |
I am assuming this is a generic function call that should run fine on any setup. If so, it is strange that it is returning an error on mine. Since it is happening even on stock emacs without my init settings, maybe this has to do with something specific to my setup outside emacs, however crazy that sounds? You can stop looking into it if you want, since this might be specific to me. We can keep this issue open and see if anyone else comes in with the same issue. I am open to keep trying things you suggest as well if you are okay to continue this exploratory back and forth. |
Which one failed? All of them? |
Same as with my init file. First and second returned |
Does it happen if you test with |
Yes. The last screenshot (20 Feb 2024) was with |
On your last screenshot, do you know why the debug trace ends with (face-remap-set-base 'default ft) I get Debugger entered--Lisp error: (void-variable ft)
(face-remap-set-base 'default ft)
elisp--eval-last-sexp(nil)
eval-last-sexp(nil)
funcall-interactively(eval-last-sexp nil)
command-execute(eval-last-sexp) Do you get the exact smae message or do you still have the |
I still have I am not sure what the Maybe something to do my emacs version? Mine is 28.2 from the debian stable repository. |
Another try (in the terminal): emacs -q --eval "(face-remap-set-base 'default 'bold)" You should have an emacs with bold text only. If this does not work, you'll need to open a bug report or ask on Reddit or Stack Overflow because I'm a bit out of options. Maybe there's something obvious I don't see. |
I will try at other places and see. One other option is to see if this goes away once debian stable upgrades to emacs 29. I will update here if I find out something. Thanks for your effort looking into this. |
Hello. I am on debian bookworm stable and emacs 28.2. I installed the package from elpa but the new modeline is blank.
The empty gray bar at the top is supposed to be the new modeline. I see the following error in the Messages buffer.
It looks related to the modeline issue, so I googled and understood that the error means mapconcat is expecting 2 arguments but it is getting some other number of arguments. Let me know if I'm wrong. I looked at the definition of mapconcat and it has 2 arguments, function and sequence, and 1 optional separator argument. I went to the elisp file and to the section where this sexp in error is.
As can be seen in the above image, my cursor is on the sequence argument as the echo area says and lines 257-260 is the function argument. I googled what ",left" means and it says the comma means lisp should evaluate it and replace it with the value, which is what I can see in the error in the Messages buffer, the left is replaced with a constant list. I don't understand elisp enough yet to understand what the lambda function is doing but looks like mapconcat is getting 2 arguments as expected right? What am I missing here?
The text was updated successfully, but these errors were encountered: