From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: tabulated-list-init-header and glyphless-char-display Date: Sun, 10 Apr 2011 00:59:21 -0300 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 X-Trace: dough.gmane.org 1302407975 26643 80.91.229.12 (10 Apr 2011 03:59:35 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 10 Apr 2011 03:59:35 +0000 (UTC) Cc: Eli Zaretskii , emacs-devel@gnu.org To: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Apr 10 05:59:31 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 1Q8loB-0001sJ-9l for ged-emacs-devel@m.gmane.org; Sun, 10 Apr 2011 05:59:31 +0200 Original-Received: from localhost ([127.0.0.1]:38122 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q8loA-00006e-Oo for ged-emacs-devel@m.gmane.org; Sat, 09 Apr 2011 23:59:30 -0400 Original-Received: from [140.186.70.92] (port=51695 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q8lo6-00006Z-2H for emacs-devel@gnu.org; Sat, 09 Apr 2011 23:59:26 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q8lo5-0000Yk-Ax for emacs-devel@gnu.org; Sat, 09 Apr 2011 23:59:26 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]:47637) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q8lo5-0000Yg-9U for emacs-devel@gnu.org; Sat, 09 Apr 2011 23:59:25 -0400 Original-Received: from 213-159-126-200.fibertel.com.ar ([200.126.159.213]:51239 helo=ceviche.home) by fencepost.gnu.org with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1Q8lo4-0004WF-1f; Sat, 09 Apr 2011 23:59:24 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id 8B1A666124; Sat, 9 Apr 2011 23:59:21 -0400 (EDT) In-Reply-To: <8762qnxm44.fsf@stupidchicken.com> (Chong Yidong's message of "Sat, 09 Apr 2011 15:26:03 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (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:138342 Archived-At: > Thanks. This doesn't quite do what I want, because (i) it applies to > the entire buffer, when I only want it to apply to one particular glyph, > and (ii) the char table's "fallback display" slot applies to all glyphs > with no fonts, when I only want to handle two particular glyphs. 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? > I propose introducing a `glyphless-char-display-default' text-property, > which, if non-nil, overrides glyphless-char-display's "fallback display" > slot locally. See attached patch, which seems to do the right thing. I think problem (i) above is not a real problem, so if we can fix (ii) by changing glyphless-char-display we wouldn't need such a text property. Stefan