From: Suvayu Ali <fatkasuvayu+linux@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Finding LAST copy of a given headline in a file
Date: Fri, 26 Jul 2013 00:51:48 +0200 [thread overview]
Message-ID: <20130725225148.GB9608@kuru.dyndns-at-home.com> (raw)
In-Reply-To: <CAKKEbDuUk3Tw4pbFqPpn4SJ9pBWWioHwL44fB+w1GgbzDZmBnQ@mail.gmail.com>
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+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
Date trees can be tricky. As far as I understand, you want to add a
subheading to entries for a day. I do not think file+datetree can do
that. I would recommend you try file+function instead. It should be
easy to implement. You could use org-map-entries to find the headline
in your headline finding function.
Hope this helps,
--
Suvayu
Open source is the future. It sets us free.
next prev parent reply other threads:[~2013-07-25 22:51 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-25 22:29 Finding LAST copy of a given headline in a file Subhan Tindall
2013-07-25 22:51 ` Suvayu Ali [this message]
2013-07-25 23:39 ` Subhan Tindall
2013-07-26 11:35 ` Suvayu Ali
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130725225148.GB9608@kuru.dyndns-at-home.com \
--to=fatkasuvayu+linux@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).