emacs-devel
[Top][All Lists]
Advanced

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

Re: Generalizing make-composed-keymap


From: Stefan Monnier
Subject: Re: Generalizing make-composed-keymap
Date: Wed, 15 Jun 2016 11:41:34 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

>> BTW, currently make-composed-keymap takes a list of maps as argument,
>> but I'm beginning to think it would make sense to also accept (KEY
>> . CMD) elements in that list, so that we can just say
[...]
> What about adding a `parent' option to make-sparse-keymap instead?
> That could help with discoverability.

Hmm... indeed I guess we could even merge make-sparse-keymap and
make-composed-keymap: if the first arg is a string, treat it as the
"menu name", otherwise treat it as a list of maps or list of bindings.


        Stefan




reply via email to

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