help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Window remembering last used buffer and i-search


From: Lars Brange
Subject: Re: Window remembering last used buffer and i-search
Date: Tue, 27 May 2003 07:39:01 GMT

I know. What I want to do is that I want to have different i-search strings for
each buffer. Let's say I start a search for "main" in one buffer and then
switch to another buffer and search for "sub". When I switch back to the first
buffer and hit C-s twice I want it to use "main", not "sub".

Lars

Rene Reitinger wrote:

> Hi,
>
> when yu call i-search using C-s simply hit C-s again, and it will search
> for the last used search string.
>
> Cheers
> Rene
>
> Lars Brange wrote:
>
>  > 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
>  >
>  >
>  > _______________________________________________
>  > Help-gnu-emacs mailing list
>  > Help-gnu-emacs@gnu.org
>  > http://mail.gnu.org/mailman/listinfo/help-gnu-emacs
>  >
>  >
>
> --
> Rene Reitinger
> Research student
> School for Computer Sciences and Engineering
> The University of New South Wales, Sydney
> NSW 2052,  Australia
>
> email: rener@cse.unsw.edu.au
> http://www.cse.unsw.edu.au/
>
> Disclaimer:
> http://www.eng.unsw.edu.au/emaildis.htm
>
> --
> Rene Reitinger
> Research student
> School for Computer Sciences and Engineering
> The University of New South Wales, Sydney
> NSW 2052,  Australia
>
> email: rener@cse.unsw.edu.au
> http://www.cse.unsw.edu.au/
>
> Disclaimer:
> http://www.eng.unsw.edu.au/emaildis.htm





reply via email to

[Prev in Thread] Current Thread [Next in Thread]