emacs-orgmode
[Top][All Lists]
Advanced

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

[Orgmode] Re: "clearing" the state of an org-mode subtree


From: Paul Mead
Subject: [Orgmode] Re: "clearing" the state of an org-mode subtree
Date: Sun, 11 Oct 2009 10:47:04 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (gnu/linux)

Robert Goldman <address@hidden> writes:

> Andrew Stribblehill wrote:
>> org-mode files are plain text. M-% to do a replacement: once you've
>> entered your search term and its replacement, hit ! to replace all
>> without question.
>
> Yes, one can do this, but note that it's not entirely a no-brainer.  You
> need to:
>
> 1.  clear all the check boxes and then recompute all checkbox counts in
> the region.  [this isn't a simple tag replacement]
>
> 2.  replace all non-TODO keywords with TODO.  This is a replacement, but
> not a simple one to do with M-%
>
> 3.  Wipe out all of the notes that were added with state changes.
> Again, this can be done with a replacement command, but it's not a
> trivial one.
>
> This is one of those cases where automating a task will not pay back the
> investment (at least not to me, individually), so I think I'd better
> just do it by hand.
>
> Thanks, everyone,

Have you thought about using yasnippet? I have a repeating set of TODOs
in a particular order that I have to do every month. Rather than reusing
the old structure, I just insert it again from a snippet. That way I
also have all my notes from last month too.

Paul





reply via email to

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