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: tabulated-list-init-header and glyphless-char-display Date: Mon, 11 Apr 2011 20:03:23 +0300 Message-ID: <83pqosra90.fsf@gnu.org> References: <83mxk0u0g7.fsf@gnu.org> <874o68zjhi.fsf@stupidchicken.com> <83k4f4twam.fsf@gnu.org> <8762qnxm44.fsf@stupidchicken.com> <83hba6rqtm.fsf@gnu.org> <87mxjyht7w.fsf@stupidchicken.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1302573554 1785 80.91.229.12 (12 Apr 2011 01:59:14 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 12 Apr 2011 01:59:14 +0000 (UTC) Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Apr 12 03:59:10 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from [140.186.70.17] (helo=lists.gnu.org) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Q9Sso-00075g-CO for ged-emacs-devel@m.gmane.org; Tue, 12 Apr 2011 03:59:10 +0200 Original-Received: from localhost ([::1]:44310 helo=lists2.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q9Sso-0001aU-9N for ged-emacs-devel@m.gmane.org; Mon, 11 Apr 2011 21:59:10 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:60900) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q9Ski-0004In-Mf for emacs-devel@gnu.org; Mon, 11 Apr 2011 21:51:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q9KXC-00055y-Mk for emacs-devel@gnu.org; Mon, 11 Apr 2011 13:04:20 -0400 Original-Received: from mtaout23.012.net.il ([80.179.55.175]:58340) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q9KXC-00055b-Es for emacs-devel@gnu.org; Mon, 11 Apr 2011 13:04:18 -0400 Original-Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0LJH00800ZDL6Z00@a-mtaout23.012.net.il> for emacs-devel@gnu.org; Mon, 11 Apr 2011 20:03:28 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([77.127.31.148]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LJH008IPZDQ6T00@a-mtaout23.012.net.il>; Mon, 11 Apr 2011 20:03:28 +0300 (IDT) In-reply-to: <87mxjyht7w.fsf@stupidchicken.com> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 80.179.55.175 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 X-Broken-Reverse-DNS: no host name found for IP address 140.186.70.17 Xref: news.gmane.org gmane.emacs.devel:138409 Archived-At: > From: Chong Yidong > Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org > Date: Sun, 10 Apr 2011 14:11:31 -0400 > > I think what you have in mind (correct me if I'm wrong) is to do some > kind of terminal detection, and then conditionally set up the > glyphless-char-display char table in the tabulated-list buffer. No, I was trying to suggest something much simpler: see if these characters can be displayed, e.g. with unencodable-char-position (and something similar for GUI sessions), and if so, use surrogates directly in the code, without going through glyphless-char-display.