* text mode, auto-fill, refill
@ 2004-10-29 16:41 Edward Casey
2004-10-29 17:32 ` Kevin Rodgers
2004-11-12 15:56 ` martin
0 siblings, 2 replies; 4+ messages in thread
From: Edward Casey @ 2004-10-29 16:41 UTC (permalink / raw)
I have a text file with very long lines (average over 200 chars) and in
the mode line there are two question marks after L (for line number. How
can I refill the entire buffer to a line length of say 70-80 characters?
Finally is the process reversible without loss of original formatting?
Thanks,
Ed.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: text mode, auto-fill, refill
2004-10-29 16:41 text mode, auto-fill, refill Edward Casey
@ 2004-10-29 17:32 ` Kevin Rodgers
2004-11-12 15:56 ` martin
1 sibling, 0 replies; 4+ messages in thread
From: Kevin Rodgers @ 2004-10-29 17:32 UTC (permalink / raw)
Edward Casey wrote:
> I have a text file with very long lines (average over 200 chars) and in
> the mode line there are two question marks after L (for line number.
C-h v line-number-display-limit-width
> How can I refill the entire buffer to a line length of say 70-80
> characters? Finally is the process reversible without loss of
> original formatting?
Don't bother, just `M-x set-variable RET line-number-display-limit-width
RET'.
--
Kevin Rodgers
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: text mode, auto-fill, refill
2004-10-29 16:41 text mode, auto-fill, refill Edward Casey
2004-10-29 17:32 ` Kevin Rodgers
@ 2004-11-12 15:56 ` martin
2004-11-21 3:36 ` David Combs
1 sibling, 1 reply; 4+ messages in thread
From: martin @ 2004-11-12 15:56 UTC (permalink / raw)
"EC" == Edward Casey <ejmn@cpinternet.com> writes:
EC> Date: Fri, 29 Oct 2004 11:41:50 -0500
EC>
EC> I have a text file with very long lines (average over 200 chars) and in
EC> the mode line there are two question marks after L (for line number. How
EC> can I refill the entire buffer to a line length of say 70-80 characters?
you may select the whole buffer as region and execute the command
fill-region on it.
perhaps it could suffice to just view the whole line by use of the
command toggle-truncate-lines
EC> Finally is the process reversible without loss of original formatting?
if you dont save the filled version of the file, you may revert the
filling using the undo function of emacs.
EC>
EC> Thanks,
EC> Ed.
EC>
EC>
--
martin dot fischer at boschrexroth dot de
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2004-11-21 3:36 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-29 16:41 text mode, auto-fill, refill Edward Casey
2004-10-29 17:32 ` Kevin Rodgers
2004-11-12 15:56 ` martin
2004-11-21 3:36 ` David Combs
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).