From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adam Spiers Subject: Re: inserting files within remember templates Date: Wed, 7 Nov 2007 14:36:41 +0000 Message-ID: <20071107143641.GP13544@atlantic.linksys.moosehall> 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> <87ir4ew7d6.fsf@bzg.ath.cx> <20071107125022.GK13544@atlantic.linksys.moosehall> <87ejf2nmr8.fsf@bzg.ath.cx> Reply-To: Adam Spiers 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 1Ipm1N-0008E4-Rj for emacs-orgmode@gnu.org; Wed, 07 Nov 2007 09:36:45 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ipm1N-0008Ds-E0 for emacs-orgmode@gnu.org; Wed, 07 Nov 2007 09:36:45 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ipm1N-0008Dp-9B for emacs-orgmode@gnu.org; Wed, 07 Nov 2007 09:36:45 -0500 Received: from mail.beimborn.com ([70.84.38.100]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Ipm1M-0001AJ-QD for emacs-orgmode@gnu.org; Wed, 07 Nov 2007 09:36:45 -0500 Received: from mail.beimborn.com (localhost.localdomain [127.0.0.1]) by mail.beimborn.com (8.12.11.20060308/8.12.8) with ESMTP id lA7EahIh029942 for ; Wed, 7 Nov 2007 08:36:43 -0600 Received: from localhost (localhost [[UNIX: localhost]]) by mail.beimborn.com (8.12.11.20060308/8.12.11/Submit) id lA7EahSv029937 for emacs-orgmode@gnu.org; Wed, 7 Nov 2007 14:36:43 GMT Content-Disposition: inline In-Reply-To: <87ejf2nmr8.fsf@bzg.ath.cx> 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 On Wed, Nov 07, 2007 at 02:39:07PM +0000, Bastien wrote: > Adam Spiers writes: > > > 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. > > In fact, I was not thinking of "parsing" the message. I imagined that > the mutt helper would just tell where the message file is, then Emacs > would do the job of creating a link by visiting this file That's going to be costly for mails with very large attachments. > storing all relevant information into the properties of this link ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ By "relevant information" presumably you mean the mail's subject, sender, recipients, message-id and so on? In which case the mail (header, at least) has to be parsed at some point, no? > those properties being immediately reusable by a template. Yes, that's certainly desirable.