all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Miles Bader <miles@gnu.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: Uwe Brauer <oub@mat.ucm.es>, emacs-devel@gnu.org
Subject: Re: unfill-paragraph (region) and indentation
Date: Thu, 05 Nov 2009 08:12:00 +0900	[thread overview]
Message-ID: <878welyjen.fsf@catnip.gol.com> (raw)
In-Reply-To: <jwv639q6ss2.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Wed, 04 Nov 2009 13:40:58 -0500")

Stefan Monnier <monnier@iro.umontreal.ca> writes:
>> 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.
>
> It depends on the definition of what is a paragraph, so it depends on
> paragraph-start and paragraph-separate.
>
> But FWIW, I can't reporduce the behavior you describe in
> fundamental-mode in Emacs-23.1.

Me neither -- the following works perfectly for me to unfill the sample
text in both message-mode and fundamental-mode:

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

-Miles

-- 
White, adj. and n. Black.




  reply	other threads:[~2009-11-04 23:12 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 [this message]
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

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

  git send-email \
    --in-reply-to=878welyjen.fsf@catnip.gol.com \
    --to=miles@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    --cc=oub@mat.ucm.es \
    /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.