From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Giorgos Keramidas Newsgroups: gmane.emacs.help Subject: Re: how can I isearch in selected region? Date: Wed, 28 Dec 2005 14:58:55 +0200 Organization: SunSITE.dk - Supporting Open source Message-ID: <86slsd4bu8.fsf@flame.pc> References: <1135766061.130132.72020@g44g2000cwa.googlegroups.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1135781029 25675 80.91.229.2 (28 Dec 2005 14:43:49 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 28 Dec 2005 14:43:49 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Dec 28 15:43:48 2005 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1ErcWm-0006wh-B2 for geh-help-gnu-emacs@m.gmane.org; Wed, 28 Dec 2005 15:43:44 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ErcXe-0007uE-JR for geh-help-gnu-emacs@m.gmane.org; Wed, 28 Dec 2005 09:44:39 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!newsfeed.gamma.ru!Gamma.RU!newsfeed.icl.net!newsfeed.fjserv.net!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.cw.net!cw.net!news-FFM2.ecrc.de!news.net.uni-c.dk!dotsrc.org!news.dotsrc.org!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (berkeley-unix) Cancel-Lock: sha1:6uOQnKhhwKIa8HTWrNSDqhqw4P8= Original-Lines: 18 Original-NNTP-Posting-Host: 62.103.39.226 Original-X-Trace: news.sunsite.dk DXC=6Tc1`WnMN=L^Mj72:ak; I7eU]76nT6d; jI9i?PQo:PNKa8^? Original-X-Complaints-To: staff@sunsite.dk Original-Xref: shelby.stanford.edu gnu.emacs.help:136642 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:32261 Archived-At: On 28 Dec 2005 02:34:21 -0800, "luciferleo" 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 :)