unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Len Trigg <len@reeltwo.com>
Subject: Re: TTY Vertical divider face?
Date: Wed, 01 Jun 2005 09:50:41 +1200	[thread overview]
Message-ID: <hb7jhff4jy.wl%len@reeltwo.com> (raw)
In-Reply-To: <hbis11fn9l.wl%len@reeltwo.com>

Len Trigg wrote:
> 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 ?|)))

(FYI, I actually found the information in a fairly old bug report
where they were using isearch rather than mode-line face and it
segfaulted emacs -- and in that case it still does).  I'm posting my
reply here so that hopefully it'll be easier for people to find in
searches in the future.

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.

Cheers,
Len.

  reply	other threads:[~2005-05-31 21:50 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-30  2:41 TTY Vertical divider face? Len Trigg
2005-05-31 21:50 ` Len Trigg [this message]
2005-06-06 13:27   ` Juri Linkov
2005-06-07  5:12     ` Miles Bader
2005-06-07 15:03       ` Juri Linkov
2005-06-07 23:00         ` Miles Bader
2005-06-08 12:02       ` Richard Stallman
2005-06-08 20:32   ` Juri Linkov
2005-06-14 22:31     ` Richard Stallman
2005-06-18 13:59       ` Juri Linkov
2005-06-19  3:51         ` Richard Stallman
2005-06-20  9:09           ` Miles Bader
2005-06-20 10:14             ` Miles Bader
2005-06-20 10:48               ` Miles Bader
2005-06-20 15:06               ` Johan Bockgård
2005-06-21  0:11                 ` Miles Bader
2005-06-21  0:21                   ` Miles Bader
2005-06-21 15:13                     ` Richard M. Stallman
2005-06-21 16:29                     ` Juri Linkov
2005-06-22  0:21                       ` Miles Bader
2005-06-22 13:03                         ` Juri Linkov
2005-06-23  0:54                           ` Richard M. Stallman
2005-06-23  7:48                             ` Kim F. Storm
2005-06-27 23:54                               ` Juri Linkov
2005-06-28  8:25                                 ` Kim F. Storm
2005-06-28 23:54                                   ` Juri Linkov
2005-06-29  9:12                                     ` Kim F. Storm
2005-06-28 18:47                                 ` Richard M. Stallman
2005-06-27 23:54                               ` Juri Linkov
2005-06-28  8:29                                 ` Kim F. Storm
2005-06-28 23:54                                   ` Juri Linkov
2005-06-29  9:02                                     ` Kim F. Storm
2005-06-28 18:47                                 ` Richard M. Stallman
2005-07-02  0:54                                 ` David Hunter
2005-07-02 10:53                                   ` Eli Zaretskii
2005-06-21 22:59                     ` Richard M. Stallman
2005-06-22  0:02                       ` Miles Bader
2005-06-21  2:00               ` Richard Stallman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=hb7jhff4jy.wl%len@reeltwo.com \
    --to=len@reeltwo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).