emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Johan Sandblom <js@ndblom.se>
To: Bastien <bzg@altern.org>
Cc: emacs-orgmode@gnu.org
Subject: Re: agenda timeline filtered by date range
Date: Thu, 27 Sep 2012 11:04:47 +0200	[thread overview]
Message-ID: <e23e542e392570551aa0f26c6ecc3d84@ndblom.se> (raw)
In-Reply-To: <874nmktmag.fsf@bzg.ath.cx>

2012-09-27 01:08 skrev Bastien:
> Ho Johan,
>
> Johan Sandblom <js@ndblom.se> 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

  reply	other threads:[~2012-09-27  9:05 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-25 15:28 Johan Sandblom
2012-09-26 23:08 ` Bastien
2012-09-27  9:04   ` Johan Sandblom [this message]
2012-09-27  9:16     ` Bastien

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e23e542e392570551aa0f26c6ecc3d84@ndblom.se \
    --to=js@ndblom.se \
    --cc=bzg@altern.org \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).