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 well 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 > " > <<org-list(:fmt latex)>> > " > #+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 > " > <<To(:fmt custom)>> > " > #+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 -- Sébastien Vauban _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode