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: Mon, 06 Jun 2005 16:27:12 +0300
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)

>> How can I set the face used to display the vertical divider that
>> separates side-by-side windows (I am running in a TTY).  I was
>> initially told that modeline-inactive face would do the trick, but I
>> think my question was misunderstood.  It would seems a strange
>> omission if such a thing were not possible.
>
> I had tried googling for answers to this before I posted, but lacked
> the right keywords.  Kim Storm gave me some clues and I found that the
> following code works:
>
> (set-display-table-slot standard-display-table
>                       'vertical-border
>                       (let* ((face 'mode-line)
>                              (face-offset (lsh (face-id face) 19)))
>                         (+ face-offset ?|)))
>
> I'd like to also suggest that this be made a default, perhaps using a
> specific vertical-border-face, to be more consistent with how the rest
> of face customization works.

Using inverse colors for the vertical border on a TTY (where the
border is displayed as a dash line) seems like a natural default.
Is it possible to set inverse colors for the vertical border
by default without using the display table?

-- 
Juri Linkov
http://www.jurta.org/emacs/





reply via email to

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