From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Hendy Subject: Re: date added into logbook? Date: Mon, 28 May 2012 14:56:12 -0500 Message-ID: References: <27237E64-67BA-4FA4-8365-3EBF9DD00B94@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]:43585) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SZ637-0000ax-Ah for emacs-orgmode@gnu.org; Mon, 28 May 2012 15:56:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SZ635-0006LP-9G for emacs-orgmode@gnu.org; Mon, 28 May 2012 15:56:16 -0400 Received: from mail-bk0-f41.google.com ([209.85.214.41]:49764) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SZ634-0006Jw-VS for emacs-orgmode@gnu.org; Mon, 28 May 2012 15:56:15 -0400 Received: by bkcjm19 with SMTP id jm19so3007811bkc.0 for ; Mon, 28 May 2012 12:56:12 -0700 (PDT) In-Reply-To: <27237E64-67BA-4FA4-8365-3EBF9DD00B94@gilbert.org> 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 Gilbert Cc: emacs-orgmode Mailinglist On Mon, May 28, 2012 at 2:01 PM, Michael Gilbert wrote: > Hi all =E2=80=94 > [snip] > I have a desire to better track the history of notes and tasks, as they g= et created, refiled, etc. This involves several elements, but one of them i= nvolves a piece that I've wanted for a while: a way to keep the data that i= s lost when I refile an item from my default date-tree file =E2=80=94 the d= ate the item was created/added. > > Perhaps there is some obvious (but mysterious to me) variable I can set f= or this, but I haven't found it. What I want is to be able to have a string= similar to the others added to the logbook (like " - Refiled on [2012-05-2= 8 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 this = help? -- http://doc.norang.ca/org-mode.html#sec-15-21 #+begin_src elisp (defun bh/insert-inactive-timestamp () (interactive) (org-insert-time-stamp nil t t nil nil nil)) (defun bh/insert-heading-inactive-timestamp () (save-excursion (org-return) (org-cycle) (bh/insert-inactive-timestamp))) (add-hook 'org-insert-heading-hook 'bh/insert-heading-inactive-timestamp 'append) #+end_src Best regards, John > Is anyone else already doing this? > > =E2=80=94 Michael > > > http://nonprofitnews.org > http://gilbert.org > > > >