Hi Subhan, Subhan Tindall <subhan.tind...@rentrakmail.com> writes:
> questions: > 1) are the values gathered by capture available to the function > specified for file+function, & if so what are their names? No. > 2) what is the general template for a function for use with > file+function, cleanup, return values, etc that would be expected? The function is expected to find a location where to put the new 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. > 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 "datetree+headline" is improper, because a location in a datetree is 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