From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kaushal Modi Subject: Re: Insert heading above current one Date: Fri, 29 Sep 2017 14:41:26 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="089e0828f9bca78002055a55050c" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43884) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dxwTz-0005MU-Lg for emacs-orgmode@gnu.org; Fri, 29 Sep 2017 10:41:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dxwTy-0000yD-8N for emacs-orgmode@gnu.org; Fri, 29 Sep 2017 10:41:39 -0400 Received: from mail-yw0-x232.google.com ([2607:f8b0:4002:c05::232]:43312) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dxwTy-0000xh-3C for emacs-orgmode@gnu.org; Fri, 29 Sep 2017 10:41:38 -0400 Received: by mail-yw0-x232.google.com with SMTP id s62so999603ywg.0 for ; Fri, 29 Sep 2017 07:41:37 -0700 (PDT) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Luciano Passuello , emacs-orgmode@gnu.org --089e0828f9bca78002055a55050c Content-Type: text/plain; charset="UTF-8" On Fri, Sep 29, 2017 at 10:14 AM Luciano Passuello 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 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 --089e0828f9bca78002055a55050c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Fri, Sep 29= , 2017 at 10:14 AM Luciano Passuello <lucianop@litemind.com> 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> p= age.

<= div>

= 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 reference= s.
--

Kaushal Modi

--089e0828f9bca78002055a55050c--