From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Eglen Subject: Re: icalendar: exporting times of day specified in heading? Date: Wed, 17 Mar 2010 13:40:42 +0000 Message-ID: <5606.1268833242@maps> References: <15490.1263652716@cpc1-cmbg14-2-0-cust6.5-4.cable.virginmedia.com> <11681.1265116614@maps> <87ocinuljo.fsf@fastmail.fm> Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NrtUO-0007OV-Rm for emacs-orgmode@gnu.org; Wed, 17 Mar 2010 09:40:48 -0400 Received: from [140.186.70.92] (port=58124 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NrtUM-0007ON-Ju for emacs-orgmode@gnu.org; Wed, 17 Mar 2010 09:40:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NrtUL-0007Le-4F for emacs-orgmode@gnu.org; Wed, 17 Mar 2010 09:40:46 -0400 Received: from ppsw-0.csi.cam.ac.uk ([131.111.8.130]:41432) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NrtUK-0007Kq-Vy for emacs-orgmode@gnu.org; Wed, 17 Mar 2010 09:40:45 -0400 In-reply-to: <87ocinuljo.fsf@fastmail.fm> 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: Matt Lundin Cc: emacs-orgmode@gnu.org, Stephen Eglen , Carsten Dominik hi Matt, > When I enter the time of day after typing "i d", the time of day is > added to the timestamp (as above) but is *not* removed the headline. > E.g., > > "Day entry: 9:00am go shopping [RET]" > > ...results in the following headline... > > * 9:00am go shopping > <2010-03-17 Wed 09:00> that's odd; I just tried that and got: ******* go shopping <2010-03-17 Wed 09:00> which then shows in the agenda as: agenda: 9:00...... go shopping > I'd be curious to know whether others can duplicate this bug. me too! Do you get any better behaviour if you just put 9:00 or 09:00? Would be good to resolve this in case there is a bug lurking elsewhere... > Might I request an independent variable for this? While I would like the > agenda to scan my headlines for time of day specifications (and thus > have org-agenda-search-headline-for-time set to t), I am not sure I want > org-agenda-add-entry-to-org-agenda-diary-file to alter the information I > enter at the "Day entry: " prompt. Certainly I'd be in agreement with that, as I don't want to jump on others preferences. Currently, org-agenda.el has (l 7079) (if org-agenda-search-headline-for-time to check whether we should extract the time; how about if I replaced it with a variable called org-agenda-extract-time-from-entry which defaults to nil so this behaviour is normally off? Sorry about this Matt. Stephen