From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: editing orgmode code blocks always indents content..anyway to stop this? Date: Tue, 31 Jan 2017 10:15:10 -0500 Message-ID: <87zii745xd.fsf@gmail.com> References: <871svjpsvk.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49530) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cYctd-0003hG-H8 for emacs-orgmode@gnu.org; Tue, 31 Jan 2017 13:11:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cYcta-0005IZ-Ad for emacs-orgmode@gnu.org; Tue, 31 Jan 2017 13:11:13 -0500 Received: from [195.159.176.226] (port=54964 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cYcta-0005I4-4l for emacs-orgmode@gnu.org; Tue, 31 Jan 2017 13:11:10 -0500 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1cYa9J-0006DN-A6 for emacs-orgmode@gnu.org; Tue, 31 Jan 2017 16:15:13 +0100 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" To: emacs-orgmode@gnu.org Xebar Saram writes: > On Tue, Jan 31, 2017 at 9:53 AM, Nicolas Goaziou wrote: > > org-edit-src-content-indentation > > thx Nicolas! > > i have this set in my config to '0' see here > > #+BEGIN_SRC emacs-lisp  :results none > ;; don't indent source code > org-edit-src-content-indentation 0 > ;; don't adapt indentation > org-adapt-indentation nil > ;; preserve the indentation inside of source blocks > org-src-preserve-indentation t > #+END_SRC > I don't understand what you are doing here: this is not lisp code, unless there is context that you are not telling us about. How exactly do you set it to 0 in your config? Also, have you checked that it is 0 at runtime? C-h v org-edit-src-content-indentation RET. -- Nick