emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bastien <bzg@altern.org>
To: Konrad Hinsen <konrad.hinsen@fastmail.net>
Cc: emacs-orgmode@gnu.org
Subject: Re: Custom agenda view for specific time intervals
Date: Fri, 08 Apr 2011 18:50:21 +0200	[thread overview]
Message-ID: <87wrj47kmq.fsf@gnu.org> (raw)
In-Reply-To: <51499763-2DB7-4346-A249-798281D90787@fastmail.net> (Konrad Hinsen's message of "Thu, 7 Apr 2011 13:01:57 +0200")

Hi Konrad,

Konrad Hinsen <konrad.hinsen@fastmail.net> 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

  reply	other threads:[~2011-04-08 16:54 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-07 11:01 Custom agenda view for specific time intervals Konrad Hinsen
2011-04-08 16:50 ` Bastien [this message]
2011-04-11 13:08   ` Konrad Hinsen

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=87wrj47kmq.fsf@gnu.org \
    --to=bzg@altern.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=konrad.hinsen@fastmail.net \
    /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).