centaur-tabs icon indicating copy to clipboard operation
centaur-tabs copied to clipboard

centaur-tabs-line error when starting emacs as server

Open amachronic opened this issue 3 years ago • 4 comments

I'm getting the following error after updating to centaur-tabs 20220112.1239:

Error during redisplay: (eval (centaur-tabs-line)) signaled (wrong-type-argument stringp nil) [9 times]

The problem seems to be centaur-tabs-active-bar is nil if I start Emacs in server mode, but if I start Emacs normally it gets initialized properly and everything works as expected. The error only happens if centaur-tabs-set-bar is set to 'left. Also, I'm using the native compiler and building emacs from source, so maybe it's an emacs bug or a misconfiguration on my end.

OS: Gentoo Emacs: 28.0.91 (built from git source 2dcb1bc47485791177917bfbd8fba95d69454135)

Thanks, and if this isn't centaur tabs' fault feel free to close this.

amachronic avatar Jan 17 '22 18:01 amachronic

  • Doom Emacs v3.0.0-dev
  • Emacs 28

Got the same issue as @amachronic centaur-tabs-line is nil when I start emacs with systemd, otherwise when I start it with emacs (not emacsclient -c), it seems to behave as expected.

Thanks for fixing it. Rgds,

MrMic avatar Apr 02 '22 11:04 MrMic

Recently upgraded and got the same error now.

  • GNU Emacs 29.0.50
  • centaur tabs https://github.com/ema2159/centaur-tabs/commit/f4cef95
  • Ubuntu 21.10

danielpza avatar Apr 04 '22 21:04 danielpza

Same issue with latest Doom release. Can confirm only on daemon and with the tab bar on the left

djs42012 avatar Feb 07 '23 18:02 djs42012

Any update on this?

rondDev avatar Sep 06 '23 11:09 rondDev