From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Oliver Scholz Newsgroups: gmane.emacs.help Subject: Unicode box-drawing chars Date: Thu, 12 Sep 2002 16:42:35 +0200 Organization: Olymp Sender: help-gnu-emacs-admin@gnu.org Message-ID: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1031836600 9986 127.0.0.1 (12 Sep 2002 13:16:40 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 12 Sep 2002 13:16:40 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17pTpm-0002av-00 for ; Thu, 12 Sep 2002 15:16:38 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17pTpw-0000R5-00; Thu, 12 Sep 2002 09:16:48 -0400 Original-Path: shelby.stanford.edu!nntp.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fu-berlin.de!uni-berlin.de!dialin-145-254-196-212.arcor-ip.NET!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 46 Original-NNTP-Posting-Host: dialin-145-254-196-212.arcor-ip.net (145.254.196.212) Original-X-Trace: fu-berlin.de 1031835817 116717 145.254.196.212 (16 [87814]) X-Orig-Path: hermes!nobody X-Operating-System: Linux from Scratch X-Attribution: os X-Face: "HgH2sgK|bfH$;PiOJI6|qUCf.ve<51_Od(%ynHr?=>znn#~#oS>",F%B8&\vus),2AsPYb -n>PgddtGEn}s7kH?7kH{P_~vu?]OvVN^qD(L)>G^gDCl(U9n{:d>'DkilN!_K"eNzjrtI4Ya6;Td% IZGMbJ{lawG+'J>QXPZD&TwWU@^~A}f^zAb[Ru;CT(UA]c& User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i686-pc-linux-gnu) Cancel-Lock: sha1:PhXrwn4u9FxeZ3wl+z8uzXEQcmc= Original-Xref: nntp.stanford.edu gnu.emacs.help:104824 Original-To: help-gnu-emacs@gnu.org Errors-To: help-gnu-emacs-admin@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.help:1379 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:1379 This may be slightly off topic. It is, however, tangential. How do I deal with UCS box-drawing chars in Emacs? With the use of font-sets, it is very likely that the box-drawing chars and the latin-chars (and the Space) have different character width. So I can not rely on the box-drawing-chars being properly aligned. For example: I use adobe-courier for latin characters and gnu-unifont for everything else. Due to this in the following examples the "║"s on the right side are not properly aligned. ╔════╗ ║ ║ ║ ║ ║ ║ ║ ║ ╚════╝ ╔══════╗ ║Dies ║ ║ist ║ ║ein ║ ║Test. ║ ╚══════╝ Naturally things become even more strange in this example: ╔══╦══╗ ║┌─╨─┐║ ║│╲ ╱│║ ╠╡ ╳ ╞╣ ║│╱ ╲│║ ║└─╥─┘║ ╚══╩══╝ Why do I ask and what do I want? There are many places where the box-drawing chars could be useful in Emacs. For example I could imagine to enhance the widget-library to use those chars. Or Emacs/W3 could use them to render tables or whatever. Does anybody have an idea how to deal with this problem? -- Oliver -- 26 Fructidor an 210 de la Révolution Liberté, Egalité, Fraternité!