-
Notifications
You must be signed in to change notification settings - Fork 51
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
Error during redisplay: (eval (centaur-tabs-line)) signaled (wrong-type-argument stringp nil) [84 times] #227
Comments
I'm seeing this too. Seems to happen when buffers that don't have a tabset are opened (for example, org-agenda). Adding a simple null check to (defun centaur-tabs-make-tabset (name &rest objects)
"Make a new tab set whose name is the string NAME.
It is initialized with tabs build from the list of OBJECTS."
(when name
(let* ((tabset (intern name centaur-tabs-tabsets))
(tabs (mapcar #'(lambda (object)
(centaur-tabs-make-tab object tabset))
objects)))
(set tabset tabs)
(centaur-tabs-put-cache tabset 'select (car tabs))
(put tabset 'start 0)
tabset))) |
Squashes ema2159#227 I'm not sure if this is the best fix (I'm just solving the immediate problem). Input is appreciated.
Unfortunately, #235 does not fix it for me, I still see these errors in the message buffer (and it's slowing Emacs down). |
Does the error exist in only Emacs 30? 🤔 Can you tell me how to reproduce this error? Thanks! |
In the meantime, I switched back to Emacs 29.3 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.41, cairo version 1.18.0) hoping that it would fix the error.
It fails in
It seems like \edit: After evaluating the Is this some sort of initialization problem then? I am using spacemacs. |
Oh, that may be related to #127 since I am running Emacs as a service / daemon, too. So When starting Emacs directly the tabs seem to work just fine. |
The issue can be reproduced when checking out a different branch with a different set of project files using Git, causing |
Hi.
I am using GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.38, cairo version 1.18.0) and installed centaur-tabs 20230607.1501 from elpa.
The message buffer is spammed with those messages on every key stroke and the tab bar is not shown.
Seems like the
centaur-tabs-active-bar
isnil
?The text was updated successfully, but these errors were encountered: