Hi, > Hi Bastien, > > ยท Bastien <b...@gnu.org> wrote: >> Thomas Holst <thomas_ho...@gmx.de> writes: >> >>> Given a table with several sections and a capture template for entries >>> in this table. The sections are dynamic, so a static value for >>> table-line-pos does not help. With this patch table-line-pos can be: >>> >>> - a string like "II-2" >>> - a varialbe containing a string >>> - or a function >>> The function has to return a string which qualifies for table-line-pos >>> >>> This serves me well and I am using it for more than one year now. >> >> This sounds useful. Could you also provide a patch for the >> documentation? >> >> Thanks in advance!
ok here is the patch for documentation. -- Bis neulich ... Thomas
>From 436e5adb0a9d0bc9ac37352bd90018c973dfdabf Mon Sep 17 00:00:00 2001 From: Thomas Holst <thomas_ho...@gmx.de> Date: Mon, 17 Mar 2014 09:01:40 +0100 Subject: [PATCH] docu change for table-line-pos new feature * org.texi: document new features of `table-line-pos' in capture templates --- doc/org.texi | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/doc/org.texi b/doc/org.texi index b53b668..2bebae4 100644 --- a/doc/org.texi +++ b/doc/org.texi @@ -7095,9 +7095,10 @@ narrow it so that you only see the new material. @item :table-line-pos Specification of the location in the table where the new line should be -inserted. It should be a string like @code{"II-3"} meaning that the new -line should become the third line before the second horizontal separator -line. +inserted. It can be a string, a variable holding a string or a function +returning a string. The string should look like @code{"II-3"} meaning that +the new line should become the third line before the second horizontal +separator line. @item :kill-buffer If the target file was not yet visited when capture was invoked, kill the -- 1.7.9