From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Babel blocks not indented Date: Fri, 10 May 2013 18:32:11 -0400 Message-ID: <87d2syo49g.fsf@pierrot.dokosmarshall.org> References: <87d2t24swa.fsf@free.fr> <878v3qsldc.fsf@gmail.com> <87wqra31ie.fsf@free.fr> <87fvxvh5md.fsf@adboyd.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:60147) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UavrV-00074z-SU for emacs-orgmode@gnu.org; Fri, 10 May 2013 18:32:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UavrU-0005RM-Ut for emacs-orgmode@gnu.org; Fri, 10 May 2013 18:32:25 -0400 Received: from plane.gmane.org ([80.91.229.3]:42116) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UavrU-0005RC-Of for emacs-orgmode@gnu.org; Fri, 10 May 2013 18:32:24 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UavrT-0006fX-Oh for emacs-orgmode@gnu.org; Sat, 11 May 2013 00:32:23 +0200 Received: from pool-108-7-96-134.bstnma.fios.verizon.net ([108.7.96.134]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 11 May 2013 00:32:23 +0200 Received: from ndokos by pool-108-7-96-134.bstnma.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 11 May 2013 00:32:23 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Leo Alekseyev 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