From: Rasmus <rasmus@gmx.us>
To: emacs-orgmode@gnu.org
Subject: Re: file or headline-local template for new subtree?
Date: Tue, 14 Jul 2015 23:31:59 +0200 [thread overview]
Message-ID: <874ml6mnn4.fsf@gmx.us> (raw)
In-Reply-To: CAN_Dec-YZ2fMPz-ZiWSdRHLY7h34CSSuuecpCUWCdk_ktnW35Q@mail.gmail.com
Matt Price <moptop99@gmail.com> writes:
> I have this new system, in which I create a new subtree for every paper I
> grade. I'd love to have the new subtree automatically populated by a
> mostly-empty table on cration. Is this something I can do on a per-file
> basis; or perhaps even something I can change with every level 1 heading?
> I can think of a couple uses for this, actually.
I'm fond of org-structure-template-alist, but it might not be powerful
enough for what you want here. On a per file basis you could bind some
letter in org-structure-template-alist. ATM it cannot guess how to insert
a subtree. But there's org-insert-subheading.
Rasmus
--
El Rey ha muerto. ¡Larga vida al Rey!
next prev parent reply other threads:[~2015-07-14 21:35 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-14 21:00 file or headline-local template for new subtree? Matt Price
2015-07-14 21:31 ` Rasmus [this message]
2015-07-15 1:27 ` Mike McLean
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=874ml6mnn4.fsf@gmx.us \
--to=rasmus@gmx.us \
--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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.