all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Thorsten Bonow <thorsten.bonow@withouthat.org>
To: emacs-devel@gnu.org
Subject: Re: calendar/diary/appt: diary-lunar-phases should not create appointments
Date: Wed, 25 Feb 2015 21:34:28 +0100 (CET)	[thread overview]
Message-ID: <20150225.213428.1810607681498412743.thorsten.bonow@withouthat.org> (raw)
In-Reply-To: <uysjlgnhao.fsf@fencepost.gnu.org>

>>>>> "GM" == Glenn Morris <rgm@gnu.org> writes:

GM> Sam Steingold wrote:
>> &%%(diary-sunrise-sunset) &%%(diary-lunar-phases) which results in
>> emacs nagging me about moon phases and sunsets.

GM> I can't reproduce this.  Please give a complete example starting
GM> from emacs -Q that shows sunsets ending up in appt-time-msg-list.

Hi, sry for being somewhat late to the party...

The behaviour still shows up in my GNU Emacs 24.4.1 when you manually
add an appointment via 'appt-add':

emacs -Q
M-x load-library calendar
M-x customize-apropos diary-file

Set the variable to "~/diary-test" and saved it for the current
session only; the diary file contains only one line:

%%(diary-lunar-phases)

M-x diary displayed "First Quarter Moon 18:15 (CET)" correctly

M-x load-library appt
C-h v appt-time-msg-list: Its value is nil

But then I inserted

(appt-add "5:00pm" "Tea!" 5)

into the "scratch" buffer and evaluated the expression; now the
variable contained the time for the lunar phase:

appt-time-msg-list is a variable defined in `appt.el'.
Its value is (((1020) "5:00pm Tea!" t 5) ((1095) "6:15pm (CET)"))

I did this before 6:15pm, after emacs had started nagging me about my
appointment with Mr Moon. It doesn't show up now. I will have to wait
till after midnight before I can try with "%%diary-sunrise-sunset",
but you have to specify coordinates for that to work.

Toto


-- 
People who advocate simplicity have money in the bank; the money
came first, not the simplicity.

Douglas Coupland: JPod



  reply	other threads:[~2015-02-25 20:34 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-22 17:42 calendar/diary/appt: diary-lunar-phases should not create appointments Sam Steingold
2011-11-22 18:27 ` Glenn Morris
2015-02-25 20:34   ` Thorsten Bonow [this message]
2015-02-26  0:05     ` Thorsten Bonow

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

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

  git send-email \
    --in-reply-to=20150225.213428.1810607681498412743.thorsten.bonow@withouthat.org \
    --to=thorsten.bonow@withouthat.org \
    --cc=emacs-devel@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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.