unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Bourgneuf Francois" <francois.bourgneuf@groupe-mma.fr>
To: "Chris Patterson" <ubermuse@gmail.com>, <help-gnu-emacs@gnu.org>
Subject: RE: Remove all lines containig a keyword
Date: Fri, 3 Oct 2008 15:54:18 +0200	[thread overview]
Message-ID: <9884393F63F8AF4EA99527DC3C9141E22DD51C@zw67246c.societe.mma.fr> (raw)

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 : 
> help-gnu-emacs-bounces+francois.bourgneuf=groupe-mma.fr@gnu.or
> g 
> [mailto:help-gnu-emacs-bounces+francois.bourgneuf=groupe-mma.f
> r@gnu.org] De la part de Chris Patterson
> Envoyé : lundi 29 septembre 2008 04:46
> À : help-gnu-emacs@gnu.org
> Objet : Re: Remove all lines containig a keyword
> 
> Christian Herenz <herenz@physik.hu-berlin.de> writes:
> 
> > 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
> 
> Looks like you have several suggestions. I'll chime in with M-x
> flush-lines.
> 
> 




             reply	other threads:[~2008-10-03 13:54 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-03 13:54 Bourgneuf Francois [this message]
2008-10-03 14:06 ` Remove all lines containig a keyword Parker, Matthew
  -- strict thread matches above, loose matches on Subject: below --
2008-09-14  9:08 Christian Herenz
2008-09-14  9:53 ` Davin Pearson
2008-09-14 12:24 ` harven
2008-09-14 15:12   ` Ross A. Laird
2008-09-14 20:42     ` Drew Adams
2008-09-14 15:18 ` Xah
2008-09-14 16:16   ` Marc Tfardy
2008-09-15 19:47   ` Christian Herenz
2008-09-29  2:46 ` Chris Patterson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9884393F63F8AF4EA99527DC3C9141E22DD51C@zw67246c.societe.mma.fr \
    --to=francois.bourgneuf@groupe-mma.fr \
    --cc=help-gnu-emacs@gnu.org \
    --cc=ubermuse@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).