From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Custom agenda view for specific time intervals Date: Fri, 08 Apr 2011 18:50:21 +0200 Message-ID: <87wrj47kmq.fsf@gnu.org> References: <51499763-2DB7-4346-A249-798281D90787@fastmail.net> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from [140.186.70.92] (port=44650 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q8Ewk-0002I5-Sl for emacs-orgmode@gnu.org; Fri, 08 Apr 2011 12:54:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q8Ewj-0001hh-K8 for emacs-orgmode@gnu.org; Fri, 08 Apr 2011 12:54:10 -0400 Received: from mail-ww0-f49.google.com ([74.125.82.49]:40345) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q8EtA-0000yb-9B for emacs-orgmode@gnu.org; Fri, 08 Apr 2011 12:50:28 -0400 Received: by wwb39 with SMTP id 39so3862576wwb.30 for ; Fri, 08 Apr 2011 09:50:27 -0700 (PDT) In-Reply-To: <51499763-2DB7-4346-A249-798281D90787@fastmail.net> (Konrad Hinsen's message of "Thu, 7 Apr 2011 13:01:57 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Konrad Hinsen Cc: emacs-orgmode@gnu.org Hi Konrad, Konrad Hinsen writes: > Is there a way to create custom agenda views for specific time intervals, > such as "May 2011" or "the month following the current month"? A combination of `org-agenda-start-day' and `org-agenda-span' should do. See the example from the manual: ,---- | From the command line you may also use | emacs -f org-batch-store-agenda-views -kill | or, if you need to modify some parameters(4) | emacs -eval '(org-batch-store-agenda-views \ | org-agenda-span month \ | org-agenda-start-day "2007-11-01" \ | org-agenda-include-diary nil \ | org-agenda-files (quote ("~/org/project.org")))' \ | -kill | which will create the agenda views restricted to the file | `~/org/project.org', without diary entries and with a 30-day extent. `---- HTH, -- Bastien