Hello,

Felix Wiemuth <felixwiem...@hotmail.de> writes:

> In some situations, org-list-make-subtree does not create the tree at
> the desired level. For example, in the following case, when executing
> the command on the first list element, the resulting level is 3 instead
> of 2:
>
> * L1
>   - List Item
> ** L2
>
> The result is:
>
> * L1
> *** List Item
> ** L2
>
> Expected result (as in most situations):
>
> * L1
> ** List Item
> ** L2
>
> The last item (L2) is necessary for this to happen, whether the list has 
> multiple items or
> subitems does not matter. The identation of the list item does not
> matter either.
>
> The same happens in deeper levels:
>
> * L1
> ** L2a
> ** L2b
>    - List Item
> *** L3
>
> It seems that the resulting tree is always put one level deeper than a
> (deeper) heading following without a newline. Maybe this was intended
> but it feels unintuitive to me.
>
> * L1
>   - List Item
> *** L3
>
> results in
>
> * L1
> **** List Item
> *** L3
>
> but
>
> * L1
>   - List Item
>
> *** L3
>
> results in
>
> * L1
> ** List Item
>
> *** L3
>
> I think I also observed a case where the resulting level was 2 instead
> of 4, so the other way round, but unfortunately I cannot reproduce it.

I think this is now fixed in master.

Thank you.

Regards,

-- 
Nicolas Goaziou

Reply via email to