From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Alan Wehmann Newsgroups: gmane.emacs.help Subject: Re: Controlling `fill-paragraph' Date: Mon, 07 Feb 2005 07:20:25 -0600 Organization: Fermi National Accelerator Laboratory Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1107782656 2429 80.91.229.2 (7 Feb 2005 13:24:16 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 7 Feb 2005 13:24:16 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Feb 07 14:24:15 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Cy8s7-0005KS-2r for geh-help-gnu-emacs@m.gmane.org; Mon, 07 Feb 2005 14:24:11 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Cy96E-0006cC-J5 for geh-help-gnu-emacs@m.gmane.org; Mon, 07 Feb 2005 08:38:46 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!info4.fnal.gov!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 48 Original-NNTP-Posting-Host: fsui03.fnal.gov Original-X-Trace: info4.fnal.gov 1107782128 11001 131.225.68.24 (7 Feb 2005 13:15:28 GMT) Original-X-Complaints-To: abuse@fnnews.fnal.gov Original-NNTP-Posting-Date: 7 Feb 2005 13:15:28 GMT User-Agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Security Through Obscurity, usg-unix-v) Cancel-Lock: sha1:fA+s6HzCBUdfsuGM9LjdQJZW/Nw= Original-Xref: shelby.stanford.edu gnu.emacs.help:128417 Original-To: help-gnu-emacs@gnu.org 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 X-MailScanner-To: geh-help-gnu-emacs@m.gmane.org Xref: main.gmane.org gmane.emacs.help:23937 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:23937 You can limit the range of 'fill-paragraph' by "marking" a region. In addition, variables 'paragraph-start' and 'paragraph-separate' delineate paragraphs. I'm using XEmacs 21.4 (patch 15) "Security Through Obscurity" [Lucid] (sparc-sun-solaris2.8, Mule) of Tue Apr 20 2004 on gax. But I think that what I've said also applies to Emacs. Denis Bueno writes: > Is there a way to control just how `fill-paragraph' works? > > I was just editing a lisp function whose documentation string is: > > "Create a perceptron learner. Returns a net of one node, i.e., a > perceptron. ;; <= this line > > EXAMPLES => (#(x_1 ... x_n) y) > ACTIVATION-FN => #'sigmoid (for example) > WEIGHT-VECTOR => #(w_1 ... w_n) > > If weight-vector is unspecified, each weight w_i will be randomly > chosen such that 0 < w_i < 0.25." > > I put my cursor on the text marked by "this line" and hit M-q, which > resulted in the text changing to: > > "Create a perceptron learner. Returns a net of one node, i.e., a perceptron. > > EXAMPLES => (#(x_1 ... x_n) y) ACTIVATION-FN => > #'sigmoid (for example) WEIGHT-VECTOR => #(w_1 ... w_n) > > If weight-vector is unspecified, each weight w_i will be randomly > chosen such that 0 < w_i < 0.25." > > 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? > > > -- > Denis Bueno > > -- Alan Wehmann wehmannnospam@fnal.gov