emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [FR] Aligning paragraphs in lists


From: Ihor Radchenko
Subject: Re: [FR] Aligning paragraphs in lists
Date: Mon, 28 Aug 2023 09:31:08 +0000

Maske <maske1foro@gmail.com> 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-<left>/<right> -
users used to current behavior might be surprised.

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

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

Patches welcome!

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>




reply via email to

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