unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: dkcombs@panix.com (David Combs)
To: help-gnu-emacs@gnu.org
Subject: Re: vim equivalent in emacs %5,50s/serah_term/replace_term/gc
Date: Fri, 23 Nov 2007 02:33:24 +0000 (UTC)	[thread overview]
Message-ID: <fi5e5k$70u$1@reader1.panix.com> (raw)
In-Reply-To: mailman.3124.1194518944.18990.help-gnu-emacs@gnu.org

In article <mailman.3124.1194518944.18990.help-gnu-emacs@gnu.org>,
Peter Dyballa  <Peter_Dyballa@Web.DE> wrote:
>
>Am 08.11.2007 um 05:01 schrieb iluvindo:
>
>> Hi I recently moved from vim to emacs and need help to search and  
>> replace
>> using line numbers(say between two lines 5 and 50).  This can be  
>> done in vim
>> as %5,50s/serah_term/replace_term/gc
>> What is equivalent in emacs?
>
>Activate 'active region highlighting' from Options menu, mark the  
>region either by dragging with the mouse cursor or with the keyboard  
>(M-g g 5 RET C-SPC M-g g 50 RET), and then substitute:


M-g?  So I did C-h k on M-g, and in a mini-or-whatever buffer at
screen bottom, a line saying "set-face: default m-g d, ......".

My question: how to grab that doc-line?

Trying to regionize it kills it, nor does it seem to be in *Messages*.

Thanks!,

David

  parent reply	other threads:[~2007-11-23  2:33 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-08  4:01 vim equivalent in emacs %5,50s/serah_term/replace_term/gc iluvindo
2007-11-08 10:48 ` Peter Dyballa
     [not found] ` <mailman.3124.1194518944.18990.help-gnu-emacs@gnu.org>
2007-11-23  2:33   ` David Combs [this message]
2007-11-23  2:43     ` Giorgos Keramidas
2007-12-16 19:40       ` David Combs
2007-12-16 23:08         ` Peter Dyballa
2007-11-23 10:15     ` Peter Dyballa
     [not found]     ` <mailman.3967.1195812952.18990.help-gnu-emacs@gnu.org>
2007-12-16 19:42       ` David Combs
     [not found] <mailman.3119.1194512077.18990.help-gnu-emacs@gnu.org>
2007-11-09 10:18 ` Rupert Swarbrick
2007-11-09 22:53   ` Lennart Borgman (gmail)

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='fi5e5k$70u$1@reader1.panix.com' \
    --to=dkcombs@panix.com \
    --cc=help-gnu-emacs@gnu.org \
    /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).