unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: August <fusionfive@comhem.se>
Subject: Re: Controlling `fill-paragraph'
Date: Mon, 31 Jan 2005 18:06:12 +0100	[thread overview]
Message-ID: <1107191172.5404.6.camel@c83-250-201-122.bredband.comhem.se> (raw)
In-Reply-To: <6dbd4d0005013107211d410150@mail.gmail.com>

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	other threads:[~2005-01-31 17:06 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-31 15:21 Controlling `fill-paragraph' Denis Bueno
2005-01-31 17:06 ` August [this message]
     [not found]   ` <6dbd4d00050131095060f3c83a@mail.gmail.com>
     [not found]     ` <1107196358.5404.32.camel@c83-250-201-122.bredband.comhem.se>
2005-01-31 23:33       ` Denis Bueno
     [not found] <mailman.173.1107187670.2841.help-gnu-emacs@gnu.org>
2005-02-07 13:20 ` Alan Wehmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1107191172.5404.6.camel@c83-250-201-122.bredband.comhem.se \
    --to=fusionfive@comhem.se \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).