emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Jonathan Arkell <jonathana@criticalmass.com>
To: org-mode <emacs-orgmode@gnu.org>
Subject: RE: Moon phases
Date: Mon, 22 Jun 2009 14:34:05 -0400	[thread overview]
Message-ID: <7EA78739DB6FF044926304E83668BF8222D9339B@brewer.cmass.criticalmass.com> (raw)
In-Reply-To: <81DB097C-D5AE-4738-9037-1C33F5CFFDAF@gmail.com>

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: emacs-orgmode-bounces+jonathana=criticalmass.com@gnu.org [mailto:emacs-orgmode-bounces+jonathana=criticalmass.com@gnu.org] 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.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode



_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
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	other threads:[~2009-06-22 18:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-22  3:44 Moon phases Alan E. Davis
2009-06-22  6:18 ` Carsten Dominik
2009-06-22 18:34   ` Jonathan Arkell [this message]

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=7EA78739DB6FF044926304E83668BF8222D9339B@brewer.cmass.criticalmass.com \
    --to=jonathana@criticalmass.com \
    --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).