Re: [O] indentation across multiple source blocks

2012-12-23 Thread Bastien
Hi Tony, Tony Day zygom...@gmail.com writes: More like a terrible example. Here's a more complicated one out in the wild (from https://github.com/renard/o-blog) - templating html creation. https://gist.github.com/4333546 I imagine patches would be welcome :) Well... spare you the sweat,

Re: [O] indentation across multiple source blocks

2012-12-18 Thread Bastien
Hi Tony, Tony Day tonyday...@gmail.com writes: Is there an easy way to preserve indentation for a source block taking into account previous blocks? No. Besides, I don't really see a good case where it would make sense to split functions across code blocks... surely a lack of imagination :)

Re: [O] indentation across multiple source blocks

2012-12-18 Thread Tony Day
On 18 Dec 2012, at 22:55, Bastien b...@altern.org wrote: Hi Tony, Hi Bastien, Thanks for the flurry of activity :) Tony Day tonyday...@gmail.com writes: Is there an easy way to preserve indentation for a source block taking into account previous blocks? No. Besides, I don't

[O] indentation across multiple source blocks

2012-12-17 Thread Tony Day
Is there an easy way to preserve indentation for a source block taking into account previous blocks? For (a silly) example: * foo :PROPERTIES: :tangle: yes :END: #+begin_src emacs-lisp (defun foo () #+end_src #+begin_src emacs-lisp (bar) #+end_src #+begin_src emacs-lisp ) #+end_src