help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Controlling `fill-paragraph'


From: August
Subject: Re: Controlling `fill-paragraph'
Date: Mon, 31 Jan 2005 18:06:12 +0100

On mån, 2005-01-31 at 10:21 -0500, Denis Bueno wrote:
> 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?
> 
> 

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).

-- 
August




reply via email to

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