From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Len Trigg Newsgroups: gmane.emacs.devel Subject: Re: TTY Vertical divider face? Date: Wed, 01 Jun 2005 09:50:41 +1200 Organization: Reel Two Ltd. Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Trace: sea.gmane.org 1117576927 22265 80.91.229.2 (31 May 2005 22:02:07 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 31 May 2005 22:02:07 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jun 01 00:01:59 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DdElm-0001rv-5M for ged-emacs-devel@m.gmane.org; Tue, 31 May 2005 23:59:30 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DdEqw-00066X-Fw for ged-emacs-devel@m.gmane.org; Tue, 31 May 2005 18:04:50 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DdEnc-0005Aw-Cr for emacs-devel@gnu.org; Tue, 31 May 2005 18:01:24 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DdEnW-00058D-Us for emacs-devel@gnu.org; Tue, 31 May 2005 18:01:19 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DdEnV-00053G-43 for emacs-devel@gnu.org; Tue, 31 May 2005 18:01:17 -0400 Original-Received: from [210.55.139.211] (helo=giger.nz.reeltwo.com) by monty-python.gnu.org with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1DdEfq-0007vm-GL for emacs-devel@gnu.org; Tue, 31 May 2005 17:53:23 -0400 Original-Received: from nepenthes.nz.reeltwo.com (localhost.localdomain [127.0.0.1]) by giger.nz.reeltwo.com (8.12.8/8.12.8) with ESMTP id j4VLof2D021842 for ; Wed, 1 Jun 2005 09:50:41 +1200 Original-To: emacs-devel@gnu.org In-Reply-To: User-Agent: Wanderlust/2.15.1 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.6 (Marutamachi) APEL/10.6 MULE XEmacs/21.4 (patch 17) (Jumbo Shrimp) (i386-redhat-linux) X-Payment: hashcash 1.2 0:050531:emacs-devel@gnu.org:58de8a9f2e390877504f1664 X-Hashcash: 0:050531:emacs-devel@gnu.org:58de8a9f2e390877504f1664 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:37970 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:37970 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.