[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Insert heading above current one

From: Kaushal Modi
Subject: Re: [O] Insert heading above current one
Date: Fri, 29 Sep 2017 14:41:26 +0000

On Fri, Sep 29, 2017 at 10:14 AM Luciano Passuello <address@hidden> wrote:
Hello everybody, first message here.

According to org-insert-heading documentation: "If point is at the
beginning of a heading, insert a new heading or a new headline above
the current one."

I like this behavior very much, and in orgmode 8.x, calling
org-insert-heading at the beginning of a line indeed creates a heading
before the current one, even when org-insert-heading-respect-content
is set.

For orgmode 9.x, this only works when org-insert-heading-respect-content is nil.
I find this annoying, because I like to have
org-insert-heading-respect-content non-nil AND to be able to insert a
heading before the current one.

Is that by design or a bug? I couldn't find any mention to the new
behavior in the Changes <http://orgmode.org/Changes.html> page.

Looks like this was an intended change: http://orgmode.org/cgit.cgi/org-mode.git/commit/?id=2b03e945a19701194e510791a96006c5eee9edc6

Related discussion: http://lists.gnu.org/archive/html/emacs-orgmode/2016-10/msg00080.html

PS: The commit message includes gmane.org links which are now dead. I think we should reference lists.gnu.org links (like above) for longevity of references.

Kaushal Modi

reply via email to

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