emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Bug: org-list-make-subtree produces incorrect level [9.2.3 (9.2.


From: Nicolas Goaziou
Subject: Re: [O] Bug: org-list-make-subtree produces incorrect level [9.2.3 (9.2.3-20-g31873e-elpaplus @ /home/felix/.emacs.d/elpa/org-plus-contrib-20190527/)]
Date: Mon, 10 Jun 2019 00:20:44 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux)

Hello,

Felix Wiemuth <address@hidden> 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

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