From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: tabulated-list-init-header and glyphless-char-display Date: Mon, 11 Apr 2011 13:31:41 -0400 Message-ID: <87pqosg0ea.fsf@stupidchicken.com> 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> <83pqosra90.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1302572908 31711 80.91.229.12 (12 Apr 2011 01:48:28 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 12 Apr 2011 01:48:28 +0000 (UTC) Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Apr 12 03:48:20 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 1Q9SiK-0002T4-Nj for ged-emacs-devel@m.gmane.org; Tue, 12 Apr 2011 03:48:20 +0200 Original-Received: from localhost ([::1]:59067 helo=lists2.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q9SiK-0001SK-EA for ged-emacs-devel@m.gmane.org; Mon, 11 Apr 2011 21:48:20 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:54079) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q9Si0-0000ZS-OO for emacs-devel@gnu.org; Mon, 11 Apr 2011 21:48:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q9Kxm-0007u3-05 for emacs-devel@gnu.org; Mon, 11 Apr 2011 13:31:47 -0400 Original-Received: from vm-emlprdomr-05.its.yale.edu ([130.132.50.146]:57358) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q9Kxl-0007tY-UY; Mon, 11 Apr 2011 13:31:45 -0400 Original-Received: from furball (dhcp128036014198.central.yale.edu [128.36.14.198]) (authenticated bits=0) by vm-emlprdomr-05.its.yale.edu (8.14.4/8.14.4) with ESMTP id p3BHVfDH004211 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 11 Apr 2011 13:31:42 -0400 Original-Received: by furball (Postfix, from userid 1000) id 57CD5160328; Mon, 11 Apr 2011 13:31:41 -0400 (EDT) In-Reply-To: <83pqosra90.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 11 Apr 2011 20:03:23 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-Scanned-By: MIMEDefang 2.71 on 130.132.50.146 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 130.132.50.146 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:138407 Archived-At: Eli Zaretskii writes: >> 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. How would this handle the multi-tty case?