From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Insert subheading at top respect content Date: Fri, 16 Aug 2019 11:03:36 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000eddd5b059038449c" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:55347) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1hyY9K-0000oH-SK for emacs-orgmode@gnu.org; Fri, 16 Aug 2019 05:03:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hyY9J-0006uS-Ti for emacs-orgmode@gnu.org; Fri, 16 Aug 2019 05:03:54 -0400 Received: from mail-ed1-f43.google.com ([209.85.208.43]:32946) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hyY9J-0006tt-N1 for emacs-orgmode@gnu.org; Fri, 16 Aug 2019 05:03:53 -0400 Received: by mail-ed1-f43.google.com with SMTP id s15so4549993edx.0 for ; Fri, 16 Aug 2019 02:03:53 -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: Nathan Neff Cc: emacs-orgmode --000000000000eddd5b059038449c Content-Type: text/plain; charset="UTF-8" On Fri, Aug 16, 2019 at 10:21 AM Nathan Neff wrote: > 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. > What about C-c C-n M-RET Carsten > > Thanks, > --Nate > --000000000000eddd5b059038449c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


Carsten
=C2=A0

Thanks,
--= Nate
--000000000000eddd5b059038449c--