From: David Maus <dmaus@ictsoc.de>
To: Michael Gilbert <mcg@gilbert.org>
Cc: emacs-orgmode Mailinglist <emacs-orgmode@gnu.org>
Subject: Re: moving past state changes into logbook drawer?
Date: Sat, 24 Jul 2010 08:57:18 +0200 [thread overview]
Message-ID: <87d3udwenl.wl%dmaus@ictsoc.de> (raw)
In-Reply-To: <82F748D8-A0A5-4207-9FC6-59DDC9B7460F@gilbert.org>
[-- 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
prev parent reply other threads:[~2010-07-24 6:57 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-05 7:23 moving past state changes into logbook drawer? Michael Gilbert
2010-07-24 6:57 ` David Maus [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87d3udwenl.wl%dmaus@ictsoc.de \
--to=dmaus@ictsoc.de \
--cc=emacs-orgmode@gnu.org \
--cc=mcg@gilbert.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.