[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] inserting files within remember templates
From: |
Adam Spiers |
Subject: |
Re: [Orgmode] inserting files within remember templates |
Date: |
Wed, 7 Nov 2007 12:50:22 +0000 |
User-agent: |
Mutt/1.5.14 (2007-02-12) |
On Wed, Nov 07, 2007 at 12:46:45PM +0000, Bastien wrote:
> > Currently I do this by coding the helper to dump the Message-Id into
> > ~/.clip-mairix, and then the elisp code inserts the contents of this
> > file back into the org buffer. However I would like it to be inserted
> > via a remember template, hence the request.
>
> I thought your mutt helper could copy the whole message to ~/.clip-msg,
> then you wouldn't need some elisp code to insert ~/.clip-msg but rather
> a org-message.el that would let you get the message-id as a link prop
> from the template...
Ah, I see!
> But having %(...) is more straightforward.
Possibly. I suppose it depends on the relative merits of parsing the
mail via the mutt helper (which is Perl in my case) vs. doing it with
elisp. Maybe I should change the helper to store an elisp form
representing a property list of the mail's metadata via the temporary
file rather than a preformatted mairix link - that way other
mutt/org/remember users have more flexibility in their remember
templates. But then, when and how would emacs parse that plist as a
replacement for the normal `org-store-link-props' invocation?
- Re: [Orgmode] inserting files within remember templates, (continued)
- Re: [Orgmode] inserting files within remember templates, Bastien, 2007/11/06
- Re: [Orgmode] inserting files within remember templates, Adam Spiers, 2007/11/07
- Re: [Orgmode] inserting files within remember templates, Bastien, 2007/11/07
- Re: [Orgmode] inserting files within remember templates,
Adam Spiers <=
- Re: [Orgmode] inserting files within remember templates, Bastien, 2007/11/07
- Re: [Orgmode] inserting files within remember templates, Adam Spiers, 2007/11/07
- Re: [Orgmode] inserting files within remember templates, Bastien, 2007/11/07