From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: kai.grossjohann@uni-duisburg.de (Kai =?iso-8859-1?q?Gro=DFjohann?=) Newsgroups: gmane.emacs.help Subject: Re: Search Next Date: Tue, 10 Dec 2002 09:49:38 +0100 Organization: University of Dortmund, Germany Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <84n0nep8bh.fsf@lucy.cs.uni-dortmund.de> References: <1P2J9.122644$Gc.3967898@twister.austin.rr.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1039510401 25989 80.91.224.249 (10 Dec 2002 08:53:21 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 10 Dec 2002 08:53:21 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18Lg8l-0006l3-00 for ; Tue, 10 Dec 2002 09:53:19 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18Lg66-0004nB-04 for gnu-help-gnu-emacs@m.gmane.org; Tue, 10 Dec 2002 03:50:34 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!syros.belnet.be!news.belnet.be!feed.news.nacamar.de!fu-berlin.de!uni-berlin.de!lucy.is.informatik.uni-duisburg.DE!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 20 Original-NNTP-Posting-Host: lucy.is.informatik.uni-duisburg.de (134.91.35.216) Original-X-Trace: fu-berlin.de 1039510178 33606083 134.91.35.216 (16 [73968]) User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50 (i686-pc-linux-gnu) Cancel-Lock: sha1:z2WlReHT0uGCBBiHUHLCd5PeRoc= Original-Xref: shelby.stanford.edu gnu.emacs.help:107921 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:4466 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:4466 "CarlC" writes: > session stores search-ring as a global list of search strings. C-s > C-s works from the last string in this global list. I want to > remember the last search string for the individual file. Sounds like an interesting feature, but I don't think Emacs has it. Hm. I can't find the variable that would hold the history for isearch. What happens if you do M-: (make-local-variable 'isearch-string) RET in a buffer? Then C-s C-s in that buffer should remember the last search from that buffer, instead of the last search in any buffer. If you really want that for all buffers, then (require 'isearch) and then (make-variable-buffer-local 'isearch-string) might be an incantation to add to .emacs. -- ~/.signature is: umop ap!sdn (Frank Nobis)