From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Where is the vertical-border char set? Date: Wed, 30 Apr 2014 17:21:45 +0300 Message-ID: <83tx9alwxy.fsf@gnu.org> References: <87bnvjfdyv.fsf@gmail.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE X-Trace: ger.gmane.org 1398867826 2428 80.91.229.3 (30 Apr 2014 14:23:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 30 Apr 2014 14:23:46 +0000 (UTC) Cc: emacs-devel@gnu.org To: trentbuck@gmail.com (Trent W. Buck) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Apr 30 16:23:39 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WfVQA-0002SP-Oa for ged-emacs-devel@m.gmane.org; Wed, 30 Apr 2014 16:23:38 +0200 Original-Received: from localhost ([::1]:57001 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WfVQA-0007H2-07 for ged-emacs-devel@m.gmane.org; Wed, 30 Apr 2014 10:23:38 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49465) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WfVOJ-00045A-0P for emacs-devel@gnu.org; Wed, 30 Apr 2014 10:21:50 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WfVOB-0000xG-GC for emacs-devel@gnu.org; Wed, 30 Apr 2014 10:21:42 -0400 Original-Received: from mtaout29.012.net.il ([80.179.55.185]:33558) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WfVOB-0000wN-8L for emacs-devel@gnu.org; Wed, 30 Apr 2014 10:21:35 -0400 Original-Received: from conversion-daemon.mtaout29.012.net.il by mtaout29.012.net.il (HyperSendmail v2007.08) id <0N4U00B00L5D8200@mtaout29.012.net.il> for emacs-devel@gnu.org; Wed, 30 Apr 2014 17:22:51 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout29.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N4U00B2JLA3WC00@mtaout29.012.net.il>; Wed, 30 Apr 2014 17:22:51 +0300 (IDT) In-reply-to: <87bnvjfdyv.fsf@gmail.com> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 80.179.55.185 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:171661 Archived-At: > From: trentbuck@gmail.com (Trent W. Buck) > Date: Wed, 30 Apr 2014 17:55:52 +1000 >=20 > Stupidly, I started doing this today: >=20 > (setq mode-line-end-spaces (make-string 1024 ?=E2=94=80)) >=20 > It makes the modeline look prettier (except when it doesn't). > The 1024 is arbitrary, it replaces %- (infinite MINUS HYPHEN). > I can't see how to ask for infinity of an arbitrary codepoint. What's wrong with 1024? If that might be too few, enlarge it. > I want to do the same thing for the vertical-border character, I hope by "do the same thing" you do NOT mean to have 1024 characters as the border, but rather replace "|" with some non-ASCII character. > Where do I set that? It hides in one of the extra slots of the display table. See the nod= e "Display Tables" in the ELisp manual. > CAN I set that? Yes, something like (set-display-table-slot (setq standard-display-table (make-display-= table)) 'vertical-border ?=E2=94=82) But beware: the character you use must be encodable by your terminal-coding-system, otherwise you will get a question mark "?" instead of your fancy character. (Personally, I question the utility of doing what you want, but that'= s me.)