emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Tab bar tabs landed on master


From: Zach Pearson
Subject: Re: Tab bar tabs landed on master
Date: Mon, 7 Oct 2019 16:48:26 -0500

> This will be possible with a new defcustom that I'll finish soon.

Woo! Thanks for the work you’re doing on this. The Treemacs buffer name in 
particular can get obnoxiously long. 

> On 7 Oct 2019, at 15:23, Juri Linkov <address@hidden> wrote:
> 
>> Any way. I have suggested in a Telegram group to try the new tab bar
>> functionality from master and they are enjoying it.
> 
> Thanks.
> 
>> There is only a complain from a which-key user. When the which-key
>> panel activates the tab bar displays which-key in it's name. It is not
>> something critical, but is it there a simple way to correct this?
> 
> It's possible to use the same fix as recently committed for speedbar:
> 
> --- a/lisp/speedbar.el
> +++ b/lisp/speedbar.el
> @@ -1115,7 +1115,9 @@ speedbar-mode
>       (setq dframe-track-mouse-function #'speedbar-track-mouse))
>     (setq dframe-help-echo-function #'speedbar-item-info
>         dframe-mouse-click-function #'speedbar-click
> -       dframe-mouse-position-function #'speedbar-position-cursor-on-line))
> +       dframe-mouse-position-function #'speedbar-position-cursor-on-line)
> +    (setq-local tab-bar-mode nil)
> +    (setq-local tab-line-format nil))
>   speedbar-buffer)
> 
> This will remove tabs from which-key windows.  But maybe you meant
> removing the name of the which-key buffer from the tab name?
> This will be possible with a new defcustom that I'll finish soon.
> 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]