[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] Babel blocks get unindented when making changes outside the blocks
From: |
Mark Edgington |
Subject: |
[O] Babel blocks get unindented when making changes outside the blocks |
Date: |
Fri, 13 Feb 2015 11:46:45 -0500 |
Hello all,
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 behavior has been confirmed by another via IRC, and supposedly
the problem lies somewhere in org-list-struct-apply-struct.
I just wanted to report this strange behavior in the hope that someone
might have an idea on how to remedy it.
Regards,
Mark
- [O] Babel blocks get unindented when making changes outside the blocks,
Mark Edgington <=