From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mathias Dahl Newsgroups: gmane.emacs.help Subject: Re: how can I isearch in selected region? Date: Fri, 30 Dec 2005 08:59:42 +0100 Message-ID: References: <1135766061.130132.72020@g44g2000cwa.googlegroups.com> <86slsd4bu8.fsf@flame.pc> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1135929938 11062 80.91.229.2 (30 Dec 2005 08:05:38 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 30 Dec 2005 08:05:38 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Dec 30 09:05:38 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 1EsFGa-000343-Od for geh-help-gnu-emacs@m.gmane.org; Fri, 30 Dec 2005 09:05:37 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EsFHy-0000ps-Ex for geh-help-gnu-emacs@m.gmane.org; Fri, 30 Dec 2005 03:07:02 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 12 Original-X-Trace: individual.net ff7utwXbS0+aujQfKgRe4QTfcRKlr6sS1sXUGWqxFlIEbzrY5h User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) Cancel-Lock: sha1:LPERoBttvGaRJTB8u+JT1u8yzsA= Original-Xref: shelby.stanford.edu gnu.emacs.help:136684 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:32303 Archived-At: Giorgos Keramidas writes: > 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 :) I use replace-string without narrowing, with transient-mark-mode, and it works good too.