[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Babel blocks not indented
From: |
Nick Dokos |
Subject: |
Re: [O] Babel blocks not indented |
Date: |
Fri, 10 May 2013 18:32:11 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
Leo Alekseyev <address@hidden> writes:
> I've brought this up before, but I think there's value in SRC blocks
> /not/ being indented, and in fact, I would love it if there were a way
> to make the contents of the SRC blocks / not/ be indented (as opposed
> to the default 2 space offset). Whitespace often matters,
> particularly when working with Python, and every now and then I find
> myself having to manually delete the extra spacing when pasting code
> into the Python interpreter. Other times I want to paste code
> snippets from SRC blocks into source files -- again, indentation gets
> in the way. I agree that it's aesthetically appealing, but my
> workflow would be easier without it.
>
> --Leo
>
Does this help?
,----
| org-edit-src-content-indentation is a variable defined in `org-src.el'.
| Its value is 2
|
| Documentation:
| Indentation for the content of a source code block.
| This should be the number of spaces added to the indentation of the #+begin
| line in order to compute the indentation of the block content after
| editing it with M-x org-edit-src-code. Has no effect if
| `org-src-preserve-indentation' is non-nil.
`----
--
Nick