From xemacs-m  Thu Mar 13 11:42:52 1997
Received: from black-ice.cc.vt.edu (root@black-ice.cc.vt.edu [128.173.14.71])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id LAA03833
	for <xemacs-beta@xemacs.org>; Thu, 13 Mar 1997 11:42:51 -0600 (CST)
Received: from black-ice.cc.vt.edu (valdis@LOCALHOST [127.0.0.1])
	by black-ice.cc.vt.edu (8.8.5/8.8.5) with ESMTP id MAA25202
	for <xemacs-beta@xemacs.org>; Thu, 13 Mar 1997 12:42:38 -0500
Message-Id: <199703131742.MAA25202@black-ice.cc.vt.edu>
X-Mailer: exmh version 2.0gamma 1/27/96
To: xemacs-beta@xemacs.org
Subject: Principle of Least Surprise and fill-paragraph-or-region
From: Valdis.Kletnieks@vt.edu
X-Url: http://black-ice.cc.vt.edu/~valdis/
Mime-Version: 1.0
Content-Type: multipart/signed; boundary="==_Exmh_-1614826570P";
	micalg=pgp-md5; protocol="application/pgp-signature"
Content-Transfer-Encoding: 7bit
Date: Thu, 13 Mar 1997 12:42:38 -0500

--==_Exmh_-1614826570P
Content-Type: text/plain; charset=us-ascii

Another minor nit ;)

fill-paragraph-or-region appears to be just a tad wonky when trying to
do full    justification.   Using 'M-1  M-q'  repeatedly   to format a
paragraph in my previous  mail will toggle between  2 states of "where
to put the extra blanks".  Now, that was  not particularly a surprise,
but what DID surprise  me is that  for  any given cursor  position, it
would  be  two *different* states, depending   on exactly where in the
paragraph the text cursor was located.

I   first noticed  this   when I was editing    the *tail*  end of the
paragraph, and I'd hit M-1 M-q to reformat the paragraph, and text was
moving around 5 and 6 lines above where I made changes... ;)

Consider the following test paragraph:

Now for the  *real* weirdness: I *cant*  enter  a "cntrol-X control-S"
from the keyboard, because it's not listening.  However, I *can* go up
to the menubar, select "save" (which alledgedly does the same thing as
^X^S), and  *IT WILL ALL START  WORKING AGAIN*.  I haven't checked yet
if  selecting OTHER things off  the menubar fix  it as well.  Any text
that  was typed  while the keyboard  was  hung appears to  be silently
discarded.

Position on the N in Now:
Now for  the *real* weirdness: I *cant*  enter  a "cntrol-X control-S"
Now for the  *real* weirdness: I *cant*  enter  a "cntrol-X control-S"

Position on the f in for:
Now  for the *real* weirdness: I  *cant*  enter a "cntrol-X control-S"
Now for the *real* weirdness:  I  *cant* enter a "cntrol-X  control-S"

Position on the t in the:
Now  for the *real* weirdness:  I  *cant* enter a "cntrol-X control-S"
Now for  the *real* weirdness: I  *cant* enter  a "cntrol-X control-S"

Position on the first * in *real*:
Now for  the *real* weirdness:  I *cant* enter a  "cntrol-X control-S"
Now  for the *real* weirdness:  I *cant* enter  a "cntrol-X control-S"

and so on.

-- 
				Valdis Kletnieks
				Computer Systems Engineer
				Virginia Tech



--==_Exmh_-1614826570P
Content-Type: application/pgp-signature

-----BEGIN PGP MESSAGE-----
Version: 2.6.2

iQCVAwUBMyg8i9QBOOoptg9JAQHghAP9HkwXWDRrxvRVAMrKpYPWIcr1ByEBQmp+
VxCn16k3asKJtB26oNVq1kzgsRJyKr2f6jRTotrUTqaXcxx/4IxqiJS4LZg5t1wg
jm5avLpLqCe/ENHrNmRFBbVTkIhmJETwids0nPzJAOKqgGD+PDGeIKYE5DcHcx1A
yNmSttX8Ldw=
=Szsh
-----END PGP MESSAGE-----

--==_Exmh_-1614826570P--

