Path: utzoo!mnetor!tmsoft!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!ames!aplvax!acf4!lixj From: lixj@acf4.NYU.EDU (Xiaojian Li) Newsgroups: comp.emacs Subject: How to kill all the blank lines??? Message-ID: <33660001@acf4.NYU.EDU> Date: 18 Feb 91 05:12:00 GMT Organization: New York University Lines: 12 To: rnews@cmcl2.NYU.EDU, rosenblg@acf4.NYU.EDU 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