From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: inserting files within remember templates Date: Wed, 07 Nov 2007 12:46:45 +0000 Message-ID: <87ir4ew7d6.fsf@bzg.ath.cx> References: <20071105181739.GB13544@atlantic.linksys.moosehall> <8A730AEC-45F4-4A2F-BD38-24DEBF937445@science.uva.nl> <20071106163647.GC13544@atlantic.linksys.moosehall> <87wssupypp.fsf@bzg.ath.cx> <20071107095826.GE13544@atlantic.linksys.moosehall> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IpjN0-0003l2-OS for emacs-orgmode@gnu.org; Wed, 07 Nov 2007 06:46:54 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IpjMz-0003kb-9a for emacs-orgmode@gnu.org; Wed, 07 Nov 2007 06:46:54 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IpjMz-0003kX-3Z for emacs-orgmode@gnu.org; Wed, 07 Nov 2007 06:46:53 -0500 Received: from ug-out-1314.google.com ([66.249.92.173]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IpjMy-0007CJ-Pl for emacs-orgmode@gnu.org; Wed, 07 Nov 2007 06:46:52 -0500 Received: by ug-out-1314.google.com with SMTP id a2so106001ugf for ; Wed, 07 Nov 2007 03:46:52 -0800 (PST) In-Reply-To: <20071107095826.GE13544@atlantic.linksys.moosehall> (Adam Spiers's message of "Wed, 7 Nov 2007 09:58:26 +0000") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Adam Spiers writes: > On Wed, Nov 07, 2007 at 02:37:54AM +0000, Bastien wrote: >> I've seen your patch in the other post and it looks fine. But FWIW here >> was my first reaction: why don't you try to implement a new link type >> for message/mail buffers? > > Because I use mutt for mail and hence need to use some primitive form > of IPC: > > http://article.gmane.org/gmane.emacs.orgmode/4250 Yes: > 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... But having %(...) is more straightforward. -- Bastien