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: Tue, 12 Apr 2011 19:45:21 +0300 Message-ID: <83hba3quzi.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> <83pqosra90.fsf@gnu.org> <87pqosg0ea.fsf@stupidchicken.com> <83oc4cr7fe.fsf@gnu.org> <87vcykaazw.fsf@stupidchicken.com> <83mxjwr3ki.fsf@gnu.org> <87lizgto6g.fsf@stupidchicken.com> <87ei578n52.fsf@stupidchicken.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1302626860 3081 80.91.229.12 (12 Apr 2011 16:47:40 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 12 Apr 2011 16:47:40 +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 18:47:35 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Q9gkV-0000om-2D for ged-emacs-devel@m.gmane.org; Tue, 12 Apr 2011 18:47:31 +0200 Original-Received: from localhost ([::1]:48782 helo=lists2.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q9gkU-00023P-Lf for ged-emacs-devel@m.gmane.org; Tue, 12 Apr 2011 12:47:30 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:36708) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q9gkS-00023D-Jw for emacs-devel@gnu.org; Tue, 12 Apr 2011 12:47:29 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q9gkR-00044V-2h for emacs-devel@gnu.org; Tue, 12 Apr 2011 12:47:28 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:35979) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q9gkQ-00044E-N8 for emacs-devel@gnu.org; Tue, 12 Apr 2011 12:47:27 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0LJJ00800T9C3800@a-mtaout22.012.net.il> for emacs-devel@gnu.org; Tue, 12 Apr 2011 19:47:25 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([77.127.31.148]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LJJ006FNTAZPND0@a-mtaout22.012.net.il>; Tue, 12 Apr 2011 19:47:25 +0300 (IDT) In-reply-to: <87ei578n52.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.172 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 Xref: news.gmane.org gmane.emacs.devel:138443 Archived-At: > From: Chong Yidong > Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org > Date: Tue, 12 Apr 2011 12:12:09 -0400 > > Instead of changing the meaning of glyphless-char-display, it might be > better to use a new char-table---say, fallback-display-table, by analogy > with buffer-display-table. I don't think using a display table is a good idea, because the display engine handles display tables in quite a different way from the glyphless-char-display support, and on a very different level. > OTOH, it's also more complicated to implement than the text-property > idea; the mapping must be done somewhere in get_next_display_element, > just after we determine the font to use for a multibyte character, > compared to just adding a few lines to x_produce_glyphs. But I agree > that it's probably a cleaner system. I'll look into it. Thanks.