From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Adr3nal D0S" Subject: Re: Smart node selection for org-remember-templates? Date: Tue, 18 Dec 2007 17:17:42 -0600 Message-ID: <308083c30712181517o53d30988p7cc5facb3a0e1fdf@mail.gmail.com> References: <308083c30712181131k79d92183ne5d29e8330ff2a69@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1J4lh8-00059J-1L for emacs-orgmode@gnu.org; Tue, 18 Dec 2007 18:17:50 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1J4lh3-00052p-3l for emacs-orgmode@gnu.org; Tue, 18 Dec 2007 18:17:49 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J4lh2-00052X-T4 for emacs-orgmode@gnu.org; Tue, 18 Dec 2007 18:17:44 -0500 Received: from nz-out-0506.google.com ([64.233.162.228]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1J4lh2-00020L-No for emacs-orgmode@gnu.org; Tue, 18 Dec 2007 18:17:44 -0500 Received: by nz-out-0506.google.com with SMTP id f1so1383071nzc.21 for ; Tue, 18 Dec 2007 15:17:44 -0800 (PST) In-Reply-To: Content-Disposition: inline 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: Manish Cc: emacs-orgmode@gnu.org On Dec 18, 2007 3:59 PM, Manish wrote: > > On Dec 19, 2007 1:01 AM, Adr3nal D0S wrote: > > > > * 2007 > > ** Dec > > *** Tuesday 18 > > **** What I did #1 > > **** What I did #2 > > (setq org-remember-templates '((?l "**** %?" "path-to/worklog.org" "*** %t"))) > If I understood it correctly, then you aren't really using Org's todo > functionality rather using it as a plain chronological journal. Using > journal template instead of a todo template to file in something like > journal.org could serve your purpose probably. > > Something along these lines perhaps. This will file your note under > JOURNAL heading in ~/org/journal.org file. > > (setq org-remember-templates (quote > (("Journal" 106 "* JOURNAL %U %? > %a" "~/org/journal.org" "Journal") > ))) That's not much different than what I tried before posting the original e-mail. I would like to be able to control the format of the date that is inserted. Furthermore, I would like to be able to specify a hierarchy that the entry should exist in and create it if it does not. Using the org-mode snippet above, I would like "** Dec" to be created if it does not exist and so on up the hierarchy. Does that clarify what I am looking for?