[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Integer & glyph (trunk and emacs_unicode)
From: |
Richard Stallman |
Subject: |
Re: Integer & glyph (trunk and emacs_unicode) |
Date: |
Fri, 16 Nov 2007 23:53:29 -0500 |
(let ((id (and face (face-id face))))
(if (and (numberp id)
;; Due to limitations on Emacs integer values, only
;; face ids below a certain limit can be used.
(= id (lsh (lsh id glyph-char-bits) (- glyph-char-bits))))
(logior char (lsh id glyph-char-bits))
char))
Is there any problem if I implement this solution in trunk and Emacs
unicode?
It's not _wrong_, but we've already decided to replace the
mechanism with the use of cons cells.
And I am pretty sure someone has already written the code for that.
Who was it?
Re: Integer & glyph (trunk and emacs_unicode), Richard Stallman, 2007/11/16