From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Jiajian Huang <ispinfx@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: 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 [thread overview]
Message-ID: <878tqo176n.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <CAMWOVxm1iJgw8ShAsXyOTtxfcgX6+A10mqvmdYFcLfx8CBe-Sg@mail.gmail.com> (Jiajian Huang's message of "Fri, 6 Jan 2017 22:29:50 +0800")
Hello,
Jiajian Huang <ispinfx@gmail.com> 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
next prev parent reply other threads:[~2017-01-06 16:31 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-06 14:29 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/)] Jiajian Huang
2017-01-06 14:31 ` Jiajian Huang
2017-01-06 16:31 ` Nicolas Goaziou [this message]
2017-01-07 7:09 ` Jiajian Huang
2017-01-07 11:21 ` Nicolas Goaziou
2017-01-07 12:48 ` Jiajian Huang
2017-01-07 15:16 ` Nicolas Goaziou
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=878tqo176n.fsf@nicolasgoaziou.fr \
--to=mail@nicolasgoaziou.fr \
--cc=emacs-orgmode@gnu.org \
--cc=ispinfx@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).