From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jonathan Leech-Pepin Subject: Re: date added into logbook? Date: Tue, 29 May 2012 09:04:45 -0400 Message-ID: References: <27237E64-67BA-4FA4-8365-3EBF9DD00B94@gilbert.org> <6E21786D-C512-4392-A624-DC37E0800A76@gilbert.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:36172) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SZM6X-0004DA-RT for emacs-orgmode@gnu.org; Tue, 29 May 2012 09:05:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SZM6S-0004s9-55 for emacs-orgmode@gnu.org; Tue, 29 May 2012 09:04:53 -0400 Received: from mail-pb0-f41.google.com ([209.85.160.41]:45999) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SZM6R-0004rk-Sl for emacs-orgmode@gnu.org; Tue, 29 May 2012 09:04:48 -0400 Received: by pbbrp2 with SMTP id rp2so6117917pbb.0 for ; Tue, 29 May 2012 06:04:45 -0700 (PDT) In-Reply-To: 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: Michael C Gilbert Cc: emacs-orgmode Mailinglist Hello, I'm not sure that you can automatically include the note into a :LOGBOOK: drawer, however if you're mostly/only working from capture templates you could add a property for CREATED and have it automatically fill with an inactive timestamp. #+begin_src emacs-lisp ("x" "Example capture" entry (file+headline "~/org/todo.org" "Example") "* [headline info]\n:PROPERTIES:\n:CREATED: %U\n:END: [body]" :empty-lines 1) #+end_src It isn't quite the same as having it in the logbook, but it does provide the information when you look for it. Regards, Jonathan On Mon, May 28, 2012 at 6:51 PM, John Hendy wrote: > On Mon, May 28, 2012 at 4:58 PM, Michael C Gilbert wrot= e: >> On May 28, 2012, at 12:56 PM, John Hendy wrote: >> >>> On Mon, May 28, 2012 at 2:01 PM, Michael Gilbert wrot= e: >>> >>>> I have a desire to better track the history of notes and tasks, as the= y get created, refiled, etc. This involves several elements, but one of the= m involves a piece that I've wanted for a while: a way to keep the data tha= t is lost when I refile an item from my default date-tree file =E2=80=94 th= e date the item was created/added. >>>> >>>> Perhaps there is some obvious (but mysterious to me) variable I can se= t for this, but I haven't found it. What I want is to be able to have a str= ing similar to the others added to the logbook (like " - Refiled on [2012-0= 5-28 Mon 11:33]"), but for the date/time the item first appeared. >>> >>> Bernt Hansen does this (I think this is what you're looking for). Can t= his help? >>> -- http://doc.norang.ca/org-mode.html#sec-15-21 >> >> >> Thank you! There it is, on the web, 80% of what I was looking for (of co= urse). This certainly has the same intent. It does not add any metadata (su= ch as a prefix " - Added on "), but the documentation for org-insert-time-s= tamp makes it obvious how to do that. What eludes me is how to make it obey= the org-clock-into-drawer setting. I'm assuming it doesn't. >> >> =E2=80=94 Michael >> >> > > Yes, I'm not sure about that either... I wonder if looking at the code > for what makes todo state changes and properties log into :LOGBOOK: > might help? I don't know any elisp to make sense of that. Perhaps > Bernt will see this and illuminate us both? > > John >