From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?ISO-8859-1?Q?Gustav_Wikstr=F6m?= Subject: Org-agenda-custom-commands, restrict Agenda to file/files? Date: Thu, 6 Oct 2011 15:18:11 +0200 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=000e0cdf9cae0cb41304aea128f2 Return-path: Received: from eggs.gnu.org ([140.186.70.92]:53636) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RBnq8-0007TO-Dp for emacs-orgmode@gnu.org; Thu, 06 Oct 2011 09:18:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RBnq1-0003RV-JZ for emacs-orgmode@gnu.org; Thu, 06 Oct 2011 09:18:20 -0400 Received: from mail-yw0-f41.google.com ([209.85.213.41]:57132) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RBnq1-0003R5-CO for emacs-orgmode@gnu.org; Thu, 06 Oct 2011 09:18:13 -0400 Received: by ywe9 with SMTP id 9so3051733ywe.0 for ; Thu, 06 Oct 2011 06:18:12 -0700 (PDT) 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: emacs-orgmode@gnu.org --000e0cdf9cae0cb41304aea128f2 Content-Type: text/plain; charset=ISO-8859-1 Hello! I'm currently using the feature to restrict the org-agenda (C-a a) to a certain file and then enable the log-mode. I do this to view all my clocked time in that file. Currently this means opening the file and then open the agenda with "C-a < a l" I want to simplify this with a custom-command. And here comes my problem, what is the option to restrict the agenda to a certain file? Changing the org-agenda-files list does not seem to make a difference when using a custom agenda. It works for other custom agenda commands (see http://orgmode.org/worg/org-tutorials/org-custom-agenda-commands.html#sec-4), and it works interactively but I cannot get it to work with an agenda command inside org-agenda-custom-commands.. Can someone enlighten me on this subject? Kind regards Gustav --000e0cdf9cae0cb41304aea128f2 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hello!

I'm currently using the feature to restrict t= he org-agenda (C-a a) to a certain file and then enable the log-mode. I do = this to view all my clocked time in that file. Currently this means opening= the file and then open the agenda with "C-a < a l"

I want to simplify this with a custom-command. And here= comes my problem, what is the option to restrict the agenda to a certain f= ile? Changing the org-agenda-files list does not seem to make a difference = when using a custom agenda.

It works for other custom agenda commands (see=A0http://orgmode.org/worg/org-tutorials/org-custom-agenda-commands.htm= l#sec-4), and it works interactively but I cannot get it to work with a= n agenda command inside org-agenda-custom-commands.. Can someone enlighten = me on this subject?

Kind regards
Gustav
--000e0cdf9cae0cb41304aea128f2--