[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 31.0.50; tab-bar-formal-global erased global-modeline-string's mouse
From: |
Eli Zaretskii |
Subject: |
Re: 31.0.50; tab-bar-formal-global erased global-modeline-string's mouse hover/click action menu |
Date: |
Thu, 05 Sep 2024 12:12:22 +0300 |
> From: Eval EXEC <execvy@gmail.com>
> Cc: tsdh@gnu.org, emacs-devel@gnu.org
> Date: Thu, 05 Sep 2024 16:11:02 +0800
>
> Eli Zaretskii <eliz@gnu.org> writes:
>
> >> From: Eval EXEC <execvy@gmail.com>
> >> Cc: emacs-devel <emacs-devel@gnu.org>
> >> Date: Thu, 05 Sep 2024 14:26:35 +0800
> >>
> >>
> >> Thank you, I miss paste the tab-bar-format related code.
> >> Actualy, the code in my config is :
> >>
> >> ```elisp
> >> (setq-default tab-bar-format
> >> '(exec/tab-bar-evil-tag
> >> tab-bar-format-menu-bar
> >> tab-bar-format-history
> >> tab-bar-format-tabs
> >> tab-bar-separator
> >> tab-bar-format-add-tab
> >> tab-bar-separator
> >> tab-bar-format-align-right
> >> tab-bar-format-global
> >> ))
> >> ```
> >
> > What is exec/tab-bar-evil-tag ?
>
> It's
> ```elisp
>
> (defun exec/tab-bar-evil-tag ()
> (concat
> (propertize " "
> 'face '((:foreground "#A15ABD" :background
> "#EDE6D5")))
> (propertize " Emacs Lisp Machine "
> 'face '((:background "#A15ABD" :foreground
> "#EDE6D5" :weight bold)))
> evil-mode-line-tag))
> ```
And if you remove it from tab-bar-format's value, the crashes go away?