[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] Re: Strange behavior of M-RET with new list improvements

From: Nicolas Goaziou
Subject: [Orgmode] Re: Strange behavior of M-RET with new list improvements
Date: Tue, 07 Sep 2010 19:11:33 +0200
User-agent: Wanderlust/2.15.9 (Almost Unreal) Emacs/23.2 Mule/6.0 (HANACHIRUSATO)

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


-- Nicolas

reply via email to

[Prev in Thread] Current Thread [Next in Thread]