emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Problem with org-insert-heading on multi-line items?
@ 2013-05-25 18:53 Tom Davey
  2013-06-02 17:42 ` Carsten Dominik
  0 siblings, 1 reply; 8+ messages in thread
From: Tom Davey @ 2013-05-25 18:53 UTC (permalink / raw)
  To: Emacs Org mode mailing list

Hi folks,

I'm using Org 8.0.3 and Emacs 24.3.1.

I noticed with interest this note in the Org 8.0 release notes:

"When a list item has a checkbox, inserting a new item uses a checkbox
too."

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:

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. [ ]

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.

May I ask if anybody else is seeing this behavior? Is it as designed?

Regards,
Tom Davey

--
Tom Davey
tom@tomdavey.com
New York NY USA

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2013-08-22 16:58 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-25 18:53 Problem with org-insert-heading on multi-line items? Tom Davey
2013-06-02 17:42 ` Carsten Dominik
2013-08-07  3:20   ` Tom Davey
2013-08-07  4:21     ` Nick Dokos
2013-08-07 15:16       ` Tom Davey
2013-08-07 16:39         ` Suvayu Ali
2013-08-08  6:41     ` Carsten Dominik
2013-08-22 16:57       ` Bernt Hansen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).