From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: org-agenda-clockreport-mode does not include archived entries? How to? Date: Mon, 20 Feb 2012 15:03:08 -0500 Message-ID: <12538.1329768188@alphaville> References: <4F4206C2.3070006@online.de> <4F424265.3000406@online.de> <4F42708D.6010300@online.de> <11607.1329755565@alphaville> <4F427A46.9010905@online.de> Reply-To: nicholas.dokos@hp.com Return-path: Received: from eggs.gnu.org ([140.186.70.92]:45688) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RzZS6-0002Vh-Al for emacs-orgmode@gnu.org; Mon, 20 Feb 2012 15:03:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RzZS4-0006j5-UP for emacs-orgmode@gnu.org; Mon, 20 Feb 2012 15:03:14 -0500 Received: from g1t0027.austin.hp.com ([15.216.28.34]:16594) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RzZS4-0006ik-Kz for emacs-orgmode@gnu.org; Mon, 20 Feb 2012 15:03:12 -0500 In-Reply-To: Message from Rainer Stengele of "Mon, 20 Feb 2012 17:52:22 +0100." <4F427A46.9010905@online.de> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Rainer Stengele Cc: nicholas.dokos@hp.com, emacs-orgmode@gnu.org, Carsten Dominik Rainer Stengele 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