From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: Capture into subheading of current headline Date: Wed, 01 Dec 2010 14:30:02 +0000 Message-ID: <87aakp1gt1.fsf@ucl.ac.uk> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from [140.186.70.92] (port=58047 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PNrXe-0004tk-49 for emacs-orgmode@gnu.org; Wed, 01 Dec 2010 13:36:35 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PNrXd-0002SF-1b for emacs-orgmode@gnu.org; Wed, 01 Dec 2010 13:36:34 -0500 Received: from vscane-a2.ucl.ac.uk ([144.82.108.42]:45906) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PNrXc-0002Rl-OM for emacs-orgmode@gnu.org; Wed, 01 Dec 2010 13:36:32 -0500 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Carsten Dominik Cc: emacs-orgmode Carsten Dominik 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)