From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Moving from org-mode 6.33/7.9.3 to 8.3.2 Date: Mon, 30 Nov 2015 15:53:34 +0100 Message-ID: <87lh9fles1.fsf@nicolasgoaziou.fr> References: <87two4lbw6.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53450) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a3Pnu-0000cW-DP for emacs-orgmode@gnu.org; Mon, 30 Nov 2015 09:51:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a3Pnt-0000q2-9x for emacs-orgmode@gnu.org; Mon, 30 Nov 2015 09:51:46 -0500 Received: from relay4-d.mail.gandi.net ([2001:4b98:c:538::196]:34535) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a3Pnt-0000pw-3r for emacs-orgmode@gnu.org; Mon, 30 Nov 2015 09:51:45 -0500 In-Reply-To: (Steve Moreau's message of "Mon, 30 Nov 2015 08:05:03 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Steve Moreau Cc: emacs-orgmode@gnu.org Hello, Steve Moreau 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