all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Uwe Brauer <oub@mat.ucm.es>
To: Miles Bader <miles@gnu.org>
Cc: Uwe Brauer <oub@mat.ucm.es>,
	XEmacs Beta Discussion <xemacs-beta@xemacs.org>,
	Stefan Monnier <monnier@iro.umontreal.ca>,
	emacs-devel@gnu.org
Subject: unfill-paragraph(region) is different in GNU emacs and xemacs (was: unfill-paragraph (region) and indentation, )
Date: Fri, 06 Nov 2009 11:01:28 +0100	[thread overview]
Message-ID: <87skcsrmyv.fsf_-_@mat.ucm.es> (raw)
In-Reply-To: <jwv639q6ss2.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Wed, 04 Nov 2009 13:40:58 -0500, Thu, 05 Nov 2009 08:12:00 +0900")

>>>>> "Stefan" == Stefan Monnier <monnier@iro.umontreal.ca> writes:

   > It depends on the definition of what is a paragraph, so it depends on
   > paragraph-start and paragraph-separate.

It should not since the unfilling function should (also) act on the region.

   > But FWIW, I can't reporduce the behavior you describe in
   > fundamental-mode in Emacs-23.1.

Right, as I will describe below indeed the basic unfill functions behave
*differently*  in GNU emacs (I used Emacs 22.3) and Xemacs (21.4.22 Mule), so
I will also CC to xemacs beta, which seems to be the better place to
continue the discussion.

   >         Stefan


   >    (let ((fill-column 9999999)) (fill-region (point) (mark)))

   > However Uwe's sample code uses the function "filladapt-mode", which I
   > don't seem to have, and can't seem to load by doing (load-library
   > "filladapt") or (load-library "filladapt-mode"); is it an external
   > library?  If so, maybe Uwe's problem lies there...

No it does not surprise, it is Xemacs filling function itself with
behaves different.

The following I did with 
emacs -q (GNU emacs 21.3)
and 
xemacs -vanilla (Xemacs 21.4.22 Mule)

In both cases I set the  fill-column to 10000000 and called.

GNU emacs (fill-paragraph)

Xemacs (fill-paragraph-or-region)

The example is (a buffer in fundamental mode)


See http://front.math.ucdavis.edu/ for a math specific front-end
	 or point your web browser at http://arxiv.org/ for the generic front-end.
	 To unsubscribe, e-mail To: math@arXiv.org, Subject: cancel
	 We consider ballistic aggregation equation for gases in which each particle
	 is either by its mass and impulsion or by its sole impulsion. For
	 the constant aggregation rate we prove existence of self-similar solutions as
	 well as convergence to the self-similarity for generic solutions. For some
	 classes of mass and/or impulsion dependent rates we are also able to estimate
	 the large time decay of some moments of generic solutions or to build some new
         classes of self-similar solutions.

A text which has indentation.

GNU emacs filled the line as expected Xemacs did not.

The behavior of both filling functions was identical if the text had no
indentation!

Could somebody from the Xemacs dev team comment on this?


thanks

Uwe Brauer





  parent reply	other threads:[~2009-11-06 10:01 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-02 16:45 unfill-paragraph (region) and indentation Uwe Brauer
2009-11-02 18:21 ` Lluís
2009-11-02 18:35   ` Lennart Borgman
2009-11-03 10:08     ` Uwe Brauer
2009-11-03 20:02 ` Stefan Monnier
2009-11-04  9:43   ` Uwe Brauer
2009-11-04 18:40     ` Stefan Monnier
2009-11-04 23:12       ` Miles Bader
2009-11-06 10:01       ` Uwe Brauer [this message]
2009-11-06 11:44         ` unfill-paragraph(region) is different in GNU emacs and xemacs (was: unfill-paragraph (region) and indentation, ) Stephen J. Turnbull

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

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

  git send-email \
    --in-reply-to=87skcsrmyv.fsf_-_@mat.ucm.es \
    --to=oub@mat.ucm.es \
    --cc=emacs-devel@gnu.org \
    --cc=miles@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    --cc=xemacs-beta@xemacs.org \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.