From xemacs-m  Sat Apr  5 17:48:17 1997
Received: from mailbox2.ucsd.edu (mailbox2.ucsd.edu [132.239.1.54])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id RAA23196
	for <xemacs-beta@xemacs.org>; Sat, 5 Apr 1997 17:48:15 -0600 (CST)
Received: from sdnp5.ucsd.edu (sdnp5.ucsd.edu [132.239.79.10]) by mailbox2.ucsd.edu (8.8.5/8.6.9) with SMTP id PAA26510 for <xemacs-beta@xemacs.org>; Sat, 5 Apr 1997 15:48:15 -0800 (PST)
Received: by sdnp5.ucsd.edu (SMI-8.6/SMI-SVR4)
	id PAA24626; Sat, 5 Apr 1997 15:49:54 -0800
Sender: dmoore@sdnp5.ucsd.edu
To: XEmacs Beta Mailing List <xemacs-beta@xemacs.org>
Subject: 20.1b11 fill-paragraph-or-region buglet
X-Face: "oX;zS#-JU$-,WKSzG.1gGE]x^cIg!hW.dq>.f6pzS^A+(k!T|M:}5{_%>Io<>L&{hO7W4cicOQ|>/lZ1G(m%7iaCf,6Qgk0%%Bz7b2-W3jd0m_UG\Y;?]}4s0O-U)uox>P3JN)9cm]O\@,vy2e{`3pb!"pqmRy3peB90*2L
Mail-Copies-To: never
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
From: David Moore <dmoore@ucsd.edu>
Date: 05 Apr 1997 16:49:53 -0700
Message-ID: <rvragpt4gu.fsf@sdnp5.ucsd.edu>
Lines: 46
X-Mailer: Gnus v5.4.40/XEmacs 20.1(beta11)


I think I found part of the problem with the non-deterministic M-q, or a 
bug in the version in 20.1.

Basically the problem is that if a line ends on a period, when it
refills it'll join the next line up with a single space instead of the
double space it should have.  Then since there's a single space there,
it might fill improperly.

Example with (fill-column set to 72):

This sentence is going to end near the end of the line, like this.
Which will force this sentence onto the next line.  If you now type M-q
on this paragraph you get the next paragraph.  I typed this paragraph
using normal wrapping.


This sentence is going to end near the end of the line, like this. Which
will force this sentence onto the next line.  If you now type M-q on
this paragraph you get the next paragraph.  I typed this paragraph using
normal wrapping.



Note that there should be 2 spaces after the first period, and there
aren't.  If I go add another space and hit M-q, you again get what you
expect:

This sentence is going to end near the end of the line, like this.
Which will force this sentence onto the next line.  If you now type M-q
on this paragraph you get the next paragraph.  I typed this paragraph
using normal wrapping.



This can cause repeated affects of M-q, since joining one sentence to
the previous with a single space may move another sentence elsewhere to
the beginning of the line.  Then if you hit M-q again, it might join
that one up, etc, etc.


-- 
David Moore <dmoore@ucsd.edu>       | Computer Systems Lab      __o
UCSD Dept. Computer Science - 0114  | Work: (619) 534-8604    _ \<,_
La Jolla, CA 92093-0114             | Fax:  (619) 534-1445   (_)/ (_)
<URL:http://oj.egbt.org/dmoore/>    | In a cloud bones of steel.

