From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: TTY Vertical divider face? Date: Wed, 29 Jun 2005 02:54:02 +0300 Organization: JURTA Message-ID: <877jgeynwd.fsf@jurta.org> References: <877jgroo1i.fsf@jurta.org> <87u0jr1xmd.fsf@jurta.org> <87mzpisgbe.fsf@jurta.org> <87zmtbflkn.fsf@jurta.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1120017246 11411 80.91.229.2 (29 Jun 2005 03:54:06 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 29 Jun 2005 03:54:06 +0000 (UTC) Cc: snogglethorpe@gmail.com, emacs-devel@gnu.org, rms@gnu.org, miles@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jun 29 05:54:05 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DnTeG-0002fl-0S for ged-emacs-devel@m.gmane.org; Wed, 29 Jun 2005 05:54:04 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DnTmE-0007he-9n for ged-emacs-devel@m.gmane.org; Wed, 29 Jun 2005 00:02:18 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DnTj2-0006VZ-6Z for emacs-devel@gnu.org; Tue, 28 Jun 2005 23:59:00 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DnTiz-0006Us-UI for emacs-devel@gnu.org; Tue, 28 Jun 2005 23:58:59 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DnTib-00060K-Py for emacs-devel@gnu.org; Tue, 28 Jun 2005 23:58:33 -0400 Original-Received: from [194.126.101.98] (helo=mail.neti.ee) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DnTSR-0006jd-H1; Tue, 28 Jun 2005 23:41:51 -0400 Original-Received: from mail.neti.ee (80-235-32-121-dsl.mus.estpak.ee [80.235.32.121]) by Relayhost2.neti.ee (Postfix) with ESMTP id 3C4E51F20; Wed, 29 Jun 2005 06:37:05 +0300 (EEST) Original-To: storm@cua.dk (Kim F. Storm) In-Reply-To: (Kim F. Storm's message of "Tue, 28 Jun 2005 10:29:24 +0200") User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) X-Virus-Scanned: by amavisd-new-2.2.1 (20041222) (Debian) at neti.ee X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:39852 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:39852 > Maybe you should ignore the vertical-border face if its foreground > is unspecified? When the foreground is unspecified, then it uses the default foreground, which is ok. I'm sorry I forgot to post another part of changes in faces.el. The `vertical-border' face should inherit from `mode-line-inactive' only on tty. It has an inappropriate foreground color for the vertical border on X. Without any specification, on X it will use the default foreground color: Index: lisp/faces.el =================================================================== RCS file: /cvsroot/emacs/emacs/lisp/faces.el,v retrieving revision 1.325 diff -u -r1.325 faces.el --- lisp/faces.el 25 Jun 2005 23:48:27 -0000 1.325 +++ lisp/faces.el 29 Jun 2005 00:05:22 -0000 @@ -1871,7 +1878,7 @@ :group 'basic-faces) (defface vertical-border - '((default :inherit mode-line-inactive)) + '((((type tty)) :inherit mode-line-inactive)) "Face used for vertical window dividers on ttys." :version "22.1" :group 'modeline -- Juri Linkov http://www.jurta.org/emacs/