Re: [FR] Aligning paragraphs in lists

2023-08-28 Thread Ihor Radchenko
Maske  writes:

> Could be used M-right or M-left to align paragraphs which are 
> immediately below a list?
> ...
> If there are subitems, the text could be needed to be aligned below a 
> superior item, and this must be done in a manual way:
> + Item 1
>    Text indented, belongs to Item 1.
>     - Item 2
>   Text indented, belongs to Item 2.
>    This paragraph is aligned below Item 1, but I think there is too much 
> "friction" to achieve this. And the alignment would be different if the 
> bullet was "1)"

I do not like the idea of changing the behavior of M-/ -
users used to current behavior might be surprised.

But otherwise the feature would be reasonable.
We can make repeated  (indentation) change the current paragraph
indentation in the parent lists. Similar to what we do for new headings:

‘’ (‘org-cycle’)
 In a new entry with no text yet, the first ‘’ demotes the
 entry to become a child of the previous one.  The next ‘’
 makes it a parent, and so on, all the way to top level.  Yet
 another ‘’, and you are back to the initial level.

Patches welcome!

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at .
Support Org development at ,
or support my work at 




[FR] Aligning paragraphs in lists

2023-08-27 Thread Maske
Could be used M-right or M-left to align paragraphs which are 
immediately below a list?


In a list, if pressing Enter, the next paragraph is aligned below the 
item of the list:

+ Item 1
  Text indented, belongs to Item 1.

If there are subitems, the text could be needed to be aligned below a 
superior item, and this must be done in a manual way:

+ Item 1
  Text indented, belongs to Item 1.
   - Item 2
 Text indented, belongs to Item 2.
  This paragraph is aligned below Item 1, but I think there is too much 
"friction" to achieve this. And the alignment would be different if the 
bullet was "1)"



Best regards