From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: bob@gnu.org (Robert J. Chassell) Newsgroups: gmane.emacs.devel Subject: Re: Filling and indentation, please document Date: Mon, 14 Dec 2009 11:10:40 -0500 Message-ID: References: NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1260807970 20650 80.91.229.12 (14 Dec 2009 16:26:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 14 Dec 2009 16:26:10 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 14 17:26:02 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NKDhq-00050x-Ch for ged-emacs-devel@m.gmane.org; Mon, 14 Dec 2009 17:23:30 +0100 Original-Received: from localhost ([127.0.0.1]:59725 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NKDhp-00053m-Kz for ged-emacs-devel@m.gmane.org; Mon, 14 Dec 2009 11:23:29 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NKDVX-0006h6-66 for emacs-devel@gnu.org; Mon, 14 Dec 2009 11:10:48 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NKDVR-0006fV-Q5 for emacs-devel@gnu.org; Mon, 14 Dec 2009 11:10:46 -0500 Original-Received: from [199.232.76.173] (port=46615 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NKDVQ-0006fE-Ly for emacs-devel@gnu.org; Mon, 14 Dec 2009 11:10:40 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]:58672) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NKDVQ-0008WV-8z for emacs-devel@gnu.org; Mon, 14 Dec 2009 11:10:40 -0500 Original-Received: from bob by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1NKDVQ-0006WN-1d for emacs-devel@gnu.org; Mon, 14 Dec 2009 11:10:40 -0500 In-reply-to: (message from Lennart Borgman on Mon, 14 Dec 2009 14:52:18 +0100) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:118617 Archived-At: 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