emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Marcelo de Moraes Serpa <celoserpa@gmail.com>
To: Darlan Cavalcante Moreira <darcamo@gmail.com>
Cc: Org Mode <emacs-orgmode@gnu.org>
Subject: Re: Bind an agenda filter to a global shortcut
Date: Wed, 26 Oct 2011 16:47:20 -0500	[thread overview]
Message-ID: <CACHMzOGZxrMRBY0vtCOQmHzS2_kvgCtyvVNu-6XMi2t7zj4URA@mail.gmail.com> (raw)
In-Reply-To: <CACHMzOGYn-bygo=-PT7zD7fmB5+BgLp3--wzbOEKjBWQ1-Gn-A@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1438 bytes --]

Hmm, I actually already do that. The shortcut is not bad, but what I want to
do is to bind it to a single keypress. With the custom agenda view, I still
need to C-c a and then the shortcut, which is not bad, but there are one or
two views that I use too often, and I'm being spoiled by VIM, I would like a
single keypress :)

Anyway, thanks for pointing out the manual page.

Marcelo.

On Wed, Oct 26, 2011 at 4:44 PM, Marcelo de Moraes Serpa <
celoserpa@gmail.com> wrote:

> Obrigado Darlan :) I'll check it out.
>
>
> On Wed, Oct 26, 2011 at 3:34 PM, Darlan Cavalcante Moreira <
> darcamo@gmail.com> wrote:
>
>>
>> You can do this (and more) with the custom agenda views [1].
>>
>> [1]
>> http://orgmode.org/manual/Custom-agenda-views.html#Custom-agenda-views
>>
>> --
>> Darlan
>>
>> At Wed, 26 Oct 2011 12:13:52 -0500,
>> Marcelo de Moraes Serpa <celoserpa@gmail.com> wrote:
>> >
>> > [1  <text/plain; ISO-8859-1 (7bit)>]
>> > Hi list,
>> >
>> > So, I'd like to bind a specific agenda filter to a simple one-key
>> shortcut,
>> > maybe one of the function keys. This might be an easy think to do, but
>> I'm
>> > not sure how. How could I trigger an agenda filter action directly
>> through
>> > elisp (without needing to go to the agenda view and use the shortcut I
>> > made?) so that I can bind it straight to a global shortcut?
>> >
>> > Thanks,
>> >
>> > Marcelo.
>> > [2  <text/html; ISO-8859-1 (quoted-printable)>]
>> >
>>
>
>

[-- Attachment #2: Type: text/html, Size: 2306 bytes --]

  reply	other threads:[~2011-10-26 21:47 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-26 17:13 Bind an agenda filter to a global shortcut Marcelo de Moraes Serpa
2011-10-26 20:34 ` Darlan Cavalcante Moreira
2011-10-26 21:44   ` Marcelo de Moraes Serpa
2011-10-26 21:47     ` Marcelo de Moraes Serpa [this message]
2011-10-26 22:14       ` Bernt Hansen

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=CACHMzOGZxrMRBY0vtCOQmHzS2_kvgCtyvVNu-6XMi2t7zj4URA@mail.gmail.com \
    --to=celoserpa@gmail.com \
    --cc=darcamo@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).