emacs-devel
[Top][All Lists]
Advanced

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

Re: RFC: status icon support again


From: YAMAMOTO Mitsuharu
Subject: Re: RFC: status icon support again
Date: Sun, 03 Feb 2008 16:37:56 +0900
User-agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (Shij┼Ź) APEL/10.6 Emacs/23.0.50 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI)

>>>>> On Sat, 02 Feb 2008 23:35:18 -0700, Tom Tromey <address@hidden> said:

> * I looked a little at rewriting so status icons would be part of
> keymaps, but this looked complicated and I didn't see a benefit --
> in particular this code has no relation to toolbars at all, and I
> didn't think any code could be shared.

Of course code cannot be shared between them without changing the
fundamental design of your code for status icons.  Do you claim that
status icons and tool bar icons are inherently different enough to
resort to different design in implementation code and also in elisp
interface?

Another benefit of the use of keymaps is that it makes easier to move
between status icons from/to tool bar icons (and possibly also between
menu bar items?), in the case that the use of either is
impossible/inappropriate.  I think user-configurable event dispatcher
tables should always be implemented as keymaps unless there are strong
reasons to avoid them.

                                     YAMAMOTO Mitsuharu
                                address@hidden




reply via email to

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