From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Bourgneuf Francois" Newsgroups: gmane.emacs.help Subject: RE: Remove all lines containig a keyword Date: Fri, 3 Oct 2008 15:54:18 +0200 Message-ID: <9884393F63F8AF4EA99527DC3C9141E22DD51C@zw67246c.societe.mma.fr> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1223042112 17337 80.91.229.12 (3 Oct 2008 13:55:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 3 Oct 2008 13:55:12 +0000 (UTC) To: "Chris Patterson" , Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Oct 03 15:56:09 2008 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 1Kll8O-0002oq-US for geh-help-gnu-emacs@m.gmane.org; Fri, 03 Oct 2008 15:55:57 +0200 Original-Received: from localhost ([127.0.0.1]:60285 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kll7L-0001Tw-UB for geh-help-gnu-emacs@m.gmane.org; Fri, 03 Oct 2008 09:54:51 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kll73-0001Tm-Kt for help-gnu-emacs@gnu.org; Fri, 03 Oct 2008 09:54:33 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kll71-0001RR-76 for help-gnu-emacs@gnu.org; Fri, 03 Oct 2008 09:54:32 -0400 Original-Received: from [199.232.76.173] (port=37751 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kll71-0001RF-0h for help-gnu-emacs@gnu.org; Fri, 03 Oct 2008 09:54:31 -0400 Original-Received: from relais.groupe-mma.fr ([195.101.229.226]:52172 helo=razor80-1.mma-rg.fr) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Kll70-0004uJ-LI for help-gnu-emacs@gnu.org; Fri, 03 Oct 2008 09:54:30 -0400 Original-Received: from ZW67252I.societe.mma.fr ([10.200.243.215]) by razor80-1.mma-rg.fr (MOS 3.8.6-GA) with ESMTP id CGE39254; Fri, 3 Oct 2008 15:54:19 +0200 (CEST) Original-Received: from ZW67246C.societe.mma.fr ([10.200.3.36]) by ZW67252I.societe.mma.fr with Microsoft SMTPSVC(5.0.2195.6713); Fri, 3 Oct 2008 15:54:19 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.0.6603.0 content-class: urn:content-classes:message Thread-Topic: Remove all lines containig a keyword Thread-Index: Ackj0OF8T2v52pjhQb+yNLOvC3+9oABjeyRw X-OriginalArrivalTime: 03 Oct 2008 13:54:19.0642 (UTC) FILETIME=[8858EDA0:01C9255F] X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. 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:58327 Archived-At: C-M-% .*sold.*C-q C-j Enter ! I explain : C-M-% : query-replace-regexp .*sold.*C-q C-j : 0-n character followed by "sold" followed by 0-n = character followed by NEWLINE ( C-q C-j ) Bour9 > -----Message d'origine----- > De :=20 > help-gnu-emacs-bounces+francois.bourgneuf=3Dgroupe-mma.fr@gnu.or > g=20 > [mailto:help-gnu-emacs-bounces+francois.bourgneuf=3Dgroupe-mma.f > r@gnu.org] De la part de Chris Patterson > Envoy=E9 : lundi 29 septembre 2008 04:46 > =C0 : help-gnu-emacs@gnu.org > Objet : Re: Remove all lines containig a keyword >=20 > Christian Herenz writes: >=20 > > Hi, > > I have a huge list of "stuff" I sell / sold. > > To print out an actual list, without the stuff that is sold already, > > It would be nice to have a command for doing this task automated - > > Remove all lines with the keyword "sold". > > Thanks for your Help, > > Christian >=20 > Looks like you have several suggestions. I'll chime in with M-x > flush-lines. >=20 >=20