From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: August Newsgroups: gmane.emacs.help Subject: Re: Controlling `fill-paragraph' Date: Mon, 31 Jan 2005 18:06:12 +0100 Message-ID: <1107191172.5404.6.camel@c83-250-201-122.bredband.comhem.se> References: <6dbd4d0005013107211d410150@mail.gmail.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1107192947 13318 80.91.229.6 (31 Jan 2005 17:35:47 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 31 Jan 2005 17:35:47 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jan 31 18:35:37 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CvfSa-0008E7-00 for ; Mon, 31 Jan 2005 18:35:36 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CvffK-0005eU-N2 for geh-help-gnu-emacs@m.gmane.org; Mon, 31 Jan 2005 12:48:46 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Cvfav-0004Jl-Qj for help-gnu-emacs@gnu.org; Mon, 31 Jan 2005 12:44:13 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Cvfat-0004JB-MP for help-gnu-emacs@gnu.org; Mon, 31 Jan 2005 12:44:13 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CvfXd-0002mD-0t for help-gnu-emacs@gnu.org; Mon, 31 Jan 2005 12:40:49 -0500 Original-Received: from [81.228.11.113] (helo=av7-1-sn1.fre.skanova.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Cvezd-000282-OU for help-gnu-emacs@gnu.org; Mon, 31 Jan 2005 12:05:42 -0500 Original-Received: by av7-1-sn1.fre.skanova.net (Postfix, from userid 502) id 3F45337E70; Mon, 31 Jan 2005 18:05:39 +0100 (CET) Original-Received: from smtp2-1-sn2.hy.skanova.net (smtp2-1-sn2.hy.skanova.net [81.228.8.177]) by av7-1-sn1.fre.skanova.net (Postfix) with ESMTP id 31EF637E50 for ; Mon, 31 Jan 2005 18:05:39 +0100 (CET) Original-Received: from c83-250-201-122.bredband.comhem.se (c83-250-201-122.bredband.comhem.se [83.250.201.122]) by smtp2-1-sn2.hy.skanova.net (Postfix) with ESMTP id 1FAA337E45 for ; Mon, 31 Jan 2005 18:05:39 +0100 (CET) Original-To: help-gnu-emacs@gnu.org In-Reply-To: <6dbd4d0005013107211d410150@mail.gmail.com> X-Mailer: Evolution 2.0.2 (2.0.2-3) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:23783 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:23783 On m=C3=A5n, 2005-01-31 at 10:21 -0500, Denis Bueno wrote: > Is there a way to control just how `fill-paragraph' works? >=20 > I was just editing a lisp function whose documentation string is: >=20 > "Create a perceptron learner. Returns a net of one node, i.e., a > perceptron. ;; <=3D this line >=20 > EXAMPLES =3D> (#(x_1 ... x_n) y) > ACTIVATION-FN =3D> #'sigmoid (for example) > WEIGHT-VECTOR =3D> #(w_1 ... w_n) >=20 > If weight-vector is unspecified, each weight w_i will be randomly > chosen such that 0 < w_i < 0.25." >=20 > I put my cursor on the text marked by "this line" and hit M-q, which > resulted in the text changing to: >=20 > "Create a perceptron learner. Returns a net of one node, i.e., a perc= eptron. >=20 > EXAMPLES =3D> (#(x_1 ... x_n) y) ACTIVATION-FN =3D> > #'sigmoid (for example) WEIGHT-VECTOR =3D> #(w_1 ... w_n) >=20 > If weight-vector is unspecified, each weight w_i will be randomly > chosen such that 0 < w_i < 0.25." >=20 > I expected that it would wrap the line "Create a perceptron..." > instead of wrapping two lines under it together. Is there I way I can > customize `fill-paragraph' so that it will wrap the way I expect? >=20 >=20 That's strange, I can't reproduce the behavior you describe. What's the value of `fill-column'? The first line after you invoked fill-paragraph is 78 characters long (think default value is 70). --=20 August