From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?Andreas_R=F6hler?= Newsgroups: gmane.emacs.help Subject: Re: Searching for the same text, in the same sessions but in a different window Date: Sat, 27 Feb 2010 16:52:18 +0100 Message-ID: <4B893FB2.8040107@easy-emacs.de> References: <27721312.post@talk.nabble.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1267285890 27255 80.91.229.12 (27 Feb 2010 15:51:30 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 27 Feb 2010 15:51:30 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Feb 27 16:51:26 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1NlOwB-00024E-1d for geh-help-gnu-emacs@m.gmane.org; Sat, 27 Feb 2010 16:50:39 +0100 Original-Received: from localhost ([127.0.0.1]:40653 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NlOwA-0007d9-6R for geh-help-gnu-emacs@m.gmane.org; Sat, 27 Feb 2010 10:50:38 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NlOvl-0007cN-1s for help-gnu-emacs@gnu.org; Sat, 27 Feb 2010 10:50:13 -0500 Original-Received: from [140.186.70.92] (port=33712 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NlOvi-0007bQ-Np for help-gnu-emacs@gnu.org; Sat, 27 Feb 2010 10:50:12 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NlOvh-0005uk-KN for help-gnu-emacs@gnu.org; Sat, 27 Feb 2010 10:50:10 -0500 Original-Received: from moutng.kundenserver.de ([212.227.17.10]:58894) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NlOvh-0005uF-8q for help-gnu-emacs@gnu.org; Sat, 27 Feb 2010 10:50:09 -0500 Original-Received: from [192.168.178.27] (p54BEBAA2.dip0.t-ipconnect.de [84.190.186.162]) by mrelayeu.kundenserver.de (node=mreu1) with ESMTP (Nemesis) id 0MSmkD-1OCeZn09cD-00Rusc; Sat, 27 Feb 2010 16:50:06 +0100 User-Agent: Thunderbird 2.0.0.19 (X11/20081227) In-Reply-To: <27721312.post@talk.nabble.com> X-Provags-ID: V01U2FsdGVkX18sHGLlJL7StkcgcTuep+eOsoSJSJxP8XbKF7D OVeq6HNz5XDMo/D/IFS9zpHTv8lUvyxYLYNfY2Xh2nfeA+fo/W PM72+PxGqUMlH0gpLX3cz8gcHRr7qTIq2aRfzdUPFI= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. 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:72209 Archived-At: jrocha wrote: > Hello All, > > I have recently started using emacs in the Linux environment. I am using > emacs version 21.3.1 on a SUSE SP1 install of Linux. This is the version > used by our company, and I don't get to control the Linux version. > > Anyway, I use emacs quite a bit on Solaris platforms and the functionality I > was use to was as follows: > > 1. Use emacs to view a text file. > > 2. Move the cursor to the beginning of a word I want to search for, hit > CTRL-S to start the search and then CTRL-W to expand the search for the > whole word. > > 3. At this point I can CTRL-S through the file in this window and search for > this selected word. > > 4. Next I use CTRL-X 5 2 to open a new window, and in that window I open a > different text file. > > 5. At this point I can do CTRL-S to search for the string I was looking for > back in step 3,in the first file. > > 6. I start a NEW search in this second window for some other string. Using > the same method. CTRL-S to start the search, CTRL-W to search for the word, > etc. This is done in window #2. > > 7. Now, if I go back to window #1 and invoke CTRL-S in the old window, I > want to search for the new string in the old (#1) window too. > > This works fine in my Solaris emacs, but this is not the behavior in Linux > emacs. In Linux emacs, it remembers my OLD search string and searches for > that instead. Its like the search string is relevant to the window. I don't > want the Linux behavior. > > I've tried looking through options, but I haven't stumbled across any > settings to adjust this behavior. > > Does anyone know if this is a limation of Emacs on Linux, or is it > controllable by customization? > > Thanks in advance, > > -=John Hi, with GNU Emacs 23.1.92.1 (i686-pc-linux-gnu, GTK+ Version 2.12.0) of 2010-02-19 on Suse10.3 behaviour is as you described at Solaris. Have a look if/how isearch related variables are customized or set local. Andreas