From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: [bug] org-agenda-write does not handle date stamps without day of week Date: Mon, 19 Mar 2012 10:13:18 +0100 Message-ID: <30FA2AF5-50E6-4FE8-8767-BDF1CA967E53@gmail.com> References: <2012-03-05T15-36-35@devnull.Karl-Voit.at> <4F6499E6.2090001@gmx.de> Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:39142) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S9Yew-0001Wo-8V for emacs-orgmode@gnu.org; Mon, 19 Mar 2012 05:13:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S9YeZ-0007So-BT for emacs-orgmode@gnu.org; Mon, 19 Mar 2012 05:13:45 -0400 Received: from mail-ee0-f41.google.com ([74.125.83.41]:50085) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S9YeZ-0007SN-2O for emacs-orgmode@gnu.org; Mon, 19 Mar 2012 05:13:23 -0400 Received: by eeke53 with SMTP id e53so2929523eek.0 for ; Mon, 19 Mar 2012 02:13:21 -0700 (PDT) In-Reply-To: <4F6499E6.2090001@gmx.de> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Simon Thum Cc: news1142@Karl-Voit.at, Karl Voit , emacs-orgmode@gnu.org On 17.3.2012, at 15:04, Simon Thum wrote: > Hi Karl, >=20 > why don't you add something like an "xx" day which will probably = please org-mode - in my tests org ignored the weekday. Yes, the weekday is only expected, but never used, so writing "xxx" would work. However, see my other mail for another proposal along Nick's lines of argument. - Carsten > I concluded it's there for viewing convenience, and editing (C-.) = always got me the right DOW. >=20 > I don't use org2ical, however. >=20 > Cheers, >=20 > Simon >=20 >=20 > On 03/05/2012 03:44 PM, Karl Voit wrote: >> Hi! >>=20 >> I verified the behavior below with the most current git version of >> Org-mode. >>=20 >> Whenever I call my function to export the current agenda, it >> =ABconverts=BB events that do have a beginning and end time to events >> that span the whole day (without begin and end times at all). >>=20 >> ,----[ my LISP command to export ] >> | (defun vk-export-agenda() >> | "Exports monthly Org-mode agenda to agenda.ics file" >> | (interactive) >> | (org-agenda-list nil nil 60) >> | (org-agenda-write "~/org/agenda.ics") >> | ) >> `---- >>=20 >> I traced down the problem to this: >>=20 >> *<2012-03-05 Mon 08:00-09:00> works fine >> *<2012-03-05 Mon 8:00-9:00> works fine too >>=20 >> *<2012-03-05 08:00-09:00> Wrong: ends up as full day event >>=20 >> Unfortunately, I do have certain mechanisms that generate parts of >> my Org-mode files where I skip the day of the week. Org-mode in >> general is able to handle date stamps without day of week pretty >> well. But whenever I export it to ics (in order to send it to >> Google), I end up with a messed up online agenda. >>=20 >> I guess that org-agenda-write is the one to blame. It would be very >> handy to me if somebody could fix that issue. >>=20 >> Let me know, if you need any further information! >>=20 >> Thank you very much! >>=20 >=20 >=20