all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Determine from help if there is a shortcut - fgallina django
@ 2016-03-21  2:58 Sayth Renshaw
  2016-03-21  3:34 ` Barry Margolin
  0 siblings, 1 reply; 6+ messages in thread
From: Sayth Renshaw @ 2016-03-21  2:58 UTC (permalink / raw)
  To: help-gnu-emacs

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Determine from help if there is a shortcut - fgallina django
  2016-03-21  2:58 Determine from help if there is a shortcut - fgallina django Sayth Renshaw
@ 2016-03-21  3:34 ` Barry Margolin
  2016-03-21  4:48   ` Sayth Renshaw
  2016-03-21 13:09   ` Julien Cubizolles
  0 siblings, 2 replies; 6+ messages in thread
From: Barry Margolin @ 2016-03-21  3:34 UTC (permalink / raw)
  To: help-gnu-emacs

In article <c4540a10-58ab-4f2b-ab41-3f1a6e52fbac@googlegroups.com>,
 Sayth Renshaw <flebber.crue@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, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Determine from help if there is a shortcut - fgallina django
  2016-03-21  3:34 ` Barry Margolin
@ 2016-03-21  4:48   ` Sayth Renshaw
  2016-03-21 13:09   ` Julien Cubizolles
  1 sibling, 0 replies; 6+ messages in thread
From: Sayth Renshaw @ 2016-03-21  4:48 UTC (permalink / raw)
  To: help-gnu-emacs

On Monday, 21 March 2016 14:34:47 UTC+11,  wrote:
> In article <c4540a10-58ab-4f2b-ab41-3f1a6e52fbac@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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Determine from help if there is a shortcut - fgallina django
  2016-03-21  3:34 ` Barry Margolin
  2016-03-21  4:48   ` Sayth Renshaw
@ 2016-03-21 13:09   ` Julien Cubizolles
  2016-03-21 13:20     ` Michael Heerdegen
  1 sibling, 1 reply; 6+ messages in thread
From: Julien Cubizolles @ 2016-03-21 13:09 UTC (permalink / raw)
  To: help-gnu-emacs

Barry Margolin <barmar@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.




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Determine from help if there is a shortcut - fgallina django
  2016-03-21 13:09   ` Julien Cubizolles
@ 2016-03-21 13:20     ` Michael Heerdegen
  2016-03-21 13:58       ` Julien Cubizolles
  0 siblings, 1 reply; 6+ messages in thread
From: Michael Heerdegen @ 2016-03-21 13:20 UTC (permalink / raw)
  To: help-gnu-emacs

Julien Cubizolles <j.cubizolles@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.




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Determine from help if there is a shortcut - fgallina django
  2016-03-21 13:20     ` Michael Heerdegen
@ 2016-03-21 13:58       ` Julien Cubizolles
  0 siblings, 0 replies; 6+ messages in thread
From: Julien Cubizolles @ 2016-03-21 13:58 UTC (permalink / raw)
  To: help-gnu-emacs

Michael Heerdegen <michael_heerdegen@web.de> writes:

> Julien Cubizolles <j.cubizolles@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.




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-03-21 13:58 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-21  2:58 Determine from help if there is a shortcut - fgallina django Sayth Renshaw
2016-03-21  3:34 ` Barry Margolin
2016-03-21  4:48   ` Sayth Renshaw
2016-03-21 13:09   ` Julien Cubizolles
2016-03-21 13:20     ` Michael Heerdegen
2016-03-21 13:58       ` Julien Cubizolles

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.