From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] tab-line-alternate-colors Date: Sun, 13 Dec 2020 17:21:50 +0200 Message-ID: <834kkpenox.fsf@gnu.org> References: <87360autpy.fsf@alphapapa.net> <87mtyiqfzv.fsf@mail.linkov.net> <87tusqt3yr.fsf@alphapapa.net> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28892"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Adam Porter Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Dec 13 16:22:32 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1koTCi-0007R6-Tp for ged-emacs-devel@m.gmane-mx.org; Sun, 13 Dec 2020 16:22:32 +0100 Original-Received: from localhost ([::1]:57614 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1koTCh-0000LZ-Vj for ged-emacs-devel@m.gmane-mx.org; Sun, 13 Dec 2020 10:22:31 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35514) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1koTCE-0008Mx-Bp for emacs-devel@gnu.org; Sun, 13 Dec 2020 10:22:02 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:36434) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1koTCE-0002GE-04; Sun, 13 Dec 2020 10:22:02 -0500 Original-Received: from [176.228.60.248] (port=3792 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1koTCD-00088W-96; Sun, 13 Dec 2020 10:22:01 -0500 In-Reply-To: <87tusqt3yr.fsf@alphapapa.net> (message from Adam Porter on Sun, 13 Dec 2020 04:06:36 -0600) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:260763 Archived-At: > From: Adam Porter > Date: Sun, 13 Dec 2020 04:06:36 -0600 > > +(defface tab-line-tab-inactive-alternate > + (let ((mode-line-bg (face-background 'mode-line nil t))) > + `((t (:inherit tab-line-tab-inactive :background ,mode-line-bg)))) Is this supposed to change the background when that of the mode line changes, or is it supposed to keep the original one, recorded when this defface is processed? More generally, why use such an unusual definition of a face? > +(defface tab-line-tab-special '((t (:slant italic))) What will this do on terminals that don''t support italic?