From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thorsten Bonow Newsgroups: gmane.emacs.devel Subject: Re: calendar/diary/appt: diary-lunar-phases should not create appointments Date: Thu, 26 Feb 2015 01:05:39 +0100 (CET) Message-ID: <20150226.010539.1175272119074471568.thorsten.bonow@withouthat.org> References: <87pqgknjek.fsf@gnu.org> <20150225.213428.1810607681498412743.thorsten.bonow@withouthat.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1424921862 24511 80.91.229.3 (26 Feb 2015 03:37:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 26 Feb 2015 03:37:42 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Feb 26 04:37:34 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YQpGX-0000rd-Er for ged-emacs-devel@m.gmane.org; Thu, 26 Feb 2015 04:37:33 +0100 Original-Received: from localhost ([::1]:57228 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YQpGW-0002pK-P8 for ged-emacs-devel@m.gmane.org; Wed, 25 Feb 2015 22:37:32 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60920) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YQlxm-0005aK-V5 for emacs-devel@gnu.org; Wed, 25 Feb 2015 19:05:59 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YQlxj-0005ZS-O3 for emacs-devel@gnu.org; Wed, 25 Feb 2015 19:05:58 -0500 Original-Received: from h93074.serverkompetenz.net ([81.169.138.67]:42194) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YQlxj-0005Z2-HG for emacs-devel@gnu.org; Wed, 25 Feb 2015 19:05:55 -0500 Original-Received: by h93074.serverkompetenz.net (Postfix, from userid 105) id 215A23B8884; Thu, 26 Feb 2015 01:05:54 +0100 (CET) Original-Received: from holly (p54A60FE0.dip0.t-ipconnect.de [84.166.15.224]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by h93074.serverkompetenz.net (Postfix) with ESMTPSA id A83783B814F for ; Thu, 26 Feb 2015 01:05:50 +0100 (CET) Original-Received: from localhost ([::1]) by holly with esmtp (Exim 4.84) (envelope-from ) id 1YQlxU-0007A9-3w for emacs-devel@gnu.org; Thu, 26 Feb 2015 01:05:40 +0100 In-Reply-To: <20150225.213428.1810607681498412743.thorsten.bonow@withouthat.org> X-Face: ,i\0yx1|cRm0qV.lmJ%Z(_0e-.@or]1; 7lZof/?"lf; yH3U0}^Fl+-=1/VPQ8u2aW-k_q3V +YG_z3tmNc,QQg=F`wZg9ZufzHu/CJ?(sz5h>5@5juZnD'V/Jxe#$B<{ X-Mailer: Mew version 6.6 on Emacs 24.4 / Mule 6.0 (HANACHIRUSATO) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] X-Received-From: 81.169.138.67 X-Mailman-Approved-At: Wed, 25 Feb 2015 22:37:20 -0500 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:183506 Archived-At: >>>>> "Toto" == Thorsten Bonow writes: >>>>> "GM" == Glenn Morris 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. Toto> The behaviour still shows up in my GNU Emacs 24.4.1 when you Toto> manually add an appointment via 'appt-add': [...] The following is faster and makes it easier to show the effect: emacs -Q Eval this: (setq calendar-latitude [49 55 north]) (setq calendar-longitude [7 4 east]) ;; diary-test has only one line: "%%(diary-sunrise-sunset)" (setq diary-file "~/42/diary-test") (require 'calendar) (require 'appt) (appt-add "5:00pm" "Tea!" 5) C-h v appt-time-msg-list: appt-time-msg-list is a variable defined in `appt.el'. Its value is (((443) "7:23am (CET), sunset 6:07pm (CET) at 49.9N, 7.1E (10:44 hours daylight)") ((1020) "5:00pm Tea!" t 5)) Toto -- College will guarantee you a higher lifelong income, and friends made in college last longer than those made in real life. Douglas Coupland: JPod