From: Richard Parsons <richard.lee.parsons@gmail.com>
To: mail@christianmoe.com
Cc: emacs-orgmode@gnu.org
Subject: Re: Merge Properties into Template
Date: Thu, 6 Oct 2011 16:56:27 +0100 [thread overview]
Message-ID: <CAB+=1LGGpeyoQ4e9ZMTgnsfQiUf5sUbb7WQUSb_548z80DWzGA@mail.gmail.com> (raw)
In-Reply-To: <4E8DA42F.6040306@christianmoe.com>
Hi Christian
On Thu, Oct 6, 2011 at 1:50 PM, Christian Moe <mail@christianmoe.com> wrote:
> Org doesn't already have a particular way to do this, I think, so a little
> elisp is called for. It's fairly easy with the Org Properties API.
Firstly, thank you so much for taking the time to write some code,
which (even as a newbie) I was able to get running quickly and easily.
> Here's a modest example that will work with your sample document:
...<snip>...
> Evaluate this code. Then place point in the Fido entry, do `M-x
> cm/org-merge', and type `Dog Template' at the prompt.
>
> To improve on that, how do you want to use it?
My actual use case is that I want to merge data about letters and
phone calls into documents for printing with TeX.
> Once Fido's data are merged with the template, what do you want to do with
> the results? Mail them to someone? Export them to HTML? Make a new Org entry
> with the contents and file it somewhere?
Of practical benefit to me would be either: (a) make a new Org entry
and file it (as you suggest) or (b) simply put it in the kill ring, so
that I can yank it wherever I want.
Again, thanks so much for your help, and also the other replies I
received. I'm very impressed by the org-mode community responding so
quickly to my question.
Richard
next prev parent reply other threads:[~2011-10-06 15:56 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-06 9:35 Merge Properties into Template Richard Parsons
2011-10-06 10:40 ` Merge Properties into Template; [babel] Giovanni Ridolfi
2011-10-06 11:35 ` Merge Properties into Template suvayu ali
2011-10-06 12:50 ` Christian Moe
2011-10-06 15:56 ` Richard Parsons [this message]
2011-10-06 20:52 ` Christian Moe
2011-10-07 7:04 ` Christian Moe
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='CAB+=1LGGpeyoQ4e9ZMTgnsfQiUf5sUbb7WQUSb_548z80DWzGA@mail.gmail.com' \
--to=richard.lee.parsons@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=mail@christianmoe.com \
/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).