emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Raymond Zeitler" <r.zeitler@ieee.org>
To: emacs-orgmode@gnu.org
Cc: 'Raymond Zeitler' <r.zeitler@ieee.org>
Subject: Sunrise / Sunset in Agenda View only for Current Day?
Date: Wed, 27 Oct 2010 12:49:38 -0400	[thread overview]
Message-ID: <47A80977A48444D6A6110E7CB9D85BAD@PHONON.COM> (raw)

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 <r.zeitler@ieee.org> 

             reply	other threads:[~2010-10-27 17:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-27 16:49 Raymond Zeitler [this message]
2010-11-04  0:43 ` Sunrise / Sunset in Agenda View only for Current Day? Matt Lundin
2010-11-24 22:12   ` Raymond Zeitler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=47A80977A48444D6A6110E7CB9D85BAD@PHONON.COM \
    --to=r.zeitler@ieee.org \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).