emacs-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] tab-line-alternate-colors


From: Adam Porter
Subject: Re: [PATCH] tab-line-alternate-colors
Date: Sun, 13 Dec 2020 04:06:36 -0600
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)

Juri Linkov <juri@linkov.net> writes:

> Thanks, it would be nice to support displaying tabs in alternating
> colors.  But there are endless possibilities for look and feel of
> tabs, so instead of hard-coding only one of them for alternating
> colors, I suggest to add a customizable function with a name like
> 'tab-line-tab-face' that with a tab provided as its arg (and a list of
> tabs to be able to find the ordinal number of the given tab) would
> return its face to use.

Yes, that seems like a good idea.  Something like this?  I also added
another face for non-file-backed buffers, which helps distinguish them.

Thanks.

Attachment: 0001-New-tab-line-options-faces-and-face-function.patch
Description: patch


reply via email to

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