From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: TTY Vertical divider face? Date: Mon, 06 Jun 2005 16:27:12 +0300 Organization: JURTA Message-ID: <878y1nobtb.fsf@jurta.org> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1118064676 17922 80.91.229.2 (6 Jun 2005 13:31:16 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 6 Jun 2005 13:31:16 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jun 06 15:31:09 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DfHfa-0003fg-0G for ged-emacs-devel@m.gmane.org; Mon, 06 Jun 2005 15:29:34 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DfHlt-0003lB-K8 for ged-emacs-devel@m.gmane.org; Mon, 06 Jun 2005 09:36:05 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DfHjr-0002vp-6b for emacs-devel@gnu.org; Mon, 06 Jun 2005 09:33:59 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DfHjp-0002ua-NL for emacs-devel@gnu.org; Mon, 06 Jun 2005 09:33:57 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DfHjp-0002tm-BN for emacs-devel@gnu.org; Mon, 06 Jun 2005 09:33:57 -0400 Original-Received: from [194.126.101.111] (helo=mail.neti.ee) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DfHja-0006s6-TD for emacs-devel@gnu.org; Mon, 06 Jun 2005 09:33:43 -0400 Original-Received: from mail.neti.ee (80-235-41-238-dsl.mus.estpak.ee [80.235.41.238]) by Relayhost2.neti.ee (Postfix) with ESMTP id 117FA5A3A; Mon, 6 Jun 2005 16:30:22 +0300 (EEST) Original-To: Len Trigg In-Reply-To: (Len Trigg's message of "Wed, 01 Jun 2005 09:50:41 +1200") User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) X-Virus-Scanned: by amavisd-new-2.2.1 (20041222) (Debian) at neti.ee 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:38175 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:38175 >> 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/