all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Bug: ordered lists after unordered
@ 2010-10-19 15:29 Richard Lawrence
  2010-10-21 11:42 ` Nicolas Goaziou
  0 siblings, 1 reply; 3+ messages in thread
From: Richard Lawrence @ 2010-10-19 15:29 UTC (permalink / raw)
  To: emacs-orgmode

Hello all, 

I think I've found a bug with the way org-meta-return behaves. I
occasionally need to follow an unordered list by an ordered list,
without any intervening text.  For example:

* Some heading
  - unordered
  - unordered
  - unordered

  1) ordered

I normally use M-<return> (org-meta-return) to add a new item to a list.
But in this kind of situation, using M-<return> to insert the next
ordered list item displays the message "Not in an item" and modifies the
above lists to look like this:

* Some heading
  1  - unordered
  - unordered
  - unordered

  1) ordered

  1)

And point ends up after the first "1", before the first "-" in the
unordered list.

(If the ordered and unordered lists are reversed, M-<return> doesn't act
quite so strangely, though it does convert any items in the unordered
list into ordered list items.  This might be a feature; but it's not the
behavior I personally would prefer.)

I am using Org version 7.01trans.

Thanks!

Best,
Richard Lawrence

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

* Re: Bug: ordered lists after unordered
  2010-10-19 15:29 Bug: ordered lists after unordered Richard Lawrence
@ 2010-10-21 11:42 ` Nicolas Goaziou
  2010-10-21 15:44   ` Richard Lawrence
  0 siblings, 1 reply; 3+ messages in thread
From: Nicolas Goaziou @ 2010-10-21 11:42 UTC (permalink / raw)
  To: Richard Lawrence; +Cc: emacs-orgmode

Hello,

>>>>> Richard Lawrence writes:

> I think I've found a bug with the way org-meta-return behaves. I
> occasionally need to follow an unordered list by an ordered list,
> without any intervening text. For example:

> * Some heading 
>   - unordered
>   - unordered
>   - unordered
>
>   1) ordered

> I am using Org version 7.01trans.

This behavior has been fixed in development version of Org mode. You
may upgrade.

By the way, please note that, by default, you now need to insert two
blank lines to separate lists (that is unless you set
`org-empty-line-terminates-plain-lists' to t).

Regards,

-- Nicolas

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

* Re: Bug: ordered lists after unordered
  2010-10-21 11:42 ` Nicolas Goaziou
@ 2010-10-21 15:44   ` Richard Lawrence
  0 siblings, 0 replies; 3+ messages in thread
From: Richard Lawrence @ 2010-10-21 15:44 UTC (permalink / raw)
  To: Nicolas Goaziou; +Cc: emacs-orgmode

Hi Nicolas,

Thanks for getting back to me.

>> I think I've found a bug with the way org-meta-return behaves. I
>> occasionally need to follow an unordered list by an ordered list,
>> without any intervening text. For example:
>
>> * Some heading 
>>   - unordered
>>   - unordered
>>   - unordered
>>
>>   1) ordered
>
>> I am using Org version 7.01trans.
>
> This behavior has been fixed in development version of Org mode. You
> may upgrade.

Great!  Pulling from git fixed this issue for me.

> By the way, please note that, by default, you now need to insert two
> blank lines to separate lists (that is unless you set
> `org-empty-line-terminates-plain-lists' to t).

Thanks for the tip!

Best,
Richard

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

end of thread, other threads:[~2010-10-21 15:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-19 15:29 Bug: ordered lists after unordered Richard Lawrence
2010-10-21 11:42 ` Nicolas Goaziou
2010-10-21 15:44   ` Richard Lawrence

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.