You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is maybe a bit hackish, and may not work for you, I am new to emacs and this emac's tabbar. But, this works for me, and let me know if you have any problem with it. Also, I apologize that this answer is so late, but hopefully this info is useful to someone.
(defsubst tabbar-line-buttons (tabset)
"Return a list of propertized strings for tab bar buttons.
TABSET is the tab set used to choose the appropriate buttons."
(list
(if tabbar-home-function
(car tabbar-home-button-value)
(cdr tabbar-home-button-value))
tabbar-separator-value))
then I am able to get rid of the back and forth buttons.
I am also considering hiding the home button as well, since you can scroll while hovering over the tab bar to see other groups (and I only have 2 groups, one for default emacs buffers, and one for the rest of them (all the files I have opened))
Hello again. If anybody wants to get rid of all 3 buttons, and they have button borders/dividers, but still want the left most tab to be flush against whatever its against, the following code might be best:
(defsubst tabbar-line-buttons (tabset)
"Return a list of propertized strings for tab bar buttons.
TABSET is the tab set used to choose the appropriate buttons."
(list (propertize "")))
and, if you set your tabbar-separator color to be the same as the tabbar background color, then it will appear as if you have no dangling right separator as well.
Activity
zumbalogy commentedon Nov 6, 2017
This is maybe a bit hackish, and may not work for you, I am new to emacs and this emac's tabbar. But, this works for me, and let me know if you have any problem with it. Also, I apologize that this answer is so late, but hopefully this info is useful to someone.
If I redefine "tabbar-line-buttons", found here https://github.com/dholm/tabbar/blob/master/tabbar.el#L1119
with something like
then I am able to get rid of the back and forth buttons.
I am also considering hiding the home button as well, since you can scroll while hovering over the tab bar to see other groups (and I only have 2 groups, one for default emacs buffers, and one for the rest of them (all the files I have opened))
Hope this helps!
PS: You might have to restart emacs to have this change take effect. Also, you can see my emacs settings here https://github.com/zumbalogy/emacs_settings/blob/master/tabs.el
zumbalogy commentedon Nov 7, 2017
Hello again. If anybody wants to get rid of all 3 buttons, and they have button borders/dividers, but still want the left most tab to be flush against whatever its against, the following code might be best:
and, if you set your tabbar-separator color to be the same as the tabbar background color, then it will appear as if you have no dangling right separator as well.
but you will have to change #1c1e24 to whatever color works for you.
yqrashawn commentedon Feb 26, 2019