emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <ndokos@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: editing orgmode code blocks always indents content..anyway to stop this?
Date: Tue, 31 Jan 2017 10:15:10 -0500	[thread overview]
Message-ID: <87zii745xd.fsf@gmail.com> (raw)
In-Reply-To: CAOQHXPpx1iRUpR87U5SYVS3cn7KN8qqhszyZ4usEo6phzRJwKA@mail.gmail.com

Xebar Saram <zeltakc@gmail.com> writes:

> On Tue, Jan 31, 2017 at 9:53 AM, Nicolas Goaziou <mail@nicolasgoaziou.fr> 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

  parent reply	other threads:[~2017-01-31 18:11 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-31  6:36 editing orgmode code blocks always indents content..anyway to stop this? Xebar Saram
2017-01-31  7:53 ` Nicolas Goaziou
2017-01-31  7:57   ` Xebar Saram
2017-01-31  8:06     ` Nicolas Goaziou
2017-01-31 15:15     ` Nick Dokos [this message]
2017-02-04  9:41       ` Xebar Saram

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=87zii745xd.fsf@gmail.com \
    --to=ndokos@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).