[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bug of display-table & make-glyph-code
From: |
Stefan Monnier |
Subject: |
Re: bug of display-table & make-glyph-code |
Date: |
Mon, 10 Sep 2007 01:50:25 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/23.0.50 (gnu/linux) |
>> The number of bits left over in a glyph code for the face number
>> is vastly reduced on the unicode-2 branch, so as soon as we
>> merge that to the trunk, the problem will certainly be
>> visible on trunk.
>> The solution is to find some other way to merge a face with a
>> char-code to make a glyph code. We have discussed this some
>> time ago.
>> I asked Handa if he could please work on this
>> in unicode-2.
> I'll work on it.
> 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.
Stefan
- Re: bug of display-table & make-glyph-code, (continued)
- Re: bug of display-table & make-glyph-code, Kenichi Handa, 2007/09/07
- Re: bug of display-table & make-glyph-code, Eli Zaretskii, 2007/09/07
- Re: bug of display-table & make-glyph-code, Kenichi Handa, 2007/09/07
- Re: bug of display-table & make-glyph-code, Eli Zaretskii, 2007/09/07
- Re: bug of display-table & make-glyph-code, Richard Stallman, 2007/09/08
- Re: bug of display-table & make-glyph-code, Kenichi Handa, 2007/09/09
- Re: bug of display-table & make-glyph-code, Eli Zaretskii, 2007/09/09
- Re: bug of display-table & make-glyph-code, Richard Stallman, 2007/09/07
- Re: bug of display-table & make-glyph-code, Richard Stallman, 2007/09/09
- Re: bug of display-table & make-glyph-code, Kenichi Handa, 2007/09/10
- Re: bug of display-table & make-glyph-code,
Stefan Monnier <=
- Re: bug of display-table & make-glyph-code, Kenichi Handa, 2007/09/10
- Re: bug of display-table & make-glyph-code, Kim F. Storm, 2007/09/10
- Re: bug of display-table & make-glyph-code, Leo, 2007/09/11
- Re: bug of display-table & make-glyph-code, Stefan Monnier, 2007/09/11
- Re: bug of display-table & make-glyph-code, Richard Stallman, 2007/09/11
- Re: bug of display-table & make-glyph-code, Kim F. Storm, 2007/09/11
- Re: bug of display-table & make-glyph-code, Eli Zaretskii, 2007/09/10
- Re: bug of display-table & make-glyph-code, Kenichi Handa, 2007/09/10
- Re: bug of display-table & make-glyph-code, Richard Stallman, 2007/09/12
- Re: bug of display-table & make-glyph-code, Richard Stallman, 2007/09/11