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: Nick Dokos
Subject: Re: [O] org-agenda-clockreport-mode does not include archived entries? How to?
Date: Mon, 20 Feb 2012 15:03:08 -0500

Rainer Stengele <address@hidden> wrote:

> Having configured 'month in org-agenda-soan how can I start my agenda
> at the beginning of the month?  I only find
> org-agenda-start-on-weekday and org-agenda-start-day, but no
> possibility to set the "1st of the current month".  What I really want
> is a calendar range for "current month" like "1st of month until and
> including today".
> 

Adding

      ...
      (org-agenda-start-day (ndk/org-first-of-month))
      (org-agenda-span 'month)
      ...

to your custom agenda command, with

--8<---------------cut here---------------start------------->8---
(defun ndk/org-first-of-month ()
  (let ((d (calendar-current-date)))
    (calendar-absolute-from-gregorian (list (car d) 1 (caddr d)))))
--8<---------------cut here---------------end--------------->8---

should do it.

Nick




reply via email to

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