From: Bernt Hansen <email@example.com>
To: Aankhen <firstname.lastname@example.org>
Cc: Org-mode ml <email@example.com>
Subject: Re: Enforcing drawer setup
Date: Fri, 01 Apr 2011 13:01:37 -0400 [thread overview]
Message-ID: <firstname.lastname@example.org> (raw)
In-Reply-To: <AANLkTikbW86qSAnJ_EnCSmN73M5eXqYLXN-V+gpGg813@mail.gmail.com> (email@example.com's message of "Fri, 1 Apr 2011 18:17:10 +0530")
Aankhen <firstname.lastname@example.org> writes:
> Is there any command I can run to put into effect my
> ‘org-log-into-drawer’ setting? I recently changed it to ‘t’, but I
> have a fair number of existing entries where it was ‘nil’, meaning
> that the files as a whole look rather haphazardly organized.
There's not built-in function to accomplish this that I am aware of.
This is a bit of a hack but it will probably get you the result you
want. If you set org-clock-into-drawer to the drawer than you want and
set org-clock-out-remove-zero-time-clocks then you can visit each
heading using some elisp code, clock in and immediately clock out the
headline and it should create a drawer and wrap your existing data.
I haven't actually done this... so YMMV.
next prev parent reply other threads:[~2011-04-01 17:01 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-01 12:47 Enforcing drawer setup Aankhen
2011-04-01 17:01 ` Bernt Hansen [this message]
2011-04-01 19:00 ` Aankhen
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:
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
* 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 public inbox
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).