emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Orgmode] Moon phases


From: Jonathan Arkell
Subject: RE: [Orgmode] Moon phases
Date: Mon, 22 Jun 2009 14:34:05 -0400

Actually, one of the features I missed from Planner mode is that planner would 
give you a couple of days notice when an entry was coming up in your diary.

I found that this could easily be emulated, (and it looks better and works 
nicer too) with a custom agenda command:

(setq org-agenda-custom-commands
  '(("f" "foo agenda"
          (agenda ""
                  ((org-agenda-overriding-header "Diary Next Week")
                   (org-agenda-ndays 7)          ; A weeks worth of lead time
                   (org-agenda-include-diary t)  ; I put all of my diary 
related stuff like Anniversaries in my diary \
                   (org-agenda-files nil)        ; you would need to change 
these if you use a file like Eiary.org
                   (org-agenda-show-all-dates nil) ; don't show days that have 
nothing
                   (org-agenda-use-time-grid nil))) ; don't show the timegrid 
for compactness.
             ...))))



-----Original Message-----
From: address@hidden [mailto:address@hidden On Behalf Of Carsten Dominik
Sent: June 22, 2009 12:18 AM
To: Alan E. Davis
Cc: org-mode
Subject: Re: [Orgmode] Moon phases


On Jun 22, 2009, at 5:44 AM, Alan E. Davis wrote:

> I have enabled the inclusion of astronomical information in my
> agenda displays, using Diary.org, including the following:
> #%%(diary-astro-day-number)
> %%(diary-phases-of-moon)
> #%%(diary-sunrise-sunset)
>
> I commented out the first and last, as the clutter is unacceptable
> to me.  However, I realliy need to keep the phases of the moon.
>
> Tomorrow is the new moon.  Due to time of day of the New Moon, it
> might actually be tonight.  And I'd like to be notified in advance,
> a day or two, and it would be interesting, for similar reasons to
> have notice in my agenda of New Moons and Full Moons a day or two
> passed.  In fact, I really need to know how many days past New Moon
> it is today, as I am watching out for spawning of corals.
>
> Can anyone suggest how I can do this?

Press M in the agenda, this is your fast route.

If you really want early and late warnings in the agenda display
itself, you would have to hack the function `diary-lunar-phases',
which is not too hard, I think.

- Carsten

>
> Alan
>
> "...can the human soul be glimpsed through a microscope? Maybe, but
> you'd definitely need one of those very good ones with two eyepieces."
>
>    -- Woody Allen, quoted by B. A. Palevitz
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> address@hidden
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode



_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
address@hidden
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

The information contained in this message is confidential. It is intended to be 
read only by the individual or entity named above or their designee. If the 
reader of this message is not the intended recipient, you are hereby notified 
that any distribution of this message, in any form, is strictly prohibited. If 
you have received this message in error, please immediately notify the sender 
and delete or destroy any copy of this message.




reply via email to

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