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 19:06:15 +0100 Organization: University of Dortmund, Germany Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <84vg21yciw.fsf@lucy.cs.uni-dortmund.de> References: <1P2J9.122644$Gc.3967898@twister.austin.rr.com> <84n0nep8bh.fsf@lucy.cs.uni-dortmund.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1039546440 18490 80.91.224.249 (10 Dec 2002 18:54:00 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 10 Dec 2002 18:54:00 +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 18LpW2-0004nu-00 for ; Tue, 10 Dec 2002 19:53:58 +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 18LpT8-0006D1-0C for gnu-help-gnu-emacs@m.gmane.org; Tue, 10 Dec 2002 13:50:58 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!canoe.uoregon.edu!arclight.uoregon.edu!wn14feed!worldnet.att.net!206.252.192.28!news.stealth.net!news.stealth.net!fu-berlin.de!uni-berlin.de!p50877c65.dip.t-dialin.NET!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 18 Original-NNTP-Posting-Host: p50877c65.dip.t-dialin.net (80.135.124.101) Original-X-Trace: fu-berlin.de 1039546099 34184399 80.135.124.101 (16 [73968]) User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50 (i686-pc-linux-gnu) Cancel-Lock: sha1:o3+/Bzaftp5gOpJHbYKznXWUAzw= Original-Xref: shelby.stanford.edu gnu.emacs.help:107963 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:4500 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:4500 "CarlC" writes: > I don't want to completely segregate search strings between buffers. When I > save a file, I want emacs to "remember" the latest search string so that > when I re-edit the file, C-s C-s will use that string. If I save one file > right after another, they would have the same search string saved. Seems > trivial, but is useful in our environment. I'm afraid you have to do it yourself, then. It's not clear to me how to find out if two files are saved `right after another'. Hm. You would have to arrange for Emacs to save the search strings in an extra file on exit. Hm. desktop.el can already save some things, and I think it can be configured to save more, so you might be able to hook into that. -- ~/.signature is: umop ap!sdn (Frank Nobis)