From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nathan Neff Subject: Insert subheading at top respect content Date: Fri, 16 Aug 2019 03:12:24 -0500 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000004b8f2a0590378dd4" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:47161) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1hyXLe-0006Un-TV for emacs-orgmode@gnu.org; Fri, 16 Aug 2019 04:12:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hyXLd-00065Q-S0 for emacs-orgmode@gnu.org; Fri, 16 Aug 2019 04:12:34 -0400 Received: from mail-io1-xd2f.google.com ([2607:f8b0:4864:20::d2f]:37017) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hyXLd-00064T-Mt for emacs-orgmode@gnu.org; Fri, 16 Aug 2019 04:12:33 -0400 Received: by mail-io1-xd2f.google.com with SMTP id q22so4567651iog.4 for ; Fri, 16 Aug 2019 01:12:32 -0700 (PDT) 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: emacs-orgmode --0000000000004b8f2a0590378dd4 Content-Type: text/plain; charset="UTF-8" Hello all, Something that's eluded me all this time has been an "Insert subheading, after the content, but before other subheadings" For example: If my cursor is anywhere between lines 1 and 4, I would like the subheading to be inserted at line 5. 1* Heading :PROPERTIES:... 2 Some content 3 More content 4 5** Subheading 1 6** Subheading 2 7 I know there's org-insert-subheading and C-u which respects content, but respect-content will insert a subheading at line 7 in the example above. I would like to have a new subheading at line 4. Thanks, --Nate --0000000000004b8f2a0590378dd4 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello all,

Something that= 9;s eluded me all this time has been an
"Insert subheading, = after the content, but before other subheadings"

<= div>For example:
If my cursor is anywhere between lines 1 and 4, = I would like the subheading
to be inserted at line 5.

1* Heading
:PROPERTIES:...
2 Some= content
3 More content
4
5** Subheading = 1
6** Subheading 2
7
I know there's o= rg-insert-subheading and C-u which respects content, but
respect-= content will insert a subheading at line 7 in the example above.=C2=A0 I wo= uld
like to have a new subheading at line 4.

Thanks,
--Nate
--0000000000004b8f2a0590378dd4--