From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Raymond Zeitler" Subject: Sunrise / Sunset in Agenda View only for Current Day? Date: Wed, 27 Oct 2010 12:49:38 -0400 Message-ID: <47A80977A48444D6A6110E7CB9D85BAD@PHONON.COM> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=51391 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PB9Te-0001i9-VM for emacs-orgmode@gnu.org; Wed, 27 Oct 2010 13:07:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PB9C0-0000Xu-AN for emacs-orgmode@gnu.org; Wed, 27 Oct 2010 12:49:41 -0400 Received: from smtp112.sbc.mail.mud.yahoo.com ([68.142.198.107]:43267) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1PB9C0-0000Xm-4z for emacs-orgmode@gnu.org; Wed, 27 Oct 2010 12:49:40 -0400 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Cc: 'Raymond Zeitler' Hi I added sunrise & day of the week to the org file that I base my agenda view on. But this adds the information for every day that's displayed in the agenda. Is it possible to get the information to show up only for the current day? TIA Here's the relevant content in the org file: #+CATEGORY: Day/Year &%%(diary-day-of-year) #+CATEGORY: Sunrise &%%(diary-sunrise-sunset) Here's an example of the "C-c a a" seven-day agenda view for October 27, 2010. This is what I'd like to achieve if it's not too difficult. (I replaced the ends of long entries with "ETC." to prevent wrapping): Week-agenda (W43-W44): Wednesday 27 October 2010 Sunrise: 7:09...... Sunrise (EDT), sunset 5:51pm (EDT) ETC. 8:00...... ---------------- 10:00...... ---------------- 12:00...... ---------------- 14:00...... ---------------- 16:00...... ---------------- 18:00...... ---------------- 20:00...... ---------------- Tasks: Sched. 5x: STARTED Prog1 -- document in PPT ETC. Tasks: Sched. 2x: WAITING Revise CustomerA TUNE.CMD ETC. Tasks: Sched. 2x: STARTED Revise CustomerB probe ETC. Tasks: Sched. 2x: TODO Revise CustomerB traveler to ETC. Day/Year: Day 300 of 2010; 65 days remaining in the year Thursday 28 October 2010 Friday 29 October 2010 Saturday 30 October 2010 Sunday 31 October 2010 Monday 1 November 2010 W44 Tuesday 2 November 2010 Incidentally, I've based my setup on John Wiegley's 1997 tutorial. http://www.newartisans.com/2007/08/using-org-mode-as-a-day-planner.html - Ray -- Raymond Zeitler