From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tassilo Horn Subject: Re: Calendar-like view of the org-agenda Date: Thu, 07 Jul 2011 20:03:50 +0200 Message-ID: <87y60aufw9.fsf@member.fsf.org> References: <87pqlu5quz.fsf@gnu.org> <87zkky48ol.wl%markert.michael@googlemail.com> <87tyb2qs39.fsf@isil.kanru.info> <8762nigeuk.wl%markert.michael@googlemail.com> <8739iklkgq.fsf@grumps.lan> <878vsbube7.fsf@member.fsf.org> <19988.11619.3400.87930@gazelle.local> <20110707044758.A52F913C56D@vps1.kiwanami.net> <87tyay6r8j.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:50766) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qesvr-0004AJ-Vk for emacs-orgmode@gnu.org; Thu, 07 Jul 2011 14:04:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qesvq-0005Is-8a for emacs-orgmode@gnu.org; Thu, 07 Jul 2011 14:04:11 -0400 Received: from lo.gmane.org ([80.91.229.12]:60267) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qesvp-0005Id-Pa for emacs-orgmode@gnu.org; Thu, 07 Jul 2011 14:04:10 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Qesvm-000650-6V for emacs-orgmode@gnu.org; Thu, 07 Jul 2011 20:04:06 +0200 Received: from 77-23-199-184-dynip.superkabel.de ([77.23.199.184]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 07 Jul 2011 20:04:06 +0200 Received: from tassilo by 77-23-199-184-dynip.superkabel.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 07 Jul 2011 20:04:06 +0200 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: emacs-orgmode@gnu.org Bastien writes: >> Then, I use the function org-agenda-get-day-entries to get schedule >> items of the org-agenda-files. The function can receive some >> arguments to limit the tasks, but I didn't understand exactly. > > See the attached patch -- org-agenda-get-day-entries can take more > arguments like :scheduled :deadline to help reduce the size of listed > entries. See the docstring of org-diary, which understands the same > list of arguments. I think it's a good idea to add that variable to let users decide if they want deadlines or scheduled (in org terms) items in their calfw view. > +(defvar cfw:org-agenda-schedule-args '(:scheduled) > + "Default arguments for collecting agenda entries.") I'd go with a default value of `nil' meaning "put every org entry with a timestamp into the calfw view". Only getting SCHEDULED org tasks there is a somewhat peculiar default. Bye, Tassilo