emacs-devel
[Top][All Lists]
Advanced

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

Re: Layered display API


From: Stefan Monnier
Subject: Re: Layered display API
Date: Wed, 13 Aug 2014 08:46:59 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux)

>> Compare this with x-popup-menu: the similarity is striking.  Which is
>> why I suggested to use menus on TTYs.
> Yes, it would be nice if we can use them. However, the fact that menus
> handle evens themselves (or try to) makes me think it's not the
> cleanest approach.

>From a display point of view, I think the "tty menus" approach is indeed
the cleanest solution when running on a tty.  But they can't be used
as-is for lack of flexibility w.r.t key-bindings and appearance (we
don't really need borders for Company menus, but we do need control
over colors).

In a GUI frame, OTOH, we'd be much better off with a GUI window
(something akin to a tooltip frame).


        Stefan



reply via email to

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