emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Paul R <paul.r.ml@gmail.com>
To: Bernt Hansen <bernt@norang.ca>
Cc: emacs-orgmode@gnu.org
Subject: Re: Converting lists to todo items and back
Date: Tue, 20 May 2008 20:04:09 +0200	[thread overview]
Message-ID: <87r6bwett2.fsf@gmail.com> (raw)
In-Reply-To: <87ve187tpg.fsf@gollum.intra.norang.ca> (Bernt Hansen's message of "Tue\, 20 May 2008 13\:48\:11 -0400")

Bernt Hansen <bernt@norang.ca> writes:

Hello Bernt,

> Hi Carsten and list!
>
> I'm finding I outline new tasks quickly with lists like this
>
> ,----
> | * New Task
> |   - [ ] item 1
> |   - [ ] item 2
> |   - [ ] item 3
> `----
>
> and then I want to convert it to TODO items like this:
>
> ,----
> | * New Task
> | ** TODO item 1
> | ** TODO item 2
> | ** TODO item 3
> `----

You can simply take advantage of emacs editing facilities.
See functions:
 - org-narrow-to-subtree
 - replace-regexp
 - widen

You can combine them in your own functions easily. See a brief tuto
about emacs lisp coding, or read the (excellent) emacs lisp
introduction.

-- 
      Paul

  reply	other threads:[~2008-05-20 18:04 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-20 17:48 Converting lists to todo items and back Bernt Hansen
2008-05-20 18:04 ` Paul R [this message]
2008-05-21 12:03 ` Carsten Dominik
2008-05-21 12:54   ` Bernt Hansen
2008-05-21 13:06     ` Carsten Dominik

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

  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=87r6bwett2.fsf@gmail.com \
    --to=paul.r.ml@gmail.com \
    --cc=bernt@norang.ca \
    --cc=emacs-orgmode@gnu.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 public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

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