all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Joost Kremers <joostkremers@yahoo.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Increment Search in a Certain Region?
Date: 5 Apr 2007 07:28:40 GMT	[thread overview]
Message-ID: <slrnf1997r.9el.joostkremers@j.kremers4.news.arnhem.chello.nl> (raw)
In-Reply-To: mailman.1774.1175733718.7795.help-gnu-emacs@gnu.org

Eric Hanchrow wrote:
>>>>>> "Drew" == Drew Adams <drew.adams@oracle.com> writes:
>    Drew> Otherwise, I don't think it's possible to tell `C-s' to
>    Drew> limit itself to the region.
>
> Au contraire!  Quoth (info "(emacs)Replace"):
>
>     The replace commands normally operate on the text from point to
>     the end of the buffer; however, in Transient Mark mode (*note
>     Transient Mark::), when the mark is active, they operate on the
>     region.

have you actually *tried* it? C-s is *not* a replace command, but an
incremental search, which is quite a different beast. you'll notice, for
example, that the incremental search commands are *not* discussed in the
section that you got this quote from.

setting a mark in transient mark mode and subsequently entering an
incremental search just moves point, keeping the region active. the search
is not limited to the region, however.

-- 
Joost Kremers                                      joostkremers@yahoo.com
Selbst in die Unterwelt dringt durch Spalten Licht
EN:SiS(9)

  parent reply	other threads:[~2007-04-05  7:28 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
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 [this message]
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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=slrnf1997r.9el.joostkremers@j.kremers4.news.arnhem.chello.nl \
    --to=joostkremers@yahoo.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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.