From: Tony Day <tonyday567@gmail.com>
To: emacs-orgmode@gnu.org
Subject: indentation across multiple source blocks
Date: Tue, 18 Dec 2012 10:38:30 +1100 [thread overview]
Message-ID: <m2ip80uu4p.fsf@gmail.com> (raw)
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
next reply other threads:[~2012-12-17 23:38 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-17 23:38 Tony Day [this message]
2012-12-18 11:55 ` indentation across multiple source blocks Bastien
2012-12-19 1:08 ` Tony Day
2012-12-23 8:50 ` Bastien
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2ip80uu4p.fsf@gmail.com \
--to=tonyday567@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).