emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Yasushi SHOJI <yashi@atmark-techno.com>
To: emacs-orgmode@gnu.org
Subject: Re: Insert a heading in every sibling
Date: Sat, 21 Dec 2013 15:04:22 +0900	[thread overview]
Message-ID: <87k3eybuzd.wl@dns1.atmark-techno.com> (raw)
In-Reply-To: <CAFNfHHwgr9VbTJNmvOG-NPz6y774ds-4Eht8f2JXrtkXSw0svA@mail.gmail.com>

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
> some properties) under each L2 student heading for that class.

It is not a org solution but I'd recommend using multiple cursor by
Magnar Sveen of Emacs rocks.

 - http://emacsrocks.com/e13.html
 - https://github.com/magnars/multiple-cursors.el

> * Class One
> ** Sarah Adams
> *** Essay One
> Here is my comment to the student on their essay.  The grade/mark itself
> will be stored as a property or priority.
[...]

In the case of above, do the following after properly installed mc:

 1. mark `Essay One'
 2. call `mc/mark-all-like-this'
 3. C-<Enter>
 4. Type 'Essay Two'

Viola! Now you have new `Essay Two' entries even if you already have
one. ;-p

My two cents,
-- 
          yashi

      parent reply	other threads:[~2013-12-21  6:04 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-28  1:13 Insert a heading in every sibling Scot Becker
2013-10-28  6:13 ` Marcin Borkowski
2013-10-28  8:51   ` Sebastien Vauban
2013-10-28 16:08     ` Scot Becker
2013-10-29 19:01       ` John Kitchin
2013-12-21  6:04 ` Yasushi SHOJI [this message]

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=87k3eybuzd.wl@dns1.atmark-techno.com \
    --to=yashi@atmark-techno.com \
    --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).