emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] [PATCH] Allow %<num> escapes to capture templates, expanded to text


From: Toby Cubitt
Subject: [O] [PATCH] Allow %<num> escapes to capture templates, expanded to text entered in <num>'th prompt
Date: Mon, 23 Apr 2012 00:47:59 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

Currently, capture templates provide no way of prompting for some text,
then inserting that text into multiple places in the template.

This patch allow you to do this, by adding %<n> escapes to the template
syntax (where <n> is a digit, 0 to 9), which expand to the text entered
for the nth prompt in the template (as specified in the template using
the usual %^{prompt} syntax).

Useful for populating a subtree with an entire sequence of related TODOs,
capturing a multi-step task.

Toby
-- 
Dr T. S. Cubitt
Mathematics and Quantum Information group
Department of Mathematics
Complutense University
Madrid, Spain

email: address@hidden
web:   www.dr-qubit.org

Attachment: 0001-Capture-Add-num-escapes-to-org-capture-templates.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]