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: Sun, 10 Apr 2011 11:47:58 -0400 Message-ID: References: <83mxk0u0g7.fsf@gnu.org> <874o68zjhi.fsf@stupidchicken.com> <83k4f4twam.fsf@gnu.org> <8762qnxm44.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1302450492 11450 80.91.229.12 (10 Apr 2011 15:48:12 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 10 Apr 2011 15:48:12 +0000 (UTC) Cc: Stefan Monnier , emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Apr 10 17:48:06 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 1Q8wru-0001Fp-EA for ged-emacs-devel@m.gmane.org; Sun, 10 Apr 2011 17:48:06 +0200 Original-Received: from localhost ([127.0.0.1]:59246 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q8wrt-0000l2-Pi for ged-emacs-devel@m.gmane.org; Sun, 10 Apr 2011 11:48:05 -0400 Original-Received: from [140.186.70.92] (port=51535 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q8wro-0000kt-Da for emacs-devel@gnu.org; Sun, 10 Apr 2011 11:48:01 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q8wrn-0007Z5-IM for emacs-devel@gnu.org; Sun, 10 Apr 2011 11:48:00 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]:56986) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q8wrn-0007Yy-Gr for emacs-devel@gnu.org; Sun, 10 Apr 2011 11:47:59 -0400 Original-Received: from cyd by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1Q8wrm-0005lq-S3; Sun, 10 Apr 2011 11:47:58 -0400 In-Reply-To: (Eli Zaretskii's message of "Sun, 10 Apr 2011 01:24:41 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.10 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:138352 Archived-At: Eli Zaretskii writes: >> Hmm... so IIUC we distinguish between "glyphless" and "without a font". >> Where do we explain the difference between the two, and is there a good >> reason to distinguish the two cases? > > 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. 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. 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. There is only the extra slot of glyphless-char-display, which handles all characters with no font without discriminating.