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



_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel

Reply via email to