From: Thorsten Jolitz <tjolitz@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: simple way to call `C-c a v' or a way to bind it to a key?
Date: Sat, 15 Feb 2014 18:34:07 +0100 [thread overview]
Message-ID: <87d2ioth4g.fsf@gmail.com> (raw)
In-Reply-To: CAELBRWLFLcxsK0cZs3EvVeEnvGrxQ5RfHhQc8p3u93c7LKoe-Q@mail.gmail.com
Yasushi SHOJI <yashi@atmark-techno.com> writes:
> Hi,
>
> On Feb 15, 2014 11:38 PM, "Thorsten Jolitz" <tjolitz@gmail.com> wrote:
>>
>> ,-------------------------------------------
>> | (global-set-key (kbd "<f12>") 'org-agenda)
>> `-------------------------------------------
>
> Thanks, but that's still two keys away. I want a single key to call
> the function.
`org-agenda' is just a dispatcher function, 'C-h f org-agenda' shows you
the specific functions you select with the second key, e.g.:
,-----------------------------------------------------------------------------
| a Call `org-agenda-list' to display the agenda for current day or week.
| t Call `org-todo-list' to display the global todo list.
| T Call `org-todo-list' to display the global todo list, select only
| entries with a specific TODO keyword (the user gets a prompt).
| m Call `org-tags-view' to display headlines with tags matching
| a condition (the user is prompted for the condition).
|
| More commands can be added by configuring the variable
| `org-agenda-custom-commands'. In particular, specific tags and TODO keyword
| searches can be pre-defined in this way.
`-----------------------------------------------------------------------------
so instead of binding the dispatcher function to a global key you can
bind one or more of the specific functions, e.g.
,------------------------------------------------
| (global-set-key (kbd "<f12>") 'org-agenda-list)
`------------------------------------------------
--
cheers,
Thorsten
next prev parent reply other threads:[~2014-02-15 17:33 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-15 13:35 simple way to call `C-c a v' or a way to bind it to a key? Yasushi SHOJI
2014-02-15 14:38 ` Thorsten Jolitz
2014-02-15 16:31 ` Yasushi SHOJI
2014-02-15 17:34 ` Thorsten Jolitz [this message]
2014-02-16 8:07 ` Yasushi SHOJI
2014-02-16 21:20 ` Marc Ihm
2014-02-17 9:43 ` Nicolas Richard
2014-02-18 3:45 ` Yasushi SHOJI
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87d2ioth4g.fsf@gmail.com \
--to=tjolitz@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).