From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Barton Subject: Re: org google weather Date: Fri, 04 Mar 2011 11:27:50 +0000 Message-ID: <4D70CCB6.5080101@manor-farm.org> References: <87oc5rlwc4.wl%lists@700c.org> <4D70A577.4000509@manor-farm.org> <80k4gfnth7.fsf@somewhere.org> Reply-To: lists@manor-farm.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=39926 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PvTAo-0001v8-TO for emacs-orgmode@gnu.org; Fri, 04 Mar 2011 06:27:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PvTAo-0000uy-4t for emacs-orgmode@gnu.org; Fri, 04 Mar 2011 06:27:54 -0500 Received: from mail.ian-barton.com ([109.74.196.44]:39840 helo=li40-130.members.linode.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PvTAo-0000uo-0T for emacs-orgmode@gnu.org; Fri, 04 Mar 2011 06:27:54 -0500 Received: from localhost (mail.wilkesley.org [127.0.0.1]) by li40-130.members.linode.com (Postfix) with ESMTP id 8A98D15A031 for ; Fri, 4 Mar 2011 11:27:52 +0000 (UTC) Received: from li40-130.members.linode.com ([127.0.0.1]) by localhost (mail.manor-farm.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tWzTHHZjX686 for ; Fri, 4 Mar 2011 11:27:52 +0000 (UTC) Received: from mail.wilkesley.net (unknown [217.146.125.41]) by li40-130.members.linode.com (Postfix) with ESMTP id 5CC0815A010 for ; Fri, 4 Mar 2011 11:27:52 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.wilkesley.net (Postfix) with ESMTP id 7412711E16 for ; Fri, 4 Mar 2011 11:31:09 +0000 (GMT) Received: from mail.wilkesley.net ([127.0.0.1]) by localhost (mail.bantercat.co.uk [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cMEG-8qOMpuK for ; Fri, 4 Mar 2011 11:31:09 +0000 (GMT) Received: from [192.168.0.133] (scamper.bantercat.co.uk [192.168.0.133]) by mail.wilkesley.net (Postfix) with ESMTPSA id 53A8811E04 for ; Fri, 4 Mar 2011 11:31:09 +0000 (GMT) In-Reply-To: <80k4gfnth7.fsf@somewhere.org> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org > Hi Ian, > > Ian Barton wrote: >>> Has anybody tried adding the functionality of %%(diary-sunrise-sunset) >>> (sunrise, sunset time and daylight hours) to the google weather code? >> >> I just have something like: >> >> #+CATEGORY: Day/Year >> &%%(diary-day-of-year) >> #+CATEGORY: Sunrise >> &%%(diary-sunrise-sunset) >> >> in one of my Agenda files. Sunrise then appears at sunrise time in my Agenda >> like: >> >> Sunrise: 6:53...... Sunrise (GMT), sunset 5:52pm (GMT) at >> Wilkesley (10:58 hours daylight) > > Do you have a way to get the sunset located on a line on its own (different > line from the sunrise one)? That'd be even much nicer... > No, but I would like one:) If there were separate diary functions for sunrise and sunset it would be easy. Maybe I need to look at the diary elisp and write my own separate functions. Ian.