From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Insert heading above current one Date: Fri, 29 Sep 2017 21:55:09 +0200 Message-ID: <874lrlmg9u.fsf@nicolasgoaziou.fr> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38481) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dy1NT-0003XZ-Hc for emacs-orgmode@gnu.org; Fri, 29 Sep 2017 15:55:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dy1NS-00028q-F0 for emacs-orgmode@gnu.org; Fri, 29 Sep 2017 15:55:15 -0400 Received: from relay2-d.mail.gandi.net ([2001:4b98:c:538::194]:57665) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dy1NS-000289-6w for emacs-orgmode@gnu.org; Fri, 29 Sep 2017 15:55:14 -0400 In-Reply-To: (Kaushal Modi's message of "Fri, 29 Sep 2017 14:46:38 +0000") 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: Kaushal Modi Cc: Luciano Passuello , emacs-orgmode@gnu.org Hello, Kaushal Modi writes: > On Fri, Sep 29, 2017 at 10:41 AM Kaushal Modi > wrote: > >> 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. This is already the case. Latest commit message include links to lists.gnu.org. > To add, I also think that the earlier behavior made sense, if the point is > at bolp, insert before, else insert after. I think the current behaviour makes more sense, if the command is called with an universal argument. Indeed, what would be the point of using an universal argument if you get the exact same behaviour as without it? > But I never noticed this change as I > leave org-insert-heading-respect-content at its default value of nil. Out of curiosity is there any to set this variable to something else than nil? There are already comfortable keybindings to set this temporarily (C-RET and C-u M-RET). Why would one have M-RET to behave exactly as C-RET? And even if there was a good reason to do so, why not simply re-binding M-RET in that case? Regards, -- Nicolas Goaziou 0x80A93738