emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Aankhen <aankhen@gmail.com>
To: Bernt Hansen <bernt@norang.ca>, Org-mode ml <emacs-orgmode@gnu.org>
Subject: Re: Enforcing drawer setup
Date: Sat, 2 Apr 2011 00:30:33 +0530	[thread overview]
Message-ID: <AANLkTinZBa+mAULa936+0K-vAOA67cnuDLbj=xUp1NtX@mail.gmail.com> (raw)
In-Reply-To: <87liztj47i.fsf@norang.ca>

Hi Bernt,

On Fri, Apr 1, 2011 at 22:31, Bernt Hansen <bernt@norang.ca> wrote:
> Aankhen <aankhen@gmail.com> 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.
>> Thanks,
>> Aankhen
> Hi Aankhen,
> 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.

Yes, that was my first thought when I enabled logging into a drawer,
as I thought I’d read about it working that way, but unfortunately it
doesn’t seem to. :-( I appreciate the suggestion though.


      reply	other threads:[~2011-04-01 19:00 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
2011-04-01 19:00   ` Aankhen [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:

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='AANLkTinZBa+mAULa936+0K-vAOA67cnuDLbj=xUp1NtX@mail.gmail.com' \
    --to=aankhen@gmail.com \
    --cc=bernt@norang.ca \
    --cc=emacs-orgmode@gnu.org \


* 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).