From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: M-x fill-region equivalent for lists? Date: Thu, 19 Sep 2013 20:15:09 +0100 Message-ID: <871u4kpqrm.fsf@ucl.ac.uk> References: <87a9ja4hio.fsf@ucl.ac.uk> <87hadgvp3z.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45990) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VMjhN-0007by-L5 for emacs-orgmode@gnu.org; Thu, 19 Sep 2013 15:15:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VMjhC-0001va-32 for emacs-orgmode@gnu.org; Thu, 19 Sep 2013 15:15:33 -0400 Received: from mail14-co1on0066.outbound.messaging.microsoft.com ([157.56.73.66]:18231 helo=CO1EHSNDR003.bigfish.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VMjhB-0001v3-Rq for emacs-orgmode@gnu.org; Thu, 19 Sep 2013 15:15:22 -0400 In-Reply-To: (John Hendy's message of "Thu, 19 Sep 2013 10:48:10 -0500") 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: John Hendy Cc: emacs-orgmode John Hendy writes: [...] > If I select/mark a paragraph, `M-x fill-region` produces paragraphs > that are identical to typing them in Org and letting the line run past > my setting for the fill-column width. So fill-region works identically > to Org; fill-paragraph does not. Yes. Fill-paragraph makes use of fill-paragraph-function which is normally nil but set to org-fill-paragraph when in org mode. org-fill-paragraph is quite long and I've only had a quick glance at the code. Fill-region doesn't seem to make use of that. To add to the confusion, there is also a function called fill-region-as-paragraph... but I've not played with it. -- : Eric S Fraga (0xFFFCF67D), Emacs 24.3.50.1, Org release_8.1.1-29-gc5f2ae