From mboxrd@z Thu Jan 1 00:00:00 1970 From: Subhan Tindall Subject: Finding LAST copy of a given headline in a file Date: Thu, 25 Jul 2013 15:29:10 -0700 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11c28b941287f904e25d8ed4 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40857) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V2U2B-0002TH-JT for emacs-orgmode@gnu.org; Thu, 25 Jul 2013 18:29:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V2U24-0003Wo-Fg for emacs-orgmode@gnu.org; Thu, 25 Jul 2013 18:29:19 -0400 Received: from mail-la0-f49.google.com ([209.85.215.49]:55754) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V2U24-0003V3-8y for emacs-orgmode@gnu.org; Thu, 25 Jul 2013 18:29:12 -0400 Received: by mail-la0-f49.google.com with SMTP id ea20so1794521lab.36 for ; Thu, 25 Jul 2013 15:29:10 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Org-Mode --001a11c28b941287f904e25d8ed4 Content-Type: text/plain; charset=ISO-8859-1 So I've been working on this issue, & still don't have it quite worked out like I would want. What I would like to do is either) Have template that inserts itself under the LAST entry in the target file for a given headline OR composes the right strings to use file+olp to find the specific headline under the current date's date-tree heading. For example, I have a date tree with **** Ticket X under each of several days, including today's date. I want to insert an entry ***** What I did today with some additional information under **** Ticket X for today. * 2013 ** 2013-07-25 *** 2013-07-24 Wednesday **** Ticket X ***** LOG ticket X stuff for Wednesday *** 2013-07-25 Thursday **** Ticket X ***** LOG ticket X stuff **** Ticket Y ****** Log ticket y stuff Any pointers? -- Subhan Michael Tindall | Software Developer | smt@rentrakmail.com RENTRAK | www.rentrak.com | NASDAQ: RENT --001a11c28b941287f904e25d8ed4 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
So I've been working on this issue, & still don= 9;t have it quite worked out like I would want. =A0What I would like to do = is either)
Have template that inserts itself under the LAST entry in th= e target file for a given headline
OR
composes the right strings to use file+olp to find the sp= ecific headline under the current date's date-tree heading.
F= or example, I have a date tree with **** Ticket X under each of several day= s, including today's date.
I want to insert an entry ***** What I did today =A0 with some additio= nal information under **** Ticket X for today.

* = =A02013
** 2013-07-25
*** 2013-07-24 Wednesday
**** Ticket X
***** LOG ticket X stuff for Wednesday
*** 2013-07-25 Thursday
**** Ticket X
*****= LOG ticket X stuff
**** Ticket Y
****** Log ticket y s= tuff

Any pointers?

--
Subhan Michael Tindall | Software Developer
= | smt@rentrakmail.= com
RENTRAK | www.rentrak= .com | NASDAQ: RENT
--001a11c28b941287f904e25d8ed4--