From mboxrd@z Thu Jan 1 00:00:00 1970 From: Darlan Cavalcante Moreira Subject: Re: Bind an agenda filter to a global shortcut Date: Wed, 26 Oct 2011 17:34:12 -0300 Message-ID: <4ea86ec9.67b4ec0a.5f43.ffffe9c2@mx.google.com> References: Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Return-path: Received: from eggs.gnu.org ([140.186.70.92]:60771) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RJAB3-0007Ys-DP for emacs-orgmode@gnu.org; Wed, 26 Oct 2011 16:34:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RJAB2-0003v6-4w for emacs-orgmode@gnu.org; Wed, 26 Oct 2011 16:34:21 -0400 Received: from mail-gy0-f169.google.com ([209.85.160.169]:58551) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RJAB1-0003un-S8 for emacs-orgmode@gnu.org; Wed, 26 Oct 2011 16:34:20 -0400 Received: by gyf3 with SMTP id 3so2327419gyf.0 for ; Wed, 26 Oct 2011 13:34:18 -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: Marcelo de Moraes Serpa Cc: Org Mode 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 ] >