* [OT] See available keybindings?
@ 2010-02-05 18:48 Nathan Neff
2010-02-05 18:58 ` Bernt Hansen
` (2 more replies)
0 siblings, 3 replies; 7+ messages in thread
From: Nathan Neff @ 2010-02-05 18:48 UTC (permalink / raw)
To: emacs-orgmode
[-- Attachment #1.1: Type: text/plain, Size: 603 bytes --]
I've defined a list of org-mode shortcuts that start with f6.
Example:
f6 i = clock in
f6 o =clock out
Is there a way to see all the available keybindings that begin
with f6? Sometimes I'm not sure what key I need to type.
When I press f6, then <f6> appears in the minibuffer, waiting for
another key -- is there a key I can press to see the available choices?
If not, how do I pass <f6> to the 'describe-bindings' command when
invoking it using M-x from the minibuffer?
That command takes optional arguments, but I don't know how to
pass arguments to commands from the minibuffer.
Thanks,
--Nate
[-- Attachment #1.2: Type: text/html, Size: 706 bytes --]
[-- Attachment #2: Type: text/plain, Size: 201 bytes --]
_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [OT] See available keybindings?
2010-02-05 18:48 [OT] See available keybindings? Nathan Neff
@ 2010-02-05 18:58 ` Bernt Hansen
2010-02-05 18:59 ` Ryan Thompson
2010-02-05 19:03 ` Mikael Fornius
2 siblings, 0 replies; 7+ messages in thread
From: Bernt Hansen @ 2010-02-05 18:58 UTC (permalink / raw)
To: Nathan Neff; +Cc: emacs-orgmode
Nathan Neff <nathan.neff@gmail.com> writes:
> I've defined a list of org-mode shortcuts that start with f6.
>
> Example:
> f6 i = clock in
> f6 o =clock out
>
> Is there a way to see all the available keybindings that begin
> with f6? Sometimes I'm not sure what key I need to type.
>
> When I press f6, then <f6> appears in the minibuffer, waiting for
> another key -- is there a key I can press to see the available choices?
>
> If not, how do I pass <f6> to the 'describe-bindings' command when
> invoking it using M-x from the minibuffer?
> That command takes optional arguments, but I don't know how to
> pass arguments to commands from the minibuffer.
f6 C-h
-Bernt
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [OT] See available keybindings?
2010-02-05 18:48 [OT] See available keybindings? Nathan Neff
2010-02-05 18:58 ` Bernt Hansen
@ 2010-02-05 18:59 ` Ryan Thompson
2010-02-06 8:24 ` Daniel Martins
2010-02-05 19:03 ` Mikael Fornius
2 siblings, 1 reply; 7+ messages in thread
From: Ryan Thompson @ 2010-02-05 18:59 UTC (permalink / raw)
To: Nathan Neff; +Cc: emacs-orgmode
Try pressing f6 and then C-h. Generally, pressing any prefix followed
by C-h lists the bindings for that prefix.
On Fri, Feb 5, 2010 at 10:48 AM, Nathan Neff <nathan.neff@gmail.com> wrote:
> I've defined a list of org-mode shortcuts that start with f6.
>
> Example:
> f6 i = clock in
> f6 o =clock out
>
> Is there a way to see all the available keybindings that begin
> with f6? Sometimes I'm not sure what key I need to type.
>
> When I press f6, then <f6> appears in the minibuffer, waiting for
> another key -- is there a key I can press to see the available choices?
>
> If not, how do I pass <f6> to the 'describe-bindings' command when
> invoking it using M-x from the minibuffer?
> That command takes optional arguments, but I don't know how to
> pass arguments to commands from the minibuffer.
>
> Thanks,
> --Nate
>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [OT] See available keybindings?
2010-02-05 18:48 [OT] See available keybindings? Nathan Neff
2010-02-05 18:58 ` Bernt Hansen
2010-02-05 18:59 ` Ryan Thompson
@ 2010-02-05 19:03 ` Mikael Fornius
2 siblings, 0 replies; 7+ messages in thread
From: Mikael Fornius @ 2010-02-05 19:03 UTC (permalink / raw)
To: Nathan Neff; +Cc: emacs-orgmode
Use <f6> C-h to see all keybindings.
--
Mikael Fornius
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [OT] See available keybindings?
2010-02-05 18:59 ` Ryan Thompson
@ 2010-02-06 8:24 ` Daniel Martins
2010-02-06 18:12 ` Noorul Islam
2010-02-07 17:20 ` [OT] " Nick Dokos
0 siblings, 2 replies; 7+ messages in thread
From: Daniel Martins @ 2010-02-06 8:24 UTC (permalink / raw)
To: Ryan Thompson; +Cc: emacs-orgmode
[-- Attachment #1.1: Type: text/plain, Size: 1517 bytes --]
I tried and it did not work.
I know it is a silly question but how can I set that f6 or f9 be a prefix
command inside org mode?
Daniel
2010/2/5 Ryan Thompson <rct@thompsonclan.org>
> Try pressing f6 and then C-h. Generally, pressing any prefix followed
> by C-h lists the bindings for that prefix.
>
> On Fri, Feb 5, 2010 at 10:48 AM, Nathan Neff <nathan.neff@gmail.com>
> wrote:
> > I've defined a list of org-mode shortcuts that start with f6.
> >
> > Example:
> > f6 i = clock in
> > f6 o =clock out
> >
> > Is there a way to see all the available keybindings that begin
> > with f6? Sometimes I'm not sure what key I need to type.
> >
> > When I press f6, then <f6> appears in the minibuffer, waiting for
> > another key -- is there a key I can press to see the available choices?
> >
> > If not, how do I pass <f6> to the 'describe-bindings' command when
> > invoking it using M-x from the minibuffer?
> > That command takes optional arguments, but I don't know how to
> > pass arguments to commands from the minibuffer.
> >
> > Thanks,
> > --Nate
> >
> >
> >
> > _______________________________________________
> > Emacs-orgmode mailing list
> > Please use `Reply All' to send replies to the list.
> > Emacs-orgmode@gnu.org
> > http://lists.gnu.org/mailman/listinfo/emacs-orgmode
> >
> >
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>
[-- Attachment #1.2: Type: text/html, Size: 2425 bytes --]
[-- Attachment #2: Type: text/plain, Size: 201 bytes --]
_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: See available keybindings?
2010-02-06 8:24 ` Daniel Martins
@ 2010-02-06 18:12 ` Noorul Islam
2010-02-07 17:20 ` [OT] " Nick Dokos
1 sibling, 0 replies; 7+ messages in thread
From: Noorul Islam @ 2010-02-06 18:12 UTC (permalink / raw)
To: Daniel Martins; +Cc: emacs-orgmode
Daniel Martins <danielemc@gmail.com> writes:
> I tried and it did not work.
>
I wonder why f9 C-h is not working for you?
How did you define this key binding in your load file?
Thanks and Regards
Noorul
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [OT] See available keybindings?
2010-02-06 8:24 ` Daniel Martins
2010-02-06 18:12 ` Noorul Islam
@ 2010-02-07 17:20 ` Nick Dokos
1 sibling, 0 replies; 7+ messages in thread
From: Nick Dokos @ 2010-02-07 17:20 UTC (permalink / raw)
To: Daniel Martins; +Cc: emacs-orgmode
Daniel Martins <danielemc@gmail.com> wrote:
>
> I tried and it did not work.
>
> I know it is a silly question but how can I set that f6 or f9 be a prefix
> command inside org mode?
>
The method assumes that <f6> has been defined as a prefix key already - from
the second part of your post, I take it that you have not done that, so that
would explain why it did not work.
As for the second part, are you sure you want it to be a prefix key *inside*
org-mode? I think the most natural way is to define it as a prefix key globally,
so you can get to your org-mode stuff from anywhere. Assuming that that is what
you want, here is the no-explanation version (I use <f7> rather than <f6>, but
you get the idea):
(setq f7-keymap (make-sparse-keymap))
(define-key global-map [f7] f7-keymap)
(define-key f7-keymap "r" 'org-remember)
(define-key f7-keymap [f7] 'org-agenda-list)
...
That makes it possible to call org-remember (with <f7> r) and
org-agenda-list (with <f7> <f7>) from anywhere - and also <f7> C-h
works. It should also be clear how to add additional key bindings in the
f7-keymap. Also if you don't want the global binding of <f7>, you can
hang the <f7> keymap from some keymap other than global-map, but as I
mentioned, that's probably not what you want.
For explanations, check out section 57.4 "Customizing Key Bindings" in
the Emacs manual.
HTH,
Nick
>
> 2010/2/5 Ryan Thompson <rct@thompsonclan.org>
>
> > Try pressing f6 and then C-h. Generally, pressing any prefix followed
> > by C-h lists the bindings for that prefix.
> >
> > On Fri, Feb 5, 2010 at 10:48 AM, Nathan Neff <nathan.neff@gmail.com>
> > wrote:
> > > I've defined a list of org-mode shortcuts that start with f6.
> > >
> > > Example:
> > > f6 i = clock in
> > > f6 o =clock out
> > >
> > > Is there a way to see all the available keybindings that begin
> > > with f6? Sometimes I'm not sure what key I need to type.
> > >
> > > When I press f6, then <f6> appears in the minibuffer, waiting for
> > > another key -- is there a key I can press to see the available choices?
> > >
> > > If not, how do I pass <f6> to the 'describe-bindings' command when
> > > invoking it using M-x from the minibuffer?
> > > That command takes optional arguments, but I don't know how to
> > > pass arguments to commands from the minibuffer.
> > >
> > > Thanks,
> > > --Nate
> > >
> > >
> > >
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2010-02-07 17:24 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-05 18:48 [OT] See available keybindings? Nathan Neff
2010-02-05 18:58 ` Bernt Hansen
2010-02-05 18:59 ` Ryan Thompson
2010-02-06 8:24 ` Daniel Martins
2010-02-06 18:12 ` Noorul Islam
2010-02-07 17:20 ` [OT] " Nick Dokos
2010-02-05 19:03 ` Mikael Fornius
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).