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: Sun, 10 Apr 2011 19:53:09 +0300 Message-ID: <83hba6rqtm.fsf@gnu.org> References: <83mxk0u0g7.fsf@gnu.org> <874o68zjhi.fsf@stupidchicken.com> <83k4f4twam.fsf@gnu.org> <8762qnxm44.fsf@stupidchicken.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1302454529 31655 80.91.229.12 (10 Apr 2011 16:55:29 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 10 Apr 2011 16:55:29 +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 Sun Apr 10 18:55:25 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Q8xv3-0002xS-E4 for ged-emacs-devel@m.gmane.org; Sun, 10 Apr 2011 18:55:25 +0200 Original-Received: from localhost ([127.0.0.1]:49346 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q8xv1-0007uW-65 for ged-emacs-devel@m.gmane.org; Sun, 10 Apr 2011 12:55:23 -0400 Original-Received: from [140.186.70.92] (port=36320 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q8xut-0007tQ-6G for emacs-devel@gnu.org; Sun, 10 Apr 2011 12:55:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q8xur-0007Jz-Tz for emacs-devel@gnu.org; Sun, 10 Apr 2011 12:55:14 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:53145) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q8xur-0007JQ-JK for emacs-devel@gnu.org; Sun, 10 Apr 2011 12:55:13 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0LJG00M00499T300@a-mtaout22.012.net.il> for emacs-devel@gnu.org; Sun, 10 Apr 2011 19:55:12 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([84.229.239.68]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LJG00LMZ4BVCXH0@a-mtaout22.012.net.il>; Sun, 10 Apr 2011 19:55:11 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 80.179.55.172 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:138355 Archived-At: > From: Chong Yidong > Cc: Stefan Monnier , emacs-devel@gnu.org > Date: Sun, 10 Apr 2011 11:47:58 -0400 > > > No, "glyphless" and "without a font" are (and should be) synonyms. > > Except that on a text terminal, "without a font" means "cannot be > > encoded for the current terminal encoding". > > That's apparently not how glyphless-char-display works. The docstring > is a bit ambiguous, but glyphless-char-display actually *defines* the > characters that cannot be displayed in an ordinary way. Yes. > For instance, > if you do (aset glyphless-char-display ?a 'empty-box), that tells Emacs > that "a" is a glyphless character, and causes all "a"'s to be displayed > as empty boxes. That's right, but why would you do something like that with a characters that is perfectly displayable? You should only do that with characters that cannot be displayed, like unencodable characters on a tty. That's what I was trying to convey; sorry if I failed to get that across. > What you are thinking of is a char table that says "how should we > display character C if it has no font", but AFAICT there is currently no > such facility. glyphless-char-display is such a facility, but it is not automatic, it needs too be filled with appropriate values. At least the fact that a character cannot be displayed normally is determined automatically. Btw, I'm not sure how all this is related to the issue at hand.