Miles Bader <[EMAIL PROTECTED]> writes:

> Eli Zaretskii <[EMAIL PROTECTED]> writes:
>> I think this way of merging a face and a character code in a single
>> number is a kludge, a relic of an old era when Emacs didn't have any
>> other way to put faces on the text, and we intended to remove this at
>> some point.  Maybe Emacs 23 is that point.  We now have text
>> properties and overlays, so we shouldn't be needing this.
>
> We have discussed this before; there are still uses for glyph codes
> which aren't solved by text properties or overlays.  The example I know
> about is display tables.
>
> Perhaps another, better mechanism will come along which will supplant
> glyph codes entirely, but there isn't one yet (AFAIK).

We discussed using a cons cell (FACE . CHAR) for Emacs 23.

This representation can be hidden inside the make-glyph-code functions.

-- 
Kim F. Storm <[EMAIL PROTECTED]> http://www.cua.dk



_______________________________________________
emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to