From: Rainer Stengele <rainer.stengele@online.de>
To: nicholas.dokos@hp.com
Cc: emacs-orgmode@gnu.org
Subject: Re: org-agenda-clockreport-mode does not include archived entries? How to?
Date: Tue, 21 Feb 2012 10:41:36 +0100 [thread overview]
Message-ID: <4F4366D0.4000109@online.de> (raw)
In-Reply-To: <13835.1329770292@alphaville>
Am 20.02.2012 21:38, schrieb Nick Dokos:
> Nick Dokos <nicholas.dokos@hp.com> wrote:
>
>> Adding
>>
>> ...
>> (org-agenda-start-day (ndk/org-first-of-month))
>> (org-agenda-span 'month)
>> ...
>>
>> to your custom agenda command, with
>>
>> (defun ndk/org-first-of-month ()
>> (let ((d (calendar-current-date)))
>> (calendar-absolute-from-gregorian (list (car d) 1 (caddr d)))))
>>
>> should do it.
>>
>
> Same thing but somewhat more readable:
>
> --8<---------------cut here---------------start------------->8---
> (defun ndk/org-first-of-month ()
> (let* ((d (calendar-current-date))
> (m (calendar-extract-month d))
> (y (calendar-extract-year d)))
> (calendar-absolute-from-gregorian (list m 1 y))))
> --8<---------------cut here---------------end--------------->8---
>
> Nick
>
>
Hi Nick,
thanks for helping! I now see the current whole month.
Is there a variable which includes the current starting date of the agenda instead of the "calendar-current-date"?
Using that I could start my month-overview for the month I see in my agenda.
Configuring "(org-agenda-archives-mode 'trees)" also show the archived trees.
What I cannot achieve is starting the log with clockcheck mode.
"(org-agenda-show-log 'clockcheck)" does not work.
Any ideas?
- Rainer
My current config is here:
..
("0m" "agenda + no todos - whole month - log-mode - ARCHIVE included - clock report" agenda ""
(
(org-agenda-sorting-strategy '(time-up priority-down))
(org-agenda-span 'month)
(org-agenda-start-with-log-mode t)
(org-agenda-archives-mode 'trees)
(org-agenda-start-day (ndk/org-first-of-month))
(org-agenda-start-with-clockreport-mode t)
(org-agenda-show-log 'clockcheck)
))
..
next prev parent reply other threads:[~2012-02-21 9:41 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-20 8:03 org-agenda-clockreport-mode does not include archived entries? How to? Rainer Stengele
2012-02-20 8:36 ` Carsten Dominik
2012-02-20 8:39 ` Rainer Stengele
2012-02-20 10:09 ` Carsten Dominik
2012-02-20 12:07 ` Bernt Hansen
2012-02-20 12:53 ` Rainer Stengele
2012-02-20 16:10 ` Rainer Stengele
2012-02-20 16:32 ` Nick Dokos
2012-02-20 16:52 ` Rainer Stengele
2012-02-20 20:03 ` Nick Dokos
2012-02-20 20:38 ` Nick Dokos
2012-02-21 9:41 ` Rainer Stengele [this message]
2012-02-21 15:19 ` Nick Dokos
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4F4366D0.4000109@online.de \
--to=rainer.stengele@online.de \
--cc=emacs-orgmode@gnu.org \
--cc=nicholas.dokos@hp.com \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.