From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: TTY Vertical divider face? Date: Tue, 7 Jun 2005 14:12:08 +0900 Message-ID: References: <878y1nobtb.fsf@jurta.org> Reply-To: snogglethorpe@gmail.com, miles@gnu.org NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1118121054 21391 80.91.229.2 (7 Jun 2005 05:10:54 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 7 Jun 2005 05:10:54 +0000 (UTC) Cc: Len Trigg , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jun 07 07:10:52 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DfWM1-0002eJ-RK for ged-emacs-devel@m.gmane.org; Tue, 07 Jun 2005 07:10:22 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DfWST-0006R5-EI for ged-emacs-devel@m.gmane.org; Tue, 07 Jun 2005 01:17:01 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DfWS8-0006Mg-2w for emacs-devel@gnu.org; Tue, 07 Jun 2005 01:16:40 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DfWS6-0006M7-Rs for emacs-devel@gnu.org; Tue, 07 Jun 2005 01:16:39 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DfWS6-0006LI-OK for emacs-devel@gnu.org; Tue, 07 Jun 2005 01:16:38 -0400 Original-Received: from [64.233.184.201] (helo=wproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DfWR1-0001cI-Hq for emacs-devel@gnu.org; Tue, 07 Jun 2005 01:15:31 -0400 Original-Received: by wproxy.gmail.com with SMTP id 40so11867wri for ; Mon, 06 Jun 2005 22:12:08 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=AQqjsL4gKSMAtEi6oKVoYIzipfdR2YeMEqoEh1yRIBBYTOAxZwzNpOC53Mng0shQR5VImsaMu09mDU2URlFpD79GLK+sniool4MxehmnbYMvEYpUCSus/uSfq/H+gHCeZP8ApF1VnTagNS+h8qBl0jRyjczEHtUoa91lUGih5ew= Original-Received: by 10.54.20.72 with SMTP id 72mr1182wrt; Mon, 06 Jun 2005 22:12:08 -0700 (PDT) Original-Received: by 10.54.19.31 with HTTP; Mon, 6 Jun 2005 22:12:08 -0700 (PDT) Original-To: Juri Linkov In-Reply-To: <878y1nobtb.fsf@jurta.org> Content-Disposition: inline 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:38227 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:38227 On 6/6/05, Juri Linkov wrote: > Is it possible to set inverse colors for the vertical border > by default without using the display table? It's easy just using the same method Len used in lisp. Any objection to the following patch? Should it use a different face (note that the actual face that ends up being used by this code is `mode-line-inactive', even though the code says MODE_LINE_FACE_ID; I'm not sure why this is)? 2005-06-07 Miles Bader =09* dispnew.c (build_frame_matrix_from_leaf_window): Display =09vertical window-separator on ttys using mode-line face by default. --- orig/src/dispnew.c +++ mod/src/dispnew.c @@ -2724,7 +2724,7 @@ =09 struct Lisp_Char_Table *dp =3D window_display_table (w); =09 right_border_glyph =3D (dp && INTEGERP (DISP_BORDER_GLYPH (dp)) =09=09=09=09? XINT (DISP_BORDER_GLYPH (dp)) -=09=09=09=09: '|'); +=09=09=09=09: ('|' + (MODE_LINE_FACE_ID << FACE_ID_BITS))); =09} } else -Miles --=20 Do not taunt Happy Fun Ball.