From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcelo de Moraes Serpa Subject: Re: Bind an agenda filter to a global shortcut Date: Wed, 26 Oct 2011 16:47:20 -0500 Message-ID: References: <4ea86ec9.67b4ec0a.5f43.ffffe9c2@mx.google.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=0015174c3620bbd3b704b03a99ce Return-path: Received: from eggs.gnu.org ([140.186.70.92]:37854) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RJBJk-0004l3-Ey for emacs-orgmode@gnu.org; Wed, 26 Oct 2011 17:47:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RJBJh-00037w-Uq for emacs-orgmode@gnu.org; Wed, 26 Oct 2011 17:47:24 -0400 Received: from mail-bw0-f41.google.com ([209.85.214.41]:46067) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RJBJh-00037S-Hh for emacs-orgmode@gnu.org; Wed, 26 Oct 2011 17:47:21 -0400 Received: by bkbzu5 with SMTP id zu5so1619272bkb.0 for ; Wed, 26 Oct 2011 14:47:20 -0700 (PDT) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Darlan Cavalcante Moreira Cc: Org Mode --0015174c3620bbd3b704b03a99ce Content-Type: text/plain; charset=ISO-8859-1 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 wrote: >> > >> > [1 ] >> > 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 ] >> > >> > > --0015174c3620bbd3b704b03a99ce Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hmm, I actually already do that. The shortcut is not bad, but what I want t= o do is to bind it to a single keypress. With the custom agenda view, I sti= ll 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 wou= ld like a single keypress :)

Anyway, thanks for pointing out the manual page.
<= br>
Marcelo.

On Wed, Oct 26, 20= 11 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&= gt; 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 =A0<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 thr= ough
> 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 =A0<text/html; ISO-8859-1 (quoted-printable)>] >


--0015174c3620bbd3b704b03a99ce--