emacs-devel
[Top][All Lists]
Advanced

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

Re: RFC: status icon support


From: Stefan Monnier
Subject: Re: RFC: status icon support
Date: Mon, 14 Jan 2008 08:35:33 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux)

>>> -  PVEC_TYPE_MASK = 0x1ffe00
>>> +  PVEC_STATUS_ICON = 0x200000,
>>> +  PVEC_TYPE_MASK = 0x2ffe00
 
>>> The introduction of a new Lisp data type for this purpose looks rather
>>> unusual compared with what other kinds of existing objects do.  For
>>> example, images, which are more fundamental notion I think, do not
>>> have a dedicated Lisp data type but are represented by image
>>> descriptors that are just lists of the form `(image . PROPS)'.

> Ok.  I suppose I could pretty easily change the lisp-visible
> representation to a cons like (status-icon . N), where N is an index
> into a table in systray.c.  What would you think of that?

If the internal data is not accessible anyway, then I think it doesn't
matter what representation you use.  So, in that case, just go with the
simplest implementation.


        Stefan




reply via email to

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