[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Bug: org-edit-special does not indent the blank line after exit
From: |
Nicolas Goaziou |
Subject: |
Re: [O] Bug: org-edit-special does not indent the blank line after exit editing [9.0.3 (9.0.3-elpa @ /Users/Yomisuko/.emacs.d/elpa/org-20161224/)] |
Date: |
Fri, 06 Jan 2017 17:31:28 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) |
Hello,
Jiajian Huang <address@hidden> writes:
> Reproduce steps:
>
> Launch emacs by `emacs -Q`, eval the following snippet(assumed org 9.x
> is installed via elpa)
>
> (package-initialize)
> (require 'org)
>
> open a org buffer, input the source by <s and type `python`
>
> #+BEGIN_SRC python
>
> #+END_SRC
>
> use C-c ' to edit the block and input
>
> for i in range(10): # input this line and <enter>
> # there are 4 spaces before the '#' now
>
> use C-c ' to close the source block buffer and back to org-mode, we can
> see the first line of the block is indented 2 spaces by org while the blank
> line
> isn't.
This is not a bug. See `org-src-preserve-indentation'.
Regards,
--
Nicolas Goaziou