From: Peter Dyballa <Peter_Dyballa@Web.DE>
To: C K Kashyap <ckkashyap@gmail.com>
Cc: help-gnu-emacs@gnu.org, Thierry Volpiatto <thierry.volpiatto@gmail.com>
Subject: Re: Emacs equivalent of the ":g" command in vi
Date: Fri, 22 Jul 2011 12:12:44 +0200 [thread overview]
Message-ID: <5AF5A21A-5A3B-4E35-9B7E-4025FD76AF2F@Web.DE> (raw)
In-Reply-To: <CAGdT1gr4wZH0Vr=2nim8sZAcQkj46gLcd=-WmzJ3iiL3p7SNAA@mail.gmail.com>
Am 22.07.2011 um 12:02 schrieb C K Kashyap:
> I'd like the result to not leave blank lines.
Then modify the regexp to:
^.*\(your_regexp\).*^J
The final ^J (LINEFEED character) can be input as C-q C-j or as C-o.
--
Greetings
Pete
Globalisation – communism from above.
next prev parent reply other threads:[~2011-07-22 10:12 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-22 8:42 Emacs equivalent of the ":g" command in vi C K Kashyap
2011-07-22 9:27 ` Peter Dyballa
2011-07-22 9:48 ` Thierry Volpiatto
2011-07-22 10:02 ` C K Kashyap
2011-07-22 10:12 ` Peter Dyballa [this message]
2011-07-22 10:41 ` C K Kashyap
2011-07-22 10:34 ` Thien-Thi Nguyen
2011-07-22 10:44 ` C K Kashyap
2011-07-22 10:45 ` Deniz Dogan
2011-07-22 10:46 ` Deniz Dogan
2011-07-22 19:03 ` Eric Abrahamsen
2011-07-22 20:27 ` MBR
2011-07-22 20:37 ` Andreas Röhler
2011-07-22 20:51 ` MBR
2011-07-23 7:10 ` Andreas Röhler
2011-08-15 0:27 ` Ken Goldman
2011-07-23 3:02 ` C K Kashyap
2011-07-23 8:44 ` suvayu ali
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=5AF5A21A-5A3B-4E35-9B7E-4025FD76AF2F@Web.DE \
--to=peter_dyballa@web.de \
--cc=ckkashyap@gmail.com \
--cc=help-gnu-emacs@gnu.org \
--cc=thierry.volpiatto@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).