[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bug of display-table & make-glyph-code
From: |
Kim F. Storm |
Subject: |
Re: bug of display-table & make-glyph-code |
Date: |
Wed, 05 Sep 2007 11:15:52 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) |
Richard Stallman <address@hidden> writes:
> > Can someone reproduce the OP's behavior with Emacs 22 ?
>
> Neither with Emacs 22 nor the current CVS trunk.
>
> If we cannot make it fail, we can cross it off the list.
> Would you please?
The problem is related to the way we encode face numbers in
glyph codes (as an integer).
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.
One suggestion was to use a cons (CHAR . FACE_ID).
Hiding such details was the main rationale for introducting the
make-glyph-code function in 22.1
--
Kim F. Storm <address@hidden> http://www.cua.dk
- Re: display-buffer-change (was Re: bug of display-table & make-glyph-code), (continued)
- Re: display-buffer-change (was Re: bug of display-table & make-glyph-code), martin rudalics, 2007/09/08
- Re: display-buffer-change, Stefan Monnier, 2007/09/09
- Re: display-buffer-change, martin rudalics, 2007/09/09
- Re: display-buffer-change, David Kågedal, 2007/09/10
- Re: display-buffer-change, martin rudalics, 2007/09/10
- Re: display-buffer-change, David Kågedal, 2007/09/10
- Re: display-buffer-change, martin rudalics, 2007/09/10
- 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/06
- Re: bug of display-table & make-glyph-code, Glenn Morris, 2007/09/06
- Re: bug of display-table & make-glyph-code,
Kim F. Storm <=
- Re: bug of display-table & make-glyph-code, martin rudalics, 2007/09/05
- Re: bug of display-table & make-glyph-code, Kim F. Storm, 2007/09/05
- 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