From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nachiket Gokhale Newsgroups: gmane.emacs.help Subject: Re: delete non-matching lines Date: Tue, 11 Aug 2009 11:57:53 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: <377d1931-dceb-4707-afde-efdba0720b9c@l35g2000pra.googlegroups.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: ger.gmane.org 1250047511 23308 80.91.229.12 (12 Aug 2009 03:25:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 12 Aug 2009 03:25:11 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Aug 12 05:25:05 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Mb4SX-0006AI-KC for geh-help-gnu-emacs@m.gmane.org; Wed, 12 Aug 2009 05:25:05 +0200 Original-Received: from localhost ([127.0.0.1]:40635 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mb4SV-0000CJ-Ae for geh-help-gnu-emacs@m.gmane.org; Tue, 11 Aug 2009 23:25:03 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!n11g2000yqb.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help,comp.emacs Original-Lines: 32 Original-NNTP-Posting-Host: 12.105.30.2 Original-X-Trace: posting.google.com 1250017073 7707 127.0.0.1 (11 Aug 2009 18:57:53 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Tue, 11 Aug 2009 18:57:53 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: n11g2000yqb.googlegroups.com; posting-host=12.105.30.2; posting-account=urzb5QoAAADDKpwOgQ-5Q8xyv7WKST4q User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.11) Gecko/2009061118 Fedora/3.0.11-1.fc9 Firefox/3.0.11, gzip(gfe), gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:171881 comp.emacs:98567 X-Mailman-Approved-At: Tue, 11 Aug 2009 23:22:59 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:67071 Archived-At: On Aug 11, 11:25=C2=A0am, Xah Lee wrote: > On Aug 11, 6:59 am, Nachiket Gokhale wrote: > > > How do I delete all lines starting with > > > "ESPN" > > > And, the opposite: > > > How do I delete all lines not starting with > > > "ESPN" > > LOL. > > Type > > Alt+x delete-matching-lines > Alt+x delete-non-matching-lines > > with > > ^ESPN > > =C2=A0 Xah > =E2=88=91http://xahlee.org/ > > =E2=98=84 Thanks, everybody. -Nachiket