I think this is handled easily enough with existing org-mode + emacs
facilities
1) Mark the sub-tree (C-c @ is useful)
2) Copy and yank where you need it
3) Mark the new copy (or activate transient mark mode)
4) M-C-% (query-replace-regexp in region) to eliminate all the lines not
starting with *
A suitable regexp should be ^[^*].*^J where the ^J (linefeed) is entered by
C-q C-j.
On Thu, 23 Apr 2009 11:47:02 +0200
Rainer Stengele rainer.steng...@diplan.de wrote:
hi all,
is it possible to clone all visible or marked headlines without
contents?
Example:
Having these lines:
* header1
- contents
** header11
- contents
* header2
- contents
** header21
- contents
I'd like to have
* header1
- contents
** header11
- contents
* header2
- contents
** header21
- contents
* header1
** header11
* header2
** header21
application:
having written a spec for a job I want to write another
one for a similar subject with headlines as before but changed
contents
Thanks for any thought!
Rainer
___
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
___
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