emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Mark Edgington <edgimar@gmail.com>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: Babel blocks get unindented when making changes outside the blocks
Date: Sat, 14 Feb 2015 12:52:39 +0100	[thread overview]
Message-ID: <877fvku2uw.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <CAMsBe8qF6DdD8epTd-yYmdYEnR9=9GNNbi9jFU-2ZGfNy2ZdGw@mail.gmail.com> (Mark Edgington's message of "Fri, 13 Feb 2015 11:46:45 -0500")

Hello,

Mark Edgington <edgimar@gmail.com> writes:

> Given the following code:
> ----- BEGIN CODE -----
> * some headline
> - blah
>   - blah
>     - blah
>   - blah
>     - blah
>     #+begin_src octave
>         first line
>
>         if (num <= 2)
>             stuff
>         end
>     #+end_src
>
> - blah
>   # some comments
>   #       more comments
>   1. item 1
> ----- END CODE -----
>
> If I go to the end of the 'item 1' line, and do 'M-x org-meta-return',
> the code in the preceding source-block gets un-indented, so that it
> looks like:
>
>     #+begin_src octave
>     first line
>
>     if (num <= 2)
>     stuff
>     end
>     #+end_src

This should be fixed. Thank you.


Regards,

-- 
Nicolas Goaziou

      reply	other threads:[~2015-02-14 11:51 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-13 16:46 Babel blocks get unindented when making changes outside the blocks Mark Edgington
2015-02-14 11:52 ` Nicolas Goaziou [this message]

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=877fvku2uw.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=edgimar@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).