[Orgmode] Re: Converting lists to todo items and back
Carsten Dominik [EMAIL PROTECTED] writes: Org has these: C-c * can turn an item into a headline. However, the heading will always be a subheading of the nearest heading above, so to convert your list, you should start from te end. C-c - can turn an headline into an item `C-c -' will also take an active region and turn each line into an item. My personal solution fo things like this usually is keyboard macro. For example, in this case Thanks for the feedback :). I wasn't aware of the C-c - and C-c * key bindings. I think I need to review the org-mode manual every quarter or something - there's so much useful stuff in org-mode! I ended up using a regexp replacement for converting my lists which turned out to be pretty easy. Sorry for the noise. -Bernt ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Converting lists to todo items and back
On May 21, 2008, at 2:54 PM, Bernt Hansen wrote: Carsten Dominik [EMAIL PROTECTED] writes: Org has these: C-c * can turn an item into a headline. However, the heading will always be a subheading of the nearest heading above, so to convert your list, you should start from te end. C-c - can turn an headline into an item `C-c -' will also take an active region and turn each line into an item. My personal solution fo things like this usually is keyboard macro. For example, in this case Thanks for the feedback :). I wasn't aware of the C-c - and C-c * key bindings. I think I need to review the org-mode manual every quarter or something - there's so much useful stuff in org-mode! I ended up using a regexp replacement for converting my lists which turned out to be pretty easy. Yes, for people who can use regexps this is clearly a fast option. - Carsten ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Converting lists to todo items and back
Bernt Hansen [EMAIL PROTECTED] 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 ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode