* feature request for org-store-log-note
@ 2011-09-28 0:51 John J Foerch
2011-09-28 2:28 ` Juan Pechiar
2011-10-05 0:15 ` Storing log notes at capture (was Re: feature request for org-store-log-note) Olaf Meeuwissen
0 siblings, 2 replies; 4+ messages in thread
From: John J Foerch @ 2011-09-28 0:51 UTC (permalink / raw
To: emacs-orgmode
Hello,
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)
(setq org-todo-keywords
'((sequence "TODO(t!)" "|" "DONE(d!)" "CANCELLED(c!)")))
(setcdr (assq 'state org-log-note-headings)
"State -> %s %t")
This logs each state change (including creation) into the LOGBOOK
drawer. It's great. My feature request concerns the order in which the
notes are logged. Each new note is inserted at the top of the drawer.
I would prefer it if they could be logged to the end of the drawer, so
that one could read all of the state changes in chronological order from
the top down.
Make sense?
Thank you,
--
John Foerch
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: feature request for org-store-log-note
2011-09-28 0:51 feature request for org-store-log-note John J Foerch
@ 2011-09-28 2:28 ` Juan Pechiar
2011-09-28 3:45 ` John J Foerch
2011-10-05 0:15 ` Storing log notes at capture (was Re: feature request for org-store-log-note) Olaf Meeuwissen
1 sibling, 1 reply; 4+ messages in thread
From: Juan Pechiar @ 2011-09-28 2:28 UTC (permalink / raw
To: John J Foerch; +Cc: emacs-orgmode
Hi John,
Please check the variable
org-log-states-order-reversed
Documentation:
Non-nil means the latest state note will be directly after heading.
When nil, the state change notes will be ordered according to time.
Regards,
.j.
On Tue, Sep 27, 2011 at 08:51:27PM -0400, John J Foerch wrote:
> 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)
>
> (setq org-todo-keywords
> '((sequence "TODO(t!)" "|" "DONE(d!)" "CANCELLED(c!)")))
>
> (setcdr (assq 'state org-log-note-headings)
> "State -> %s %t")
>
> This logs each state change (including creation) into the LOGBOOK
> drawer. It's great. My feature request concerns the order in which the
> notes are logged. Each new note is inserted at the top of the drawer.
> I would prefer it if they could be logged to the end of the drawer, so
> that one could read all of the state changes in chronological order from
> the top down.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: feature request for org-store-log-note
2011-09-28 2:28 ` Juan Pechiar
@ 2011-09-28 3:45 ` John J Foerch
0 siblings, 0 replies; 4+ messages in thread
From: John J Foerch @ 2011-09-28 3:45 UTC (permalink / raw
To: emacs-orgmode
Juan Pechiar <juan@pechiar.com> writes:
> Hi John,
>
> Please check the variable
>
> org-log-states-order-reversed
>
> Documentation:
> Non-nil means the latest state note will be directly after heading.
> When nil, the state change notes will be ordered according to time.
>
> Regards,
> .j.
Somehow I missed that. Thank you for pointing it out. :)
--
John Foerch
^ permalink raw reply [flat|nested] 4+ messages in thread
* Storing log notes at capture (was Re: feature request for org-store-log-note)
2011-09-28 0:51 feature request for org-store-log-note John J Foerch
2011-09-28 2:28 ` Juan Pechiar
@ 2011-10-05 0:15 ` Olaf Meeuwissen
1 sibling, 0 replies; 4+ messages in thread
From: Olaf Meeuwissen @ 2011-10-05 0:15 UTC (permalink / raw
To: John J Foerch; +Cc: emacs-orgmode
John J Foerch <jjfoerch@earthlink.net> 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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-10-05 0:08 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-28 0:51 feature request for org-store-log-note John J Foerch
2011-09-28 2:28 ` Juan Pechiar
2011-09-28 3:45 ` John J Foerch
2011-10-05 0:15 ` Storing log notes at capture (was Re: feature request for org-store-log-note) Olaf Meeuwissen
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.