From: Kevin Rodgers <ihs_4664@yahoo.com>
Subject: Re: how to %g/notice/d
Date: Fri, 16 Jul 2004 10:45:59 -0600 [thread overview]
Message-ID: <40F80647.20003@yahoo.com> (raw)
In-Reply-To: cd8499$g2j$1@news1.kornet.net
Chang PilHun wrote:
> I want to delete all lines that includes 'notice' string.
> in vim, I can do that by :%g/notice/d
>
> How to in emacs?
What could be more obvious than `M-x delete-matching-lines'?
Since vim/vi users love the sed syntax, you can always run sed on your
Emacs buffer like this:
C-x h ; mark-whole-buffer
C-u M-| ; [replace region with output from] shell-command-on-region
sed '...' RET ; e.g. /notice/d
--
Kevin Rodgers
next prev parent reply other threads:[~2004-07-16 16:45 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-07-16 8:39 how to %g/notice/d Chang PilHun
2004-07-16 9:10 ` Damien Wyart
2004-07-16 13:09 ` kgold
2004-07-16 16:45 ` Kevin Rodgers [this message]
2004-07-16 17:16 ` nick
2004-07-16 18:33 ` Kevin Rodgers
2004-07-16 18:36 ` Peter Lee
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=40F80647.20003@yahoo.com \
--to=ihs_4664@yahoo.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).