emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* indentation across multiple source blocks
@ 2012-12-17 23:38 Tony Day
  2012-12-18 11:55 ` Bastien
  0 siblings, 1 reply; 4+ messages in thread
From: Tony Day @ 2012-12-17 23:38 UTC (permalink / raw)
  To: emacs-orgmode


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

Any help much appreciated.

Tony

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-12-23  8:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-17 23:38 indentation across multiple source blocks Tony Day
2012-12-18 11:55 ` Bastien
2012-12-19  1:08   ` Tony Day
2012-12-23  8:50     ` Bastien

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).