From xemacs-m  Tue Mar 25 13:26:04 1997
Received: from palrel1.hp.com (palrel1.hp.com [15.253.72.10])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id NAA07896
	for <xemacs-beta@xemacs.org>; Tue, 25 Mar 1997 13:26:04 -0600 (CST)
Received: from rlab24.rsn.hp.com (rlab24.rsn.hp.com [15.99.219.24]) by palrel1.hp.com with ESMTP (8.7.5/8.7.3) id LAA11331; Tue, 25 Mar 1997 11:26:04 -0800 (PST)
Received: by rlab24.rsn.hp.com
	(1.38.193.4/16.2) id AA012697963; Tue, 25 Mar 1997 13:26:03 -0600
Sender: holder@rlab24.rsn.hp.com
To: Kyle Jones <kyle_jones@wonderworks.com>
Cc: xemacs-beta@xemacs.org
Subject: Re: Filladapt and Change Log don't play nicely together
References: <199703251743.JAA27738@palrel1.hp.com> <QQciku11966.199703251803@crystal.WonderWorks.COM>
From: Shane Holder <holder@rsn.hp.com>
Date: 25 Mar 1997 13:26:02 -0600
In-Reply-To: Kyle Jones's message of Tue, 25 Mar 1997 13:03:33 -0500 (EST)
Message-Id: <fawafnrn585.fsf@rlab24.rsn.hp.com>
Lines: 48

>>>>> "Kyle" == Kyle Jones <kyle_jones@wonderworks.com> writes:

  Kyle> Shane Holder writes:
  >> In XEmacs 20.1 [Lucid] (hppa1.1-hp-hpux10.01) of Mon Mar 17 1997 on rlab24
  >> 
  >> Please describe exactly what actions triggered the bug
  >> and the precise symptoms of the bug:
  >> 
  >> Couldn't find if this was documented anywhere, but while in Change Log
  >> mode, and using filladapt.  M-q really screws up the log.
  >> 
  >> ---
  >> Tue Mar 25 11:41:08 1997  Shane Holder  <holder@rlab24.rsn.hp.com>
  >> 
  >> * (stuff) This is a really long paragraph and has been filled with
  >> M-q not using filladapt.
  >> 
  >> * (filladapt) This is a really long paragraph and has been filled
  >> with
  >> M-q using filladapt.

  Kyle> change-log-mode uses a left margin, which is fundamentally
  Kyle> incompatible with filladapt, which believes in doing everything
  Kyle> will fill-prefix.  The utility of a left margin apart from
  Kyle> fill-prefix has eluded me, frankly.

  Kyle> The solution is to turn off filladapt in change-log-mode.

The following, from filladapt.el (fill-region-as-paragraph) would
*imply* that it works just fine with a left margin.

> It removes any paragraph breaks in the region and extra newlines at
> the end, indents and fills lines between the margins given by the
> `current-left-margin' and `current-fill-column' functions.  It
> leaves point at the beginning of the line following the paragraph.

Now, that is in the fill-region-.. function, but it seems that it
should apply to all filladapt functions.

If the opposite is indeed the case it would be nice if it was
documented somewhere.  I checked the FAQ, info files, and both
filladapt.el and all-log.el with no reference to a problem.

-- 
Shane Holder                                 e-mail: holder@rsn.hp.com
Hewlett Packard                               phone:     (214)497-4182
3000 Waterview
Richardson, TX 75083

