emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Xebar Saram <zeltakc@gmail.com>
Cc: org mode <emacs-orgmode@gnu.org>
Subject: Re: editing orgmode code blocks always indents content..anyway to stop this?
Date: Tue, 31 Jan 2017 08:53:51 +0100	[thread overview]
Message-ID: <871svjpsvk.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <CAOQHXPpMduZ1w3rNaOj8weG6qEe192peQ1E+xt9u4=hHgwJgBA@mail.gmail.com> (Xebar Saram's message of "Tue, 31 Jan 2017 08:36:24 +0200")

Hello,

Xebar Saram <zeltakc@gmail.com> writes:

> i have this weird behaviour where when sometime i edit org code blocks the
> text moves (i guess indents) automatically so i start with this
>
> #+BEGIN_SRC emacs-lisp  :results none
> (require 'gnus)
> (require 'nnir)
> #+END_SRC
>
>
>
> and the text switches automatically to this:
>
> #+BEGIN_SRC emacs-lisp  :results none
>     (require 'gnus)
>     (require 'nnir)
> #+END_SRC
>
>
> is there a setting to disable this?

See `org-edit-src-content-indentation'.

Regards,

-- 
Nicolas Goaziou

  reply	other threads:[~2017-01-31  7:54 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 [this message]
2017-01-31  7:57   ` Xebar Saram
2017-01-31  8:06     ` Nicolas Goaziou
2017-01-31 15:15     ` Nick Dokos
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=871svjpsvk.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=emacs-orgmode@gnu.org \
    --cc=zeltakc@gmail.com \
    /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).