* Filling and indentation, please document
@ 2009-12-14 13:52 Lennart Borgman
2009-12-14 16:10 ` Robert J. Chassell
2009-12-14 16:16 ` Drew Adams
0 siblings, 2 replies; 3+ messages in thread
From: Lennart Borgman @ 2009-12-14 13:52 UTC (permalink / raw
To: Emacs-Devel devel
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? I used
to believe that putting point after "-" at "T" before calling
fill-paragraph made this happen, but that does not seem to be true now
(checked out 2009-12-04). Was I just dreaming that, or?
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Filling and indentation, please document
2009-12-14 13:52 Filling and indentation, please document Lennart Borgman
@ 2009-12-14 16:10 ` Robert J. Chassell
2009-12-14 16:16 ` Drew Adams
1 sibling, 0 replies; 3+ messages in thread
From: Robert J. Chassell @ 2009-12-14 16:10 UTC (permalink / raw
To: emacs-devel
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: Filling and indentation, please document
2009-12-14 13:52 Filling and indentation, please document Lennart Borgman
2009-12-14 16:10 ` Robert J. Chassell
@ 2009-12-14 16:16 ` Drew Adams
1 sibling, 0 replies; 3+ messages in thread
From: Drew Adams @ 2009-12-14 16:16 UTC (permalink / raw
To: 'Lennart Borgman', 'Emacs-Devel devel'
> 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? I used
> to believe that putting point after "-" at "T" before calling
> fill-paragraph made this happen, but that does not seem to be true now
> (checked out 2009-12-04). Was I just dreaming that, or?
Dunno if this is what you're talking about, and without reference to the latest
Emacs, it has been the case that if you have point on the second line, not the
first, and the second line is indented as you show, then hitting M-q indents
subsequent lines similarly.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-12-14 16:16 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-14 13:52 Filling and indentation, please document Lennart Borgman
2009-12-14 16:10 ` Robert J. Chassell
2009-12-14 16:16 ` Drew Adams
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.