emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: display problem


From: Kim F. Storm
Subject: Re: display problem
Date: Tue, 29 May 2007 12:01:36 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.990 (gnu/linux)

Miles Bader <address@hidden> writes:

> Eli Zaretskii <address@hidden> 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 <address@hidden> http://www.cua.dk





reply via email to

[Prev in Thread] Current Thread [Next in Thread]