[comp.emacs] How to kill all the blank lines???

lixj@acf4.NYU.EDU (Xiaojian Li) (02/18/91)

First I would like to ask if there is any frequently-asked-questions in emacs
in this news group. Next time I would look there before asking stupid
question.

Now, how to kill globally all the blank lines in emacs? I know how to
replace the blank lines by something(i.e. M-x query-replace-regexp Ret 
^[ \t]*$ Ret "new strings"), but I don't know how to replace them by nothing.

Thanks in advance.

Xiaojian
lixj@acf4.nyu.edu

lixj@acf4.NYU.EDU (Xiaojian Li) (02/18/91)

From lixj@acf4.NYU.EDU  Mon Feb 18 00:12:35 1991
Received: from ACF4.NYU.EDU by cmcl2.NYU.EDU (5.61/1.34)
	id AA11215; Mon, 18 Feb 91 00:12:35 -0500
Received: by acf4.NYU.EDU (5.61/1.34)
	id AA19321; Mon, 18 Feb 91 00:13:00 -0500
Date: Mon, 18 Feb 91 00:13:00 -0500
From: lixj@acf4.NYU.EDU (Xiaojian Li)
Message-Id: <9102180513.AA19321@acf4.NYU.EDU>
To: rnews@cmcl2.NYU.EDU, rosenblg@acf4.NYU.EDU

Relay-Version: version nyu B notes v1.6.1 1/11/90; site acf4.NYU.EDU
From: lixj@acf4.NYU.EDU (Xiaojian Li)
Date: 18 Feb 91 00:12 EST
Date-Received: 18 Feb 91 00:12 EST
Subject: How to kill all the blank lines???
Message-ID: <33660001@acf4.NYU.EDU>
Path: acf4!lixj
Newsgroups: comp.emacs
Posting-Version: version nyu B notes v1.6.1 1/11/90; site acf4.NYU.EDU
Organization: New York University

First I would like to ask if there is any frequently-asked-questions in emacs
in this news group. Next time I would look there before asking stupid
question.

Now, how to kill globally all the blank lines in emacs? I know how to
replace the blank lines by something(i.e. M-x query-replace-regexp Ret 
^[ \t]*$ Ret "new strings"), but I don't know how to replace them by nothing.

Thanks in advance.

Xiaojian
lixj@acf4.nyu.edu