emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] Storing log notes at capture (was Re: feature request for org-store-


From: Olaf Meeuwissen
Subject: [O] Storing log notes at capture (was Re: feature request for org-store-log-note)
Date: Wed, 05 Oct 2011 09:15:07 +0900
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux)

John J Foerch <address@hidden> writes:

> I use org to manage TODO lists in which I want to keep time stamps for
> the creation of an item, and for each state change.  To be as clear as
> possible, I'll just paste the portion of my config that affects how
> TODOs work:
>
>   (setq org-treat-insert-todo-heading-as-state-change t
>         org-log-into-drawer t
>         org-log-done nil)
>   ;;; [snip]
>
>   (setcdr (assq 'state org-log-note-headings)
>           "State -> %s  %t")
>
> This logs each state change (including creation) into the LOGBOOK
> drawer.  It's great.

I thought so too.  I'd like to record creation in the logbook drawer
when I capture a TODO and have adjusted my templates to do so.  They
just include the logbook drawer literally, like so

  "* TODO %?
  :LOGBOOK:
  - State \"TODO\"       from \"\"           %U
  :END:
  %a
  %i"

I thought that org-treat-insert-todo-heading-as-state-change would be
able to create the drawer for me but no such luck.  Duh, capturing is
not a state change now is it.

Anyway, is there a smarter way to log creation at capture?

Thanks in advance,
-- 
Olaf Meeuwissen, LPIC-2           FLOSS Engineer -- AVASYS CORPORATION
FSF Associate Member #1962               Help support software freedom
                 http://www.fsf.org/jf?referrer=1962



reply via email to

[Prev in Thread] Current Thread [Next in Thread]