guide-key icon indicating copy to clipboard operation
guide-key copied to clipboard

[Feature request] ordering

Open patxoca opened this issue 11 years ago • 4 comments

I think that ordering by-command-name instead of by-key would be very useful for some use cases. The user should be able to customize the default ordering.

patxoca avatar Sep 04 '14 17:09 patxoca

Is there any ordering at the moment?

dolzenko avatar Sep 09 '14 08:09 dolzenko

Not AFAIK, I grepped the source looking for sort/order and it seems that guide-key does not enforce any ordering itself.

Looking more carefully at the output it is unordered.

In the sentence "The user should be able to customize the default ordering" I intended to mean: in case this feature request is accepted the user should be able to choose to keep the current behaviour (the default), sort by key (if possible) or by command name.

patxoca avatar Sep 09 '14 13:09 patxoca

Cool, thought I had a bug of some sort, and yeah, really useful package, but sorting would be nice.

dolzenko avatar Sep 09 '14 13:09 dolzenko

@patxoca @dolzenko Thanks for using guide-key. Currently, guide-key doesn't manipulate an order of key bindings, so key bindings are ordered as Emacs provides.

I plan to customize an order of key bindings. Please wait for implementation.

kai2nenobu avatar Sep 09 '14 17:09 kai2nenobu