emacs-orgmode
[Top][All Lists]
Advanced

[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: Sat, 07 Jan 2017 12:21:45 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)

Hello,

Jiajian Huang <address@hidden> writes:

> If it is `nil`, why inserting 2 leading spaces to the code in the org
> buffer except the line containing only spaces?

Probably because empty lines are not meaningful anyway. We probably
should go further and remove all spaces in empty lines.

> How can I get
>
> #+BEGIN_SRC python
>     a = 1
>     b = 2
>     for i in range(10):
>         # 6 spaces before '#'
> #+END_SRC
>
> after exit `org-edit-special` ?

You cannot obtain the last empty line. I don't understand why would you
want that either. It is only a TAB away from an empty line.


Regards,

-- 
Nicolas Goaziou



reply via email to

[Prev in Thread] Current Thread [Next in Thread]