* moving past state changes into logbook drawer?
@ 2010-07-05 7:23 Michael Gilbert
2010-07-24 6:57 ` David Maus
0 siblings, 1 reply; 2+ messages in thread
From: Michael Gilbert @ 2010-07-05 7:23 UTC (permalink / raw)
To: emacs-orgmode Mailinglist
Hi —
I am just now transitioning to logging state changes into a logbook drawer. But I have legacy agenda files with hundreds of lines that were not put into that drawer. Does anyone know of a convenient way to move all the past state changes into the suitable drawer? If that in the manual, I'm afraid I missed it.
TIA!
— Michael
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: moving past state changes into logbook drawer?
2010-07-05 7:23 moving past state changes into logbook drawer? Michael Gilbert
@ 2010-07-24 6:57 ` David Maus
0 siblings, 0 replies; 2+ messages in thread
From: David Maus @ 2010-07-24 6:57 UTC (permalink / raw)
To: Michael Gilbert; +Cc: emacs-orgmode Mailinglist
[-- Attachment #1.1: Type: text/plain, Size: 1139 bytes --]
Michael Gilbert wrote:
>Hi —
>I am just now transitioning to logging state changes into a logbook
>drawer. But I have legacy agenda files with hundreds of lines that
>were not put into that drawer. Does anyone know of a convenient way
>to move all the past state changes into the suitable drawer? If that
>in the manual, I'm afraid I missed it.
Moving these non-logbook state changes into the LOGBOOK drawer is not
covered in the manual. Just gave this problem a thought and will see
if I can provide a function that does the job. Although there are
limitations. Finding state changes without a note is doable.
,----
| ^[ \t]*- State .+
`----
If they have a note they end with "\\" and we know for certain that
everything up to a blank line ("\n\n") belongs to the state change.
But we cannot say if things below this blank line belong to the note
or not.
,----
| - State "WAIT" from "TODO" [2010-06-27 So 08:41] \\
| Here is some text.
|
| And the note goes on!
`----
HTH,
-- David
--
OpenPGP... 0x99ADB83B5A4478E6
Jabber.... dmjena@jabber.org
Email..... dmaus@ictsoc.de
[-- Attachment #1.2: Type: application/pgp-signature, Size: 230 bytes --]
[-- Attachment #2: Type: text/plain, Size: 201 bytes --]
_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-07-24 6:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-05 7:23 moving past state changes into logbook drawer? Michael Gilbert
2010-07-24 6:57 ` David Maus
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.