From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.devel Subject: Re: bug of display-table & make-glyph-code Date: Mon, 10 Sep 2007 15:29:00 +0900 Message-ID: References: <200708271732.22306.zslevin@gmail.com> <46DD9F41.8090700@gmx.at> <87bqch1nhz.fsf@kfs-lx.testafd.dk> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII X-Trace: sea.gmane.org 1189407317 18055 80.91.229.12 (10 Sep 2007 06:55:17 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 10 Sep 2007 06:55:17 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Sep 10 16:55:04 2007 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.50) id 1IUkGG-0002Gx-5g for ged-emacs-devel@m.gmane.org; Mon, 10 Sep 2007 16:29:12 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IUclt-0008VY-M2 for ged-emacs-devel@m.gmane.org; Mon, 10 Sep 2007 02:29:21 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IUclp-0008Rx-12 for emacs-devel@gnu.org; Mon, 10 Sep 2007 02:29:17 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IUcln-0008OT-In for emacs-devel@gnu.org; Mon, 10 Sep 2007 02:29:16 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IUcln-0008OD-B7 for emacs-devel@gnu.org; Mon, 10 Sep 2007 02:29:15 -0400 Original-Received: from mx1.aist.go.jp ([150.29.246.133]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IUclm-00058F-8G for emacs-devel@gnu.org; Mon, 10 Sep 2007 02:29:15 -0400 Original-Received: from rqsmtp1.aist.go.jp (rqsmtp1.aist.go.jp [150.29.254.115]) by mx1.aist.go.jp with ESMTP id l8A6T24W007323; Mon, 10 Sep 2007 15:29:02 +0900 (JST) env-from (handa@m17n.org) Original-Received: from smtp1.aist.go.jp by rqsmtp1.aist.go.jp with ESMTP id l8A6T2Ma027655; Mon, 10 Sep 2007 15:29:02 +0900 (JST) env-from (handa@m17n.org) Original-Received: by smtp1.aist.go.jp with ESMTP id l8A6T0iC015071; Mon, 10 Sep 2007 15:29:00 +0900 (JST) env-from (handa@m17n.org) Original-Received: from handa by etlken.m17n.org with local (Exim 4.67) (envelope-from ) id 1IUclY-0006sU-26; Mon, 10 Sep 2007 15:29:00 +0900 In-reply-to: (message from Stefan Monnier on Mon, 10 Sep 2007 01:50:25 -0400) User-Agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/23.0.0 (i686-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) X-Detected-Kernel: Solaris 8 (1) 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:78416 Archived-At: In article , Stefan Monnier writes: > > I think we anyway need some backward imcompatible change, > > and require rewriting of old codes that utilize glyph-table. > > And, if so, it seems that deleting glyph-table (and > > create-glyph) is the easiet solution. > > Shall I go ahead along that line? > Grepping Emacs's source code and Googling emacswiki shows the following uses of > glyph-create: > - in disp-table: standard-display-g1, standard-display-graphic, > standard-display-underline. The last one is probably better off using > make-glyph-code. I don't know how to mimck the other two using > other features. But neither do I know why anybody would want to > use those. It seems that using the utf-8 encoding in current xterms > makes those hacks completely useless. > `standard-display-g1' seems to only be used in obsolete/iso-swed.el > (and maybe in W3). `standard-display-graphic' seems not to be > used anywhere. > - in some Gnus threading display hack which also would be better off using > make-glyph-code (http://www.emacswiki.org/cgi-bin/emacs/GnusFormatting). > So I think we can just drop this feature altogether. Thank you for investigating that. Are there any objections to dropping them? --- Kenichi Handa handa@m17n.org