From: bob@gnu.org (Robert J. Chassell)
To: emacs-devel@gnu.org
Subject: Re: Filling and indentation, please document
Date: Mon, 14 Dec 2009 11:10:40 -0500 [thread overview]
Message-ID: <E1NKDVQ-0006WN-1d@fencepost.gnu.org> (raw)
In-Reply-To: <e01d8a50912140552t49234b69m263408cbf3b3f6a3@mail.gmail.com> (message from Lennart Borgman on Mon, 14 Dec 2009 14:52:18 +0100)
There is a very nice feature of fill-paragraph that let you fill like this:
- This part will be filled
and indented. Very nice.
But how to you do to make it fill this way? Is it documented?
See (emacs)Adaptive Fill
which is part of (emacs)Filling and is called
29.5.4 Adaptive Filling
Among other things, the documentation says
... The decision is complicated because there are three
reasonable things to do in such a case:
* Use the first line's prefix on all the lines of the paragraph.
* Indent subsequent lines with whitespace, so that they line up
under the text that follows the prefix on the first line, but
don't actually copy the prefix from the first line.
* Don't do anything special with the second and following lines.
All three of these styles of formatting are commonly used. So the
fill commands try to determine what you would like, based on the prefix
that appears and on the major mode.
--
Robert J. Chassell
bob@gnu.org bob@rattlesnake.com
http://www.rattlesnake.com http://www.teak.cc
next prev parent reply other threads:[~2009-12-14 16:10 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-14 13:52 Filling and indentation, please document Lennart Borgman
2009-12-14 16:10 ` Robert J. Chassell [this message]
2009-12-14 16:16 ` Drew Adams
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.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E1NKDVQ-0006WN-1d@fencepost.gnu.org \
--to=bob@gnu.org \
--cc=emacs-devel@gnu.org \
/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.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).