From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paul Whipp Subject: emacs24 datetree always entering events under today Date: Mon, 3 Sep 2012 10:57:15 +1000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=000e0cdfd49c6e82be04c8c19f3a Return-path: Received: from eggs.gnu.org ([208.118.235.92]:35007) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T8Kyc-00045b-R8 for emacs-orgmode@gnu.org; Sun, 02 Sep 2012 20:57:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T8Kyb-0006N5-Mw for emacs-orgmode@gnu.org; Sun, 02 Sep 2012 20:57:18 -0400 Received: from mail-bk0-f41.google.com ([209.85.214.41]:64252) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T8Kyb-0006Mi-FM for emacs-orgmode@gnu.org; Sun, 02 Sep 2012 20:57:17 -0400 Received: by bkcjc3 with SMTP id jc3so1934413bkc.0 for ; Sun, 02 Sep 2012 17:57:16 -0700 (PDT) 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: emacs-orgmode@gnu.org --000e0cdfd49c6e82be04c8c19f3a Content-Type: text/plain; charset=ISO-8859-1 The datetree functionality for org-mode capture is very appealing but google has let me down trying to get it working. I set it up using http://members.optusnet.com.au/~charles57/GTD/datetree.html as follows: template entry: ("e" "Event" entry (file+datetree "~/notes/events.org") "* %^{Title} %? ") My versions are: (emacs-version) "GNU Emacs 24.1.50.1 (i486-pc-linux-gnu, GTK+ Version 2.20.1) of 2012-07-28 on kutjera, modified by Debian" (org-version) "Org-mode version 7.8.11" Starting with a blank events.org file, the current year month and today are generated as the tutorial describes but all entries appear under it, whatever year or month or day I actually set for them using C-c, C-s to schedule a date (or by just associating a date with them). * 2012 ** 2012-09 September *** 2012-09-03 Monday **** test for tomorrow again SCHEDULED: <2012-09-05 Wed> **** TODO try me as a task for tomorrow SCHEDULED: <2012-09-04 Tue> **** test2 <2012-11-03 Sat 10:31> **** test1 <2012-09-03 Mon 10:30> **** just one date perhaps SCHEDULED: <2012-09-04 Tue> Can anyone help with what I'm doing wrong or is this a feature that is no longer working? Cheers, Paul --000e0cdfd49c6e82be04c8c19f3a Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable The datetree functionality for org-mode capture is very appealing but googl= e has let me down trying to get it working.


template entry:
("e" "Event" e= ntry (file+datetree "~/notes/events.org<= /a>")
&quo= t;* %^{Title}=A0%?
")


<= /div>

* 2012
** 2012-09 September
**= * 2012-09-03 Monday
**** test for tomorrow again
SCHEDU= LED: <2012-09-05 Wed>
**** TODO try me as a task for tomorr= ow
SCHEDULED: <2012-09-04 Tue>
**** test2
<2= 012-11-03 Sat 10:31>
**** test1
<2012-09-03 Mon 1= 0:30>
**** just one date perhaps=A0
SCHEDULED: <2= 012-09-04 Tue>

Can anyone help with what I'm doing wrong or = is this a feature that is no longer working?

Cheer= s,
Paul
--000e0cdfd49c6e82be04c8c19f3a-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: emacs24 datetree always entering events under today Date: Tue, 18 Sep 2012 11:40:52 +0200 Message-ID: <87obl3brj2.fsf@bzg.ath.cx> References: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:54433) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TDv0W-0005Ge-KW for emacs-orgmode@gnu.org; Tue, 18 Sep 2012 06:26:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TDv0P-000301-E9 for emacs-orgmode@gnu.org; Tue, 18 Sep 2012 06:26:20 -0400 Received: from mail-wg0-f49.google.com ([74.125.82.49]:56813) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TDv0P-0002vC-7u for emacs-orgmode@gnu.org; Tue, 18 Sep 2012 06:26:13 -0400 Received: by mail-wg0-f49.google.com with SMTP id dt14so1861191wgb.30 for ; Tue, 18 Sep 2012 03:26:12 -0700 (PDT) In-Reply-To: (Paul Whipp's message of "Mon, 3 Sep 2012 10:57:15 +1000") 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: Paul Whipp Cc: emacs-orgmode@gnu.org Hi Paul, Paul Whipp writes: > Starting with a blank events.org file, the current year month and > today are generated as the tutorial describes but all entries appear > under it, whatever year or month or day I actually set for them >  using C-c, C-s to schedule a date (or by just associating a date > with them). That's how it works. (org-capture nil "E") will always find today's date in the datetree. If you want to capture using a different default date, go to an agenda view, move to another date from the agenda view, then capture using the `k' keybinding from there. For example, if this is your agenda: Week-agenda (W38): Monday 17 September 2012 W38 Tuesday 18 September 2012 Wednesday 19 September 2012 Thursday 20 September 2012 Friday 21 September 2012 Saturday 22 September 2012 Sunday 23 September 2012 and point is on Monday's line (yesterday), then `k e' will capture to Monday's datetree. HTH, -- Bastien