Hey Nicolas,

On Wed, Feb 27, 2013 at 02:35:04PM +0100, Nicolas Goaziou wrote:
> Hello,
> 
> Rainer M Krug <r.m.k...@gmail.com> 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.

Reply via email to