Re: [O] Finding LAST copy of a given headline in a file

2013-07-26 Thread Suvayu Ali
On Thu, Jul 25, 2013 at 04:39:08PM -0700, Subhan Tindall wrote: > Yes, you are correct, file+datetree does not do this. A while ago I > suggested a file+datetree+headline type function be added, but it was not > received well. I tend to agree with that. Your case is a corner case I believe. We

Re: [O] Finding LAST copy of a given headline in a file

2013-07-25 Thread Subhan Tindall
Yes, you are correct, file+datetree does not do this. A while ago I suggested a file+datetree+headline type function be added, but it was not received well. I attempted a function for use with file+function, but couldn't get it quite working. I'm not quite sure how to use org-map-entries to find h

Re: [O] Finding LAST copy of a given headline in a file

2013-07-25 Thread Suvayu Ali
Hello Subhan, On Thu, Jul 25, 2013 at 03:29:10PM -0700, Subhan Tindall wrote: > Have template that inserts itself under the LAST entry in the target file > for a given headline What problem do you have with the above? Can you give us a minimal example? > composes the right strings to use file+o