unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: <help-gnu-emacs@gnu.org>
Subject: RE: Increment Search in a Certain Region?
Date: Wed, 4 Apr 2007 15:46:42 -0700	[thread overview]
Message-ID: <DNEMKBNJBGPAOPIJOOICCENADLAA.drew.adams@oracle.com> (raw)
In-Reply-To: <1175723774.138265.321140@d57g2000hsg.googlegroups.com>

> When I do C-s for increment[al] search, it searches whole buffer. What I
> want it to search only in a certain region. Can it be possible?

You can narrow the buffer to the region: `C-x n n', then search: `C-s'. When
you are done, you can widen the buffer: `C-x n w'.

Otherwise, I don't think it's possible to tell `C-s' to limit itself to the
region.

An alternative, which does limit search to the region (if it is active and
non-empty): `C-`' in Icicles:
http://www.emacswiki.org/cgi-bin/wiki/Icicles_-_Search_Enhancements#IciclesS
earchCommands

  reply	other threads:[~2007-04-04 22:46 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-04 21:56 Increment Search in a Certain Region? Daniel
2007-04-04 22:46 ` Drew Adams [this message]
2007-04-05  0:25   ` Eric Hanchrow
     [not found]   ` <mailman.1774.1175733718.7795.help-gnu-emacs@gnu.org>
2007-04-05  7:28     ` Joost Kremers
2007-04-05 17:07       ` Eric Hanchrow

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=DNEMKBNJBGPAOPIJOOICCENADLAA.drew.adams@oracle.com \
    --to=drew.adams@oracle.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).