emacs-orgmode
[Top][All Lists]
Advanced

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

[Orgmode] Re: "Create new heading after this one" command


From: Renzo Been
Subject: [Orgmode] Re: "Create new heading after this one" command
Date: Sun, 23 Sep 2007 07:35:59 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

Carsten Dominik <dominik <at> science.uva.nl> writes:

,-----
| ...And you could add an extra line to the end of
| the command like this:
| 
| (defun org-new-heading-after-current ()
|    "Insert a new heading with same level as current, after current subtree."
|    (interactive)
|    (org-back-to-heading)
|    (org-insert-heading)
|    (org-move-subtree-down)
|    (end-of-line 1)
|    (org-todo))
| 
| In that way it works real nice together with
| TODO-cycling:
| 
| #+SEQ_TODO: TODO(t) NEXT(n) INPROGRESS(i@) SOMEDAY(s) WAITING(w@) | DONE(d) 
CANCELED(c@)
| #+STARTUP: lognotestate
| 
| You'll get to chose what type your new heading
| should be...
| 
| Ciao
| Renzo
`-----





reply via email to

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