unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* automating line wraps altogether
@ 2003-03-19  2:29 Daniel R. Anderson
  0 siblings, 0 replies; 3+ messages in thread
From: Daniel R. Anderson @ 2003-03-19  2:29 UTC (permalink / raw)


Hi,

Is there any way to tell emacs to delete all newlines and rewrap at so
many chars?

Thanks,

-Dan

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

* Re: automating line wraps altogether
       [not found] <mailman.3355.1048041342.21513.help-gnu-emacs@gnu.org>
@ 2003-03-19 18:59 ` Peter Lee
  2003-03-19 19:53 ` Edward Dodge
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Lee @ 2003-03-19 18:59 UTC (permalink / raw)


"Daniel R. Anderson" <dan@mathjunkies.com> writes:

> Is there any way to tell emacs to delete all newlines and rewrap at so
> many chars?

Couldn't you M-% C-qC-j RET RET

Set the fill column with M-x set-fill-column

Then select all the lines and do M-x fill-region RET

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

* Re: automating line wraps altogether
       [not found] <mailman.3355.1048041342.21513.help-gnu-emacs@gnu.org>
  2003-03-19 18:59 ` Peter Lee
@ 2003-03-19 19:53 ` Edward Dodge
  1 sibling, 0 replies; 3+ messages in thread
From: Edward Dodge @ 2003-03-19 19:53 UTC (permalink / raw)


"Daniel R. Anderson" <dan@mathjunkies.com> writes:

> Hi,
> 
> Is there any way to tell emacs to delete all newlines and rewrap at
> so many chars?
> 
> Thanks,
> 
> -Dan

Sounds like you need to reset the fill-column with:

ESC <number> M-x set-fill-column

and then select your region and use:

M-x fill-region-as-paragraph

-- 
Edward Dodge

/Confabulation Consulting/

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

end of thread, other threads:[~2003-03-19 19:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-19  2:29 automating line wraps altogether Daniel R. Anderson
     [not found] <mailman.3355.1048041342.21513.help-gnu-emacs@gnu.org>
2003-03-19 18:59 ` Peter Lee
2003-03-19 19:53 ` Edward Dodge

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