From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thien-Thi Nguyen Newsgroups: gmane.emacs.help Subject: Re: Emacs equivalent of the ":g" command in vi Date: Fri, 22 Jul 2011 12:34:00 +0200 Message-ID: <874o2e38pz.fsf@ambire.localdomain> References: <14F21CEC-7265-4DE4-888A-A10FCFFF6826@Web.DE> <8762mufxx7.fsf@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1311398150 2200 80.91.229.12 (23 Jul 2011 05:15:50 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 23 Jul 2011 05:15:50 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: C K Kashyap Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jul 23 07:15:46 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QkUYz-00048m-Nc for geh-help-gnu-emacs@m.gmane.org; Sat, 23 Jul 2011 07:15:45 +0200 Original-Received: from localhost ([::1]:54112 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QkUYt-0004Hl-SZ for geh-help-gnu-emacs@m.gmane.org; Sat, 23 Jul 2011 01:15:39 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:46749) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QkD8o-0005zw-FL for help-gnu-emacs@gnu.org; Fri, 22 Jul 2011 06:39:35 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QkD8n-0005yK-LB for help-gnu-emacs@gnu.org; Fri, 22 Jul 2011 06:39:34 -0400 Original-Received: from smtp206.alice.it ([82.57.200.102]:58250) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QkD5e-0005Hf-0P for help-gnu-emacs@gnu.org; Fri, 22 Jul 2011 06:39:33 -0400 Original-Received: from ambire.localdomain (79.10.74.112) by smtp206.alice.it (8.5.124.08) id 4DE63E3204FAD139; Fri, 22 Jul 2011 12:34:21 +0200 Original-Received: from ttn by ambire.localdomain with local (Exim 4.69) (envelope-from ) id 1QkD3R-000122-AU; Fri, 22 Jul 2011 12:34:01 +0200 In-Reply-To: (C. K. Kashyap's message of "Fri, 22 Jul 2011 15:32:10 +0530") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 82.57.200.102 X-Mailman-Approved-At: Sat, 23 Jul 2011 01:15:36 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:81745 Archived-At: () C K Kashyap () Fri, 22 Jul 2011 15:32:10 +0530 However, I'd like the result to not leave blank lines. Try =E2=80=98M-x flush-lines=E2=80=99. Use =E2=80=98C-h f flush-lines RET=E2=80=99 first to avoid surprises.