Hello, Steve Moreau <moreau.st...@free.fr> writes:
> Thanks for you answer. > OK, I understand. That explains why I needed to add blank lines between > list items before to fill region, such as: > > - item1 > > - item2 > > This is a new paragraph > > I have 2 more questions for you please. > Let say I would like to give a hand and try to improve the org-fill-region > to deal with this case. Actually, there is nothing to improve. It needs to be built from scratch. There is no function in Org to fill a region ATM. > - Would it be local to fill-region only, as I would suspect, or would it > put a mess around because it is used in some other contexts I am not aware > of, and would it be something interesting for the org-mode according > to you? I think we should bind M-q to org-fill-paragraph. This function could delegate the work to `org-fill-region' when a region is active. > - If you wanted to develop it, would you surround it with a when condition > so that user can disable it? Why would someone want to disable it? Regards, -- Nicolas Goaziou