emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] org-agenda-clockreport-mode does not include archived entries? H


From: Rainer Stengele
Subject: Re: [O] org-agenda-clockreport-mode does not include archived entries? How to?
Date: Tue, 21 Feb 2012 10:41:36 +0100
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2

Am 20.02.2012 21:38, schrieb Nick Dokos:
> Nick Dokos <address@hidden> 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)
          ))
        ..



reply via email to

[Prev in Thread] Current Thread [Next in Thread]