help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: :%s/^$/d - Er, How to Delete Empty Lines in Emacs? And fill-paragrap


From: Miles Bader
Subject: Re: :%s/^$/d - Er, How to Delete Empty Lines in Emacs? And fill-paragraph.
Date: 26 Jan 2001 13:26:50 +0900

Andrew Jewell <apjewell@yahoo.com> writes:
> Could anyone please tell me how to delete blank lines in Emacs?

M-<
M-x flush-lines RET ^$ RET

[Or M-: (flush-lines "^$" (point-min) (point-max)) ]

> Speaking of  wrapping - what is the way of replacing the end of line\
> escape with the end of line trunca$?  I see it happen, but don't know
> what controls it. . .!?

M-: (setq truncate-lines t)

-Miles
-- 
Love is a snowmobile racing across the tundra.  Suddenly it flips over,
pinning you underneath.  At night the ice weasels come.  --Nietzsche



reply via email to

[Prev in Thread] Current Thread [Next in Thread]