Re: [O] Insert a heading in every sibling

2013-12-20 Thread Yasushi SHOJI
Hi, At Mon, 28 Oct 2013 06:13:21 +0500, Scot Becker wrote: > > I'm using org-mode to keep track of student grades. How can I easily add a > bunch of identical headings at a certain level in my tree? Specifically,I > have a L2 heading for each student, and I want to put a node (heading, with >

Re: [O] Insert a heading in every sibling

2013-10-29 Thread John Kitchin
I worked out some emacs-lisp code that does some of what you want. It was a little tricky though to avoid some strange recursion loops. See this post: http://jkitchin.github.io/blog/2013/10/29/Add-subheadings-to-all-headings-in-an-org-file-at-some-level/ j John -

Re: [O] Insert a heading in every sibling

2013-10-28 Thread Scot Becker
Thanks, Seb and Marcin. I didn't know about cloning. That will do for those parts of the tree that I know about before I start filling in the data. For afterwards, which is more the case I'm thinking about, I'll aim to write an Elisp function using org-insert-subheading. That sample macro give

Re: [O] Insert a heading in every sibling

2013-10-28 Thread Sebastien Vauban
Marcin Borkowski wrote: > Scot Becker napisał(a): > >> I'm using org-mode to keep track of student grades. How can I easily >> add a bunch of identical headings at a certain level in my tree? >> Specifically,I have a L2 heading for each student, and I want to put >> a node (heading, with some pro

Re: [O] Insert a heading in every sibling

2013-10-27 Thread Marcin Borkowski
Dnia 2013-10-28, o godz. 06:13:21 Scot Becker napisał(a): > I'm using org-mode to keep track of student grades. How can I easily > add a bunch of identical headings at a certain level in my tree? > Specifically,I have a L2 heading for each student, and I want to put > a node (heading, with some

[O] Insert a heading in every sibling

2013-10-27 Thread Scot Becker
I'm using org-mode to keep track of student grades. How can I easily add a bunch of identical headings at a certain level in my tree? Specifically,I have a L2 heading for each student, and I want to put a node (heading, with some properties) under each L2 student heading for that class. * Class