Hello,
>>>>> Anthony Lander writes:

> Firstly, if I have a construct like this:

> <-------------
> *** Some heading
>       - Bullet
>       - Bullet
>       - Bullet |
> <-------------

> With the cursor at |, M-RET correctly adds another list item
> (indented, and started with -). But now there is no way to make a
> new heading with M-RET, except to terminate the list with a blank
> line, and then press M-RET (even though list followed immediately by
> headline is a valid terminated list). Previously, if the cursor was
> at the beginning of the line after the last bullet, M-RET would
> produce a new heading

As you said, the point is logically still in the list, so M-RET will
produce a new item. If you want to enforce a new heading there, you
can use C-u M-RET.

> The second problem is with folded headlines. Org mode behaves
> correctly, but the result is surprising for the user. If you have
> the headline above, but folded, with the cursor at the end of the
> line, like this:

> <------------- *** Some heading...| <-------------

> pressing RET to open a new line, followed by M-RET (presumably to
> make a new heading) results in the following:

> <------------- *** Some heading... - Bullet - | <-------------

I just sent a patch to maintainer about this. Thank you for reporting
this bug.

Regards,

-- Nicolas

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to