unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Uwe Brauer <oub@mat.ucm.es>
To: Stefan Monnier <monnier@IRO.UMontreal.CA>
Cc: emacs-devel@gnu.org
Subject: Re: unfill-paragraph (region) and indentation
Date: Wed, 04 Nov 2009 10:43:04 +0100	[thread overview]
Message-ID: <878wemeic7.fsf@mat.ucm.es> (raw)
In-Reply-To: <jwvd43z4buk.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Tue, 03 Nov 2009 15:02:12 -0500")

>>>>> "Stefan" == Stefan Monnier <monnier@IRO.UMontreal.CA> writes:


   > I do not understand.  When I try it on your above paragraph, I get

   >   Hello this and this

   > which seems to be exactly what an "unfill" should do.  Could you
   > explain more precisely what you mean here?

I don't understand neither. 

Let us consider the following 2 examples of larger texts.


-------------------------------------------------------------------------
First example

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.


Here unfill paragraph (or region) works fine! I do not include this
examples because text will be over the 72th column
------------------------------------------------------------------------
Second example:

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.


Now as I realized just now, the unfill code works in a *message buffer*
without problems. However in a fundamental mode [1] (with all minor
modes turned off) it does not

The best I get is
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.


That is why I wrote that small delete-indentation-region function which
works perfectly for this example.

But I am now curious why is message mode special, I mean which is the
setting which is responsible for this behavior.

Uwe 

Footnotes:

[1] (and for me more important in text modes)






  reply	other threads:[~2009-11-04  9:43 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 [this message]
2009-11-04 18:40     ` Stefan Monnier
2009-11-04 23:12       ` Miles Bader
2009-11-06 10:01       ` unfill-paragraph(region) is different in GNU emacs and xemacs (was: unfill-paragraph (region) and indentation, ) Uwe Brauer
2009-11-06 11:44         ` 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

  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=878wemeic7.fsf@mat.ucm.es \
    --to=oub@mat.ucm.es \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@IRO.UMontreal.CA \
    /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 public inbox

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

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).