From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Lars Brange Newsgroups: gmane.emacs.help Subject: Window remembering last used buffer and i-search Date: Tue, 27 May 2003 07:08:03 GMT Organization: AURUM Scandinavia AB Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <3ED30F45.54A115F1@aurum.se> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1054019976 12186 80.91.224.249 (27 May 2003 07:19:36 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 27 May 2003 07:19:36 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Tue May 27 09:19:34 2003 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 19KYkA-0003AF-00 for ; Tue, 27 May 2003 09:19:34 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19KYbS-0005Un-R9 for gnu-help-gnu-emacs@m.gmane.org; Tue, 27 May 2003 03:10:34 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!cyclone.bc.net!newsfeed.media.kyoto-u.ac.jp!newsfeed.icl.net!newsfeed.fjserv.net!news.algonet.se!algonet!news-stob.telia.net!telia.net!217.209.241.173.MISMATCH!masternews.telia.net.!newsb.telia.net.POSTED!not-for-mail X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U) X-Accept-Language: en Original-Newsgroups: gnu.emacs.help Original-Lines: 20 Original-NNTP-Posting-Host: 213.65.17.201 Original-X-Complaints-To: abuse@telia.com Original-X-Trace: newsb.telia.net 1054019283 213.65.17.201 (Tue, 27 May 2003 09:08:03 CEST) Original-NNTP-Posting-Date: Tue, 27 May 2003 09:08:03 CEST Original-Xref: shelby.stanford.edu gnu.emacs.help:113715 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:10209 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:10209 Hello, Is there any function or extension to emacs 21.2.1 that let each window remember its last used buffer and last i-search string? I often have the same buffer open in two windows and then switch to another buffer in one of the windows. I then want to switch back to the first buffer again in that window (ie I have the same buffer in the two windows again). The problem is that emacs suggest the second last used buffer for *all* emacs windows, not the one I'm currently using. This means I have to enter the buffer name again; I don't want to do that... Also, I would like emacs to remember the last i-search string for each window or buffer. Now I have a global i-search string for all windows/buffers. Thanks in advance, Lars Brange