all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Brange <lars.brange@aurum.se>
Subject: Re: Window remembering last used buffer and i-search
Date: Tue, 27 May 2003 07:39:01 GMT	[thread overview]
Message-ID: <3ED31687.C8FB626A@aurum.se> (raw)
In-Reply-To: mailman.6815.1054020561.21513.help-gnu-emacs@gnu.org

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	other threads:[~2003-05-27  7:39 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.6815.1054020561.21513.help-gnu-emacs@gnu.org>
2003-05-27  7:39 ` Lars Brange [this message]
2003-05-27  7:20 Window remembering last used buffer and i-search Rene Reitinger
  -- strict thread matches above, loose matches on Subject: below --
2003-05-27  7:08 Lars Brange
2003-05-27  7:47 ` Kai Großjohann
2003-05-27 10:43 ` Oliver Scholz
2003-05-27 15:55   ` Kevin Rodgers
2003-05-28  7:01     ` Lars Brange

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3ED31687.C8FB626A@aurum.se \
    --to=lars.brange@aurum.se \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.