Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Determine from help if there is a shortcut - fgallina django

3 views
Skip to first unread message

Sayth Renshaw

unread,
Mar 20, 2016, 10:58:39 PM3/20/16
to
Hi

I am still learning emacs, I have installed python-django and accessed help from 'C-h a' I located the command I wanted and of course there is a M-x version of it, but how can I determine if there is already a author defined shortcut key combo?

The help says

python-django-cmd-jump-to-app is an interactive compiled Lisp function
in `python-django.el'.

(python-django-cmd-jump-to-app APP)

Jump to APP's directory.

Is there an extra help step to identify this?

Thanks

Sayth

Barry Margolin

unread,
Mar 20, 2016, 11:34:47 PM3/20/16
to
In article <c4540a10-58ab-4f2b...@googlegroups.com>,
Sayth Renshaw <flebbe...@gmail.com> wrote:

> Hi
>
> I am still learning emacs, I have installed python-django and accessed help
> from 'C-h a' I located the command I wanted and of course there is a M-x
> version of it, but how can I determine if there is already a author defined
> shortcut key combo?

C-h a shows all the keys that are bound to the command. If you don't see
any keyboard shortcuts listed there, there aren't any.

You can also use C-h w, which prompts for the name of a command and
shows you all the key bindings for it.

--
Barry Margolin, bar...@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***

Sayth Renshaw

unread,
Mar 21, 2016, 12:48:18 AM3/21/16
to
On Monday, 21 March 2016 14:34:47 UTC+11, wrote:
> In article <c4540a10-58ab-4f2b...@googlegroups.com>,
>
>
> > Hi
> >
> > I am still learning emacs, I have installed python-django and accessed help
> > from 'C-h a' I located the command I wanted and of course there is a M-x
> > version of it, but how can I determine if there is already a author defined
> > shortcut key combo?
>
> C-h a shows all the keys that are bound to the command. If you don't see
> any keyboard shortcuts listed there, there aren't any.
>
> You can also use C-h w, which prompts for the name of a command and
> shows you all the key bindings for it.
>
> --


Thanks and C-h w confirms that it is no bound to any key.

Cheers

Sayth

Julien Cubizolles

unread,
Mar 21, 2016, 9:09:49 AM3/21/16
to help-gn...@gnu.org
Barry Margolin <bar...@alum.mit.edu> writes:

> C-h a shows all the keys that are bound to the command. If you don't see
> any keyboard shortcuts listed there, there aren't any.
>
> You can also use C-h w, which prompts for the name of a command and
> shows you all the key bindings for it.

On a related note, how can one get all commands whose shortcut starts
with the same prefix, like C-h ? Your post pointed out that there are
still some commands in the C-h family that I don't know.

Julien.


Michael Heerdegen

unread,
Mar 21, 2016, 9:20:51 AM3/21/16
to help-gn...@gnu.org
Julien Cubizolles <j.cubi...@free.fr> writes:

> On a related note, how can one get all commands whose shortcut starts
> with the same prefix, like C-h ? Your post pointed out that there are
> still some commands in the C-h family that I don't know.

It's not exactly the same thing as C-h ? (that is a special command,
`help-for-help' that gives a nice overview with some explanations) - but
you can type C-h after each not yet complete key input to see all
commands reachable with this prefix. Try e.g. C-x 5 C-h.


Michael.


Julien Cubizolles

unread,
Mar 21, 2016, 9:58:23 AM3/21/16
to help-gn...@gnu.org
Michael Heerdegen <michael_...@web.de> writes:

> Julien Cubizolles <j.cubi...@free.fr> writes:
>
>> On a related note, how can one get all commands whose shortcut starts
>> with the same prefix, like C-h ? Your post pointed out that there are
>> still some commands in the C-h family that I don't know.
>
> It's not exactly the same thing as C-h ?

Yes it is, but I was also looking for the other method you gave, thank you.

> but you can type C-h after each not yet complete key input to see all
> commands reachable with this prefix. Try e.g. C-x 5 C-h.


Julien.


0 new messages