From mboxrd@z Thu Jan 1 00:00:00 1970 From: Noorul Islam K M Subject: Re: org-insert-heading and inline tasks Date: Fri, 15 Oct 2010 11:15:59 +0530 Message-ID: <87sk0857qg.fsf@noorul.maa.corp.collab.net> References: <877hhklk5c.fsf@fastmail.fm> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=60601 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P6d90-0007TM-5J for emacs-orgmode@gnu.org; Fri, 15 Oct 2010 01:47:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P6d8z-0000dr-1k for emacs-orgmode@gnu.org; Fri, 15 Oct 2010 01:47:54 -0400 Received: from mail-gw0-f41.google.com ([74.125.83.41]:49352) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P6d8y-0000da-VD for emacs-orgmode@gnu.org; Fri, 15 Oct 2010 01:47:52 -0400 Received: by gwj21 with SMTP id 21so273854gwj.0 for ; Thu, 14 Oct 2010 22:47:51 -0700 (PDT) In-Reply-To: <877hhklk5c.fsf@fastmail.fm> (Matt Lundin's message of "Thu, 14 Oct 2010 14:11:11 -0400") 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: Matt Lundin Cc: Org Mode Matt Lundin writes: > Hi Carsten, > > The following commit changes the behavior of org-insert-heading within > the context of inline tasks: > > 19d695ef8fd27ac1b1ef1b675c3960b9b7d6abdc > > I find that new headlines are no longer inserted at the same depth as > inline tasks. A quick skim of the diff suggests that this is the > intended behavior. While I understand that one would not normally want a > new headline to derive its depth from an inline task further up in the > subtree, I often enter a few inline tasks at the same depth in quick > succession, e.g., when creating a mini project-hierarchy from a single > inline task. > > Take the following example: > > * My big writing project > > Blah blah blah blah blah blah. > > *************** PROJECT Add some variety to the above > **************** TODO Look up synonyms for blah > > Blah blah blah blah blah blah blah. > > If I hit M-RET at the beginning of the second TODO headline, I get the > following: > > * My big writing project > > Blah blah blah blah blah blah. > > *************** PROJECT Add some variety to the above > * > > **************** TODO Look up synonyms for blah > > Blah blah blah blah blah blah blah. But this is what I get * My big writing project Blah blah blah blah blah blah. *************** PROJECT Add some variety to the above **************** I go this one when I hit M-RET at the beginning of line **************** TODO Look up synonyms for blah **************** I go this one when I hit M-RET at the end of line I have Org-mode version 7.01trans (release_7.01h.661.g6803) GNU Emacs 23.1.1 (i686-pc-linux-gnu, GTK+ Version 2.12.12) of 2010-01-30 on noorul Thanks and Regards Noorul