From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anupam Sengupta Subject: Orgmode 8.0.2: Possible bug in `org-insert-heading` when invoked at end of a heading with a property Date: Mon, 29 Apr 2013 19:41:43 -0400 Message-ID: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:53585) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UWxhh-0005p8-R7 for emacs-orgmode@gnu.org; Mon, 29 Apr 2013 19:41:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UWxhg-000283-VI for emacs-orgmode@gnu.org; Mon, 29 Apr 2013 19:41:53 -0400 Received: from mail-ia0-x234.google.com ([2607:f8b0:4001:c02::234]:61482) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UWxhg-00027B-Nn for emacs-orgmode@gnu.org; Mon, 29 Apr 2013 19:41:52 -0400 Received: by mail-ia0-f180.google.com with SMTP id t4so5031286iag.25 for ; Mon, 29 Apr 2013 16:41:51 -0700 (PDT) Received: from Anupams-MacBook-Pro.local (dynamic-acs-24-101-168-157.zoominternet.net. [24.101.168.157]) by mx.google.com with ESMTPSA id w8sm5339065igl.9.2013.04.29.16.41.49 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Mon, 29 Apr 2013 16:41:50 -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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hello fellow Orgmode users, Have installed orgmode 8.0.2 last night, and loving it so far. Facing one issue (or change in behavior) though. This is on Emacs 24.3. Looks like M-RET (`org-insert-heading`), and it's equivalent M-S-RET (`org-insert-todo-heading`) are behaving a little erratically when invoked from the _end_ of a heading that has a property drawer. An example will perhaps help: With a heading _without_ any property drawer, such as: *** A Heading ^ ^ Beginning End If I invoke M-S-RET at the beginning or end of the heading, then I get the expected behavior, where I get a new item created as: *** <----- This is created if invoked from the _beginning_ of the line *** A Heading <----- The original heading *** <----- And this is created if invoked from the _end_ of the line However, if there is a _drawer_ on the heading, then the behavior when M-RET is invoked from the _end_ of the line is: *** A Heading with a Drawer :PROPERTIES: :CATEGORY: TEST :END: *** <----- The second item's outline ^^^ Note that the second item's outline got indented, and has leading spaces (indented?) This is inconsistent with the behavior in earlier versions of Orgmode. Not sure if this is a bug (since there seems to be new functionality such as C-u C-u M-RET to add a new item at end of the parent's subtree in version 8.0). Thanks, -- Anupam