From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Problem with org-insert-heading on multi-line items? Date: Sun, 2 Jun 2013 19:42:34 +0200 Message-ID: References: Mime-Version: 1.0 (Mac OS X Mail 6.3 \(1503\)) Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44050) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UjCIh-0000rU-6o for emacs-orgmode@gnu.org; Sun, 02 Jun 2013 13:42:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UjCIg-0007QQ-8S for emacs-orgmode@gnu.org; Sun, 02 Jun 2013 13:42:39 -0400 Received: from mail-we0-x230.google.com ([2a00:1450:400c:c03::230]:51580) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UjCIg-0007QK-2Q for emacs-orgmode@gnu.org; Sun, 02 Jun 2013 13:42:38 -0400 Received: by mail-we0-f176.google.com with SMTP id t61so1054951wes.7 for ; Sun, 02 Jun 2013 10:42:37 -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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Tom Davey Cc: Emacs Org mode mailing list Hi Tom, I believe this issue no longer exists in the current master, it was = fixed a while ago. Could you please confirm? - Carsten On 25.5.2013, at 20:53, Tom Davey wrote: > Hi folks, >=20 > I'm using Org 8.0.3 and Emacs 24.3.1. >=20 > I noticed with interest this note in the Org 8.0 release notes: >=20 > "When a list item has a checkbox, inserting a new item uses a checkbox > too." >=20 > I'm finding, however, that Org will in many cases insert a new > checkbox even if the current item has none. Specifically, invoking > org-insert-heading on the second or subsequent lines of a multi-line = item > will create a new checkbox item every time, whether the current > item has a checkbox or not. To illustrate: >=20 > 1. org-insert-heading invoked here creates a new plain item > 2. org-insert-heading invoked on this second item does the same > 3. However, org-insert-heading, invoked on the SECOND line of this > creates a following checkbox item: > 4. [ ] >=20 > However, invoking org-insert-heading on the first line of a multi-line > item creates new items of the correct type, checkbox or not. So it > seems like the first line is determinative. >=20 > May I ask if anybody else is seeing this behavior? Is it as designed? >=20 > Regards, > Tom Davey >=20 > -- > Tom Davey > tom@tomdavey.com > New York NY USA >=20