From: Eric S Fraga <e.fraga@ucl.ac.uk>
To: John Hendy <jw.hendy@gmail.com>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: M-x fill-region equivalent for lists?
Date: Thu, 19 Sep 2013 20:15:09 +0100 [thread overview]
Message-ID: <871u4kpqrm.fsf@ucl.ac.uk> (raw)
In-Reply-To: <CA+M2ft-J6L8mmcduvTqRrW47Jpd3GhRFPKJoeqJEbnRR11_=hg@mail.gmail.com> (John Hendy's message of "Thu, 19 Sep 2013 10:48:10 -0500")
John Hendy <jw.hendy@gmail.com> 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
next prev parent reply other threads:[~2013-09-19 19:15 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-18 1:49 M-x fill-region equivalent for lists? John Hendy
2013-09-18 9:15 ` Eric S Fraga
2013-09-18 15:31 ` John Hendy
2013-09-19 14:54 ` Eric S Fraga
2013-09-19 15:48 ` John Hendy
2013-09-19 19:15 ` Eric S Fraga [this message]
2013-09-18 15:32 ` John Hendy
2013-09-18 17:06 ` Nick Dokos
2013-09-19 14:48 ` [OT] mail followup to (was Re: M-x fill-region equivalent for lists?) Eric S Fraga
2013-09-19 15:40 ` John Hendy
2013-09-19 19:07 ` Eric S Fraga
2013-09-19 19:38 ` John Hendy
2013-09-20 11:18 ` Sebastien Vauban
2013-09-23 18:52 ` Eric S Fraga
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=871u4kpqrm.fsf@ucl.ac.uk \
--to=e.fraga@ucl.ac.uk \
--cc=emacs-orgmode@gnu.org \
--cc=jw.hendy@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).