emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] M-x fill-region equivalent for lists?


From: Eric S Fraga
Subject: Re: [O] M-x fill-region equivalent for lists?
Date: Thu, 19 Sep 2013 20:15:09 +0100
User-agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 (gnu/linux)

John Hendy <address@hidden> 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




reply via email to

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