From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?S=C3=A9bastien_Vauban?= Subject: Re: Composing letters using Org mode and the LaTeX isodoc class Date: Wed, 08 Sep 2010 13:48:19 +0200 Message-ID: <871v94v4l8.fsf@mundaneum.com> References: <87zkvtn5u7.fsf@mundaneum.com> <81wrqxv1bq.fsf@gmail.com> <87r5h5gwxo.fsf@mundaneum.com> <87iq2huk7u.fsf@gmail.com> <81lj7cyhkq.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: 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-mXXj517/zsQ@public.gmane.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org Hi Jambunathan, Jambunathan K wrote: > Honoring spaces would be a pre-requisite if one were to allow org's > headlines as implicit srcnames. Or you would have to impose titles without spaces, which is acceptable as w= ell for such a usage... > If babel supports headlines as srcnames, without requiring additional > begin/end directives one could just write, > > * org-list > - one > - two > - three > > #+begin_src emacs-lisp :tangle yes :noweb yes > " > <> > " > #+end_src > > and achieve similar results. > > Based on my earlier efforts at letter-writing, I have the following > observation. > > Letters have a To address and they could be pulled from bbdb. So one > could say, > > * To > [[a bbdb link]] > > > #+begin_src emacs-lisp :tangle yes :noweb yes > " > <> > " > #+end_src > > The string custom could be a elisp form or a function pointer that takes > the body of the headline as an argument and does the needful. > > Specifically in the above example, 'custom' handler would visit the bbdb > record, fetch the address and return the formatted address (with line > breaks etc etc) as the noweb expansion. [Custom handler would be > implemented by the user himself] > > Any thoughts on how this could be achieved ... That's going (really) far... But would that be do-able, waaoow! Best regards, Seb --=20 S=C3=A9bastien Vauban _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode-mXXj517/zsQ@public.gmane.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode