all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Refilling paragraphs to remove hard returns?
@ 2010-05-05 11:50 Jesse Sheidlower
  2010-05-05 12:22 ` Marc Mientki
                   ` (4 more replies)
  0 siblings, 5 replies; 10+ messages in thread
From: Jesse Sheidlower @ 2010-05-05 11:50 UTC (permalink / raw)
  To: help-gnu-emacs


I imagine this is a common problem, so I don't know why I'm
having so much trouble finding an answer.

Suppose I have a text document that I've worked on in
text-mode. It is filled using the usual fill tools, so it
wraps at 72 characters, with a hard return after each line.
Paragraphs are separated by an extra hard return; there's no
other indentation.

I now need to give this document to someone who wants to work
on it in a word processor, who complains that there are hard
returns after every line. What's the easy way to remove these?

Going forward, I could work on such documents in
longlines-mode. But it's not clear how to fix what I have. The
trick mentioned in the Emacs wiki of resetting fill-column to
a large number and then refilling the region doesn't work,
because each paragraph is seen as one line, rather than the
block of text set off by two newlines. Yes, I can regex
replace all examples of return (not followed by another
return) with a space, but I'd think there must be something
more organic.

What trick am I missing?

Thanks.

Jesse Sheidlower


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2010-05-07 13:36 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-05 11:50 Refilling paragraphs to remove hard returns? Jesse Sheidlower
2010-05-05 12:22 ` Marc Mientki
2010-05-05 13:07   ` B. T. Raven
2010-05-05 13:12 ` Xah Lee
2010-05-05 17:29 ` Uday S Reddy
2010-05-06 17:53   ` jpkotta
2010-05-06 18:08 ` Ross A. Laird
2010-05-07  5:38 ` Jonathan Groll
2010-05-07 13:08   ` Lennart Borgman
2010-05-07 13:36     ` Jonathan Groll

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.