From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jacob Gerlach Newsgroups: gmane.emacs.help Subject: Re: fill-paragraph with pre and postfix Date: Wed, 5 Nov 2014 07:18:07 -0500 Message-ID: References: <87fvdxvpq0.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1415189917 17934 80.91.229.3 (5 Nov 2014 12:18:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 5 Nov 2014 12:18:37 +0000 (UTC) To: help-gnu-emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Nov 05 13:18:29 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XlzXg-0006mp-EB for geh-help-gnu-emacs@m.gmane.org; Wed, 05 Nov 2014 13:18:28 +0100 Original-Received: from localhost ([::1]:45991 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XlzXf-0004vr-Ki for geh-help-gnu-emacs@m.gmane.org; Wed, 05 Nov 2014 07:18:27 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37653) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XlzXQ-0004vD-CK for help-gnu-emacs@gnu.org; Wed, 05 Nov 2014 07:18:13 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XlzXL-0002Gl-PN for help-gnu-emacs@gnu.org; Wed, 05 Nov 2014 07:18:12 -0500 Original-Received: from mail-qc0-x22b.google.com ([2607:f8b0:400d:c01::22b]:34974) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XlzXL-0002Gd-Ke for help-gnu-emacs@gnu.org; Wed, 05 Nov 2014 07:18:07 -0500 Original-Received: by mail-qc0-f171.google.com with SMTP id m20so395394qcx.30 for ; Wed, 05 Nov 2014 04:18:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=rg8dCmghMR/noCeA0PYJ327eImembgGV8nvx3HB2Zdg=; b=CuI53XjIOIDGCxKDpU5I+ZM9IsMjqcAwgoF+a0b3ZkBJqNlS5ZwqfTHLVhaMvm9Hii hbp24TJjK+BETnWsihjvjX14HE29GYD0lxr24DIaxY0q6TPkB3w8+a1vlNQYkQbISBj5 zQXoTiwgsZsj11Nn7RH5pr/mDK/ZbQWA+tvKO/T7pnERDbeNiSoBGfD5ortbz841D/7r FMDbmeFF/DMpw0Irh0/iUM/SnW6Bz3xeygqX3QUqL84/qd01tzEaj7GSLHHxlHqKS/f9 U6VxGDADOYE5g5l95dGu8rWVRTwvIPK2k061w76Blha99vnPDY2RcrppNO8YhmDaroRT 8q5g== X-Received: by 10.140.84.177 with SMTP id l46mr81108166qgd.100.1415189887158; Wed, 05 Nov 2014 04:18:07 -0800 (PST) Original-Received: by 10.229.36.7 with HTTP; Wed, 5 Nov 2014 04:18:07 -0800 (PST) Original-Received: by 10.229.36.7 with HTTP; Wed, 5 Nov 2014 04:18:07 -0800 (PST) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400d:c01::22b X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:100762 Archived-At: ---------- Forwarded message ---------- From: "Jacob Gerlach" Date: Nov 5, 2014 7:17 AM Subject: Re: fill-paragraph with pre and postfix To: "Alexis" Cc: On Nov 5, 2014 6:42 AM, "Alexis" wrote: > > > Jacob Gerlach writes: > > > A project I'm working on uses a handling function for some command line > > documentation: > > > > blk(" I want to format my documentation like this. "); > > > > In order to match the convention for our project, it should include the two > > leading spaces and be filled with spaces out to column 70. > > Will the text that gets padded with spaces always be less than 70 > columns in total? No, the idea is to use this function on a paragraph of text and have it broken into appropriately sized lines and then wrapped with the format function. Something akin to fill paragraph. > > > Alexis. >