emacs-devel
[Top][All Lists]
Advanced

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

Re: Filling and indentation, please document


From: Robert J. Chassell
Subject: Re: Filling and indentation, please document
Date: Mon, 14 Dec 2009 11:10:40 -0500

    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                          
    address@hidden                                 address@hidden
    http://www.rattlesnake.com                  http://www.teak.cc




reply via email to

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