|
From: | Subhan Tindall |
Subject: | Re: [O] need file+function help |
Date: | Tue, 9 Apr 2013 15:37:10 -0700 |
Hi Subhan,
No.
Subhan Tindall <address@hidden> writes:
> questions:
> 1) are the values gathered by capture available to the function
> specified for file+function, & if so what are their names?
The function is expected to find a location where to put the new
> 2) what is the general template for a function for use with
> file+function, cleanup, return values, etc that would be expected?
entry, not to return any specific value, and if it returns a value,
the value is ignored. It can also act on the subtree at the location
it has found, but this is slightly abusing the feature I'd say.
"datetree+headline" is improper, because a location in a datetree is
> 3) would it be better to extend datetree to datetree+headline for
> entries of this type? it seems like it a pretty usefully
> functionality to have (I can think of 2 or 3 instances i'd regularly
> use this just off the top of my head
a headline... so maybe your best chance is to use (function ...) or
(file+function ...) and try to see if the function can interactively
prompt for the values you want and edit the location as you want.
But again, this goes beyond the purpose of function, which is to
find to location.
--
Bastien
[Prev in Thread] | Current Thread | [Next in Thread] |