Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show docstrings of lambda() commands #29

Open
novoid opened this issue Dec 1, 2014 · 1 comment
Open

Show docstrings of lambda() commands #29

novoid opened this issue Dec 1, 2014 · 1 comment
Milestone

Comments

@novoid
Copy link

novoid commented Dec 1, 2014

Hi!

I really do love guide-key! Thanks for this great piece of software.

However, I do have a number of commands which were defined like the following:

(define-key my-map "i" (lambda ()
                         """foobar"""
                         (interactive) (my-mobile-org-import)))

As you might already know: guide-key does only show me "??" instead of any useful hint.

Is it possible to adopt guide-key so that it shows the first X characters of an existing docstring? In the example above, this would be "foobar" (instead of "??").

Thanks!

@kai2nenobu kai2nenobu added this to the ver2.0.0 milestone Dec 7, 2014
@kai2nenobu
Copy link
Owner

Currently, guide-key get key bindings to parse the result of describe-buffer-bindings, so guide-key has only command name and doesn't have its definition. It's a very poor behavior.

I'll plan to modify this behavior and get command definitions in a proper way.
Please wait until its modification.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants