From mboxrd@z Thu Jan 1 00:00:00 1970 From: Johan Sandblom Subject: Re: agenda timeline filtered by date range Date: Thu, 27 Sep 2012 11:04:47 +0200 Message-ID: References: <2b86af452f5b27884e818c6787dc5635@ndblom.se> <874nmktmag.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:33811) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1THA2N-0006El-Cu for emacs-orgmode@gnu.org; Thu, 27 Sep 2012 05:05:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1THA2H-0004ge-2a for emacs-orgmode@gnu.org; Thu, 27 Sep 2012 05:05:39 -0400 Received: from vsp-authed02.binero.net ([195.74.38.226]:45425 helo=vsp-authed-02-02.binero.net) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1THA2G-0004cM-Nm for emacs-orgmode@gnu.org; Thu, 27 Sep 2012 05:05:33 -0400 In-Reply-To: <874nmktmag.fsf@bzg.ath.cx> 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: Bastien Cc: emacs-orgmode@gnu.org 2012-09-27 01:08 skrev Bastien: > Ho Johan, > > Johan Sandblom writes: > >> Since a year or so I am using org-mode ever more intensively. Among >> other >> things, I use it to track my training in pediatric medicine. I keep >> a sort >> of combined diary and planner of events, courses and work schedules >> in a >> file called arbete.org, which tracks the four years since I started >> until >> as far into the future as there are concrete plans. Sometimes I like >> to >> discuss my progress with someone, and then I usually make an html >> export of >> the timeline in this file. The timeline is becoming rather long, but >> I do >> not feel it would make sense to divide it into several files since >> it is a >> logical compartment of life for me. >> >> Is it possible to limit the timeline (or perhaps a custom agenda >> view) to a >> specific date range, for instance a year or "the fall of 2011"? I >> have >> searched the manual and FAQs but have found nothing that addresses >> this. Perhaps this reflects my misuse of org-mode, but on the other >> hand it >> does seem a useful feature (which probably means it exists but >> somehow >> eludes me). > > You can set `org-agenda-span' within a custom agenda view. > > See this example: > > (setq org-agenda-custom-commands > '((" " "Next 10 days" agenda "List of rendez-vous for the next > 10 days" > ((org-agenda-span 10))))) > > Hope this helps, Yes, but that will not give the same days tomorrow, as it does today, will it? The idea would be to e.g. be able to compare one half year with the next and similar things. I am sure that there would be several uses for a method of selecting a date range in the agenda, perhaps counting the number of hits for certain tag or text matches ... I thought I had just missed how to do this, but if the functionality is in fact missing, please consider this a most humble feature request. If my lisp-fu rises to a more useful level I will try to find a solution myself. Johan -- Johan Sandblom, MD PhD m +46735521477 What is wanted is not the will to believe, but the will to find out, which is the exact opposite --Bertrand Russell