From mboxrd@z Thu Jan 1 00:00:00 1970 From: Suvayu Ali Subject: Re: Including linked emails during export (was Re: Integration of notmuch email references in notes in org-mode) Date: Wed, 27 Feb 2013 14:47:29 +0100 Message-ID: <20130227134729.GA12419@kuru.dyndns-at-home.com> References: <5122316C.7070706@gmail.com> <20130218151250.GE18291@kuru.dyndns-at-home.com> <512249D9.10002@gmail.com> <20130218214125.GC25900@kuru.dyndns-at-home.com> <51233407.7070902@gmail.com> <87k3ptswvr.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([208.118.235.92]:39292) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UAhMC-0004mF-46 for emacs-orgmode@gnu.org; Wed, 27 Feb 2013 08:47:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UAhM7-0006dL-AR for emacs-orgmode@gnu.org; Wed, 27 Feb 2013 08:47:40 -0500 Received: from mail-wg0-x229.google.com ([2a00:1450:400c:c00::229]:53058) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UAhM7-0006cu-4b for emacs-orgmode@gnu.org; Wed, 27 Feb 2013 08:47:35 -0500 Received: by mail-wg0-f41.google.com with SMTP id ds1so5327659wgb.2 for ; Wed, 27 Feb 2013 05:47:34 -0800 (PST) Content-Disposition: inline In-Reply-To: <87k3ptswvr.fsf@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Nicolas Goaziou Cc: emacs-orgmode@gnu.org, Rainer M Krug Hey Nicolas, On Wed, Feb 27, 2013 at 02:35:04PM +0100, Nicolas Goaziou wrote: > Hello, > > Rainer M Krug writes: > > > > But what about defining notmuch as a new language for babel, so that > > one could do the following: > > > > #+begin_src notmuch :exports raw > > search id:XXXXXXXXXXXXXXXXx > > #+end_src > > > > Would not be much different then > > > > #+begin_src sh :exports raw > > notmuch search id:XXXXXXXXXXXXXXXXx > > #+end_src > > > > but possibly open more possibilities for customizations? > > XXXXXXXXXXXXXXXXx > > Or inline it could be src_notmuch{search id:XXXXXXXXXXXXXXXXx} > > > > The general advantage would be that one can use the existing > > infrastructure for code blocks and > > FWIW, I think the approach suggested by Rainer is good, i.e. writing > a new "language" for Babel, with specific headers. Such blocks would > then be expanded into appropriate Org syntax the exporter can > understand. Thanks for your feedback. I haven't had any time to look at this yet. I'll keep this in mind. Cheers, -- Suvayu Open source is the future. It sets us free.