emacs-devel
[Top][All Lists]
Advanced

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

Re: TTY Vertical divider face?


From: Juri Linkov
Subject: Re: TTY Vertical divider face?
Date: Wed, 29 Jun 2005 02:54:02 +0300
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)

> 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/





reply via email to

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