help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: create large menu on the fly


From: Stefan Monnier
Subject: Re: create large menu on the fly
Date: Thu, 06 Jun 2013 21:05:18 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

> So the solution would be to populate each menu only when it is activated.
> Any idea how to do this?

Oddly enough, Emacs's current C code can't do that: the C code traverses
the whole menu, turns it into a new data-structure using the format
expected by the UI toolkit, and passes it to the toolkit.

It would be good to change that such that the conversion from Lisp
format to the toolkit format is done incrementally via callbacks, but
it's a longstanding limitation that nobody has felt like tackling yet.


        Stefan




reply via email to

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