emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric S Fraga <ucecesf@ucl.ac.uk>
To: Carsten Dominik <carsten.dominik@gmail.com>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: Capture into subheading of current headline
Date: Wed, 01 Dec 2010 14:30:02 +0000	[thread overview]
Message-ID: <87aakp1gt1.fsf@ucl.ac.uk> (raw)
In-Reply-To: FED63059-F2EB-4F0E-A28B-9BA44E2A6D93@gmail.com

Carsten Dominik <carsten.dominik@gmail.com> writes:

> Hi Nathan,
>
> On Nov 28, 2010, at 8:10 PM, Nathan Neff wrote:
>
>> I think I'm missing something obvious here -- I can't
>> define a capture template that puts the results as a sub-heading
>> of the heading that the cursor is currently in.
>
> You can insert a capture entry at the location where you are
> at using a zero prefix to the capture command:
>
> C-0 C-c r
>
> Does that do what you want?  It hast the advantage that
> it works for any entry-like templates in your setup.
>
> I guess we could make a special target for filing as child
> of current heading if mor ethan one person found this useful....
>
> - Carsten

I can see this being useful but isn't this really a case of trying to
massage org-capture into doing something which would best handled
through a more general template mechanism (e.g yasnippet)?  I may be
biased because I already use yasnippet to insert particular types of
entries into org files, especially latex directives and some babel
code blocks...

-- 
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 23.2.1
: using Org-mode version 7.3 (release_7.3.159.g23265)

  reply	other threads:[~2010-12-01 18:36 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-28 19:10 Capture into subheading of current headline Nathan Neff
2010-12-01 13:05 ` Carsten Dominik
2010-12-01 14:30   ` Eric S Fraga [this message]
2010-12-01 22:35     ` Nathan Neff
2010-12-01 13:05 ` Carsten Dominik

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=87aakp1gt1.fsf@ucl.ac.uk \
    --to=ucecesf@ucl.ac.uk \
    --cc=carsten.dominik@gmail.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).