unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Giorgos Keramidas <keramida@ceid.upatras.gr>
Subject: Re: how can I isearch in selected region?
Date: Wed, 28 Dec 2005 14:58:55 +0200	[thread overview]
Message-ID: <86slsd4bu8.fsf@flame.pc> (raw)
In-Reply-To: 1135766061.130132.72020@g44g2000cwa.googlegroups.com

On 28 Dec 2005 02:34:21 -0800, "luciferleo" <LuciferLeo@gmail.com> wrote:
> given a region selected by C-@, you can kill-region by C-w, you can
> kill-ring-save by M-w
>
> given a buffer, you can isearch-forward by C-s, you can
> isearch-backward by C-r
>
> but how can you combine them? I cannot find a isearch-forward-region or
> something related.

You can narrow the buffer to the region with ``C-x n n'', perform
any operation that would affect the entire buffer only on the
narrowed region and widen the view of the current buffer to the
full buffer contents with ``C-x n w'' again.

I regularly use this to replace-string or replace-regexp in a
region and it works quite fine :)

  reply	other threads:[~2005-12-28 12:58 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-28 10:34 how can I isearch in selected region? luciferleo
2005-12-28 12:58 ` Giorgos Keramidas [this message]
2005-12-29  9:57   ` luciferleo
2005-12-30  7:59   ` Mathias Dahl

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=86slsd4bu8.fsf@flame.pc \
    --to=keramida@ceid.upatras.gr \
    /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).