From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Jones Subject: Re: Correct Way to Create Sibling Headings Date: Sat, 13 Sep 2008 17:17:47 -0600 Message-ID: References: <86fxo6tmol.fsf@pmade.com> <450C45DF-D7D3-4460-8D91-CBE559CBA69C@uva.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KeeNW-0007Dz-Op for emacs-orgmode@gnu.org; Sat, 13 Sep 2008 19:18:10 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KeeNU-0007Dn-5N for emacs-orgmode@gnu.org; Sat, 13 Sep 2008 19:18:09 -0400 Received: from [199.232.76.173] (port=56791 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KeeNU-0007Dk-07 for emacs-orgmode@gnu.org; Sat, 13 Sep 2008 19:18:08 -0400 Received: from main.gmane.org ([80.91.229.2]:35388 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KeeNT-0005rZ-Nm for emacs-orgmode@gnu.org; Sat, 13 Sep 2008 19:18:07 -0400 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1KeeNQ-0005M7-Do for emacs-orgmode@gnu.org; Sat, 13 Sep 2008 23:18:04 +0000 Received: from c-67-177-235-141.hsd1.co.comcast.net ([67.177.235.141]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 13 Sep 2008 23:18:04 +0000 Received: from mlists by c-67-177-235-141.hsd1.co.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 13 Sep 2008 23:18:04 +0000 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Carsten Dominik writes: > M-RET and M-S-RET will remain the same, i.e. they will insert the > heading directly after the current line, therefore making any content > of the entry part of the new entry. I believe this still makes sense, > because it feels more like direct editing of the text file. In this > case, the idea is that if you want to insert the new heading after all > the content, you would first move the cursor to after the content. > > I am redefining C-RET and C-S-RET in the way you propose. The will > now also insert a new heading *before* the current if the cursor is at > the beginning of the line. And they will achieve the insertion > without folding siblings. > > Finally, I am introducing a new option `org-insert-heading-respect- > content', default nil. If you set this to t, M-RET and M-S-RET will > behave just like C-RET and C-S-RET, respectively, so in this way you > can make this behavior the default. Great! I can't wait to update and try this out. -- Peter Jones, http://pmade.com pmade inc. Louisville, CO US