all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "CarlC" <carlc@snowbd.com>
Subject: Re: Search Next
Date: Tue, 10 Dec 2002 14:10:32 GMT	[thread overview]
Message-ID: <sBmJ9.126327$Gc.4290006@twister.austin.rr.com> (raw)
In-Reply-To: 84n0nep8bh.fsf@lucy.cs.uni-dortmund.de

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1051 bytes --]

"Kai Großjohann" <kai.grossjohann@uni-duisburg.de> wrote in message
news:84n0nep8bh.fsf@lucy.cs.uni-dortmund.de...
> "CarlC" <carlc@snowbd.com> 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.

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.

  reply	other threads:[~2002-12-10 14:10 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-09 15:39 Search Next CarlC
2002-12-09 15:52 ` Galen Boyer
     [not found]   ` <KI4J9.122660$Gc.3983550@twister.austin.rr.com>
2002-12-09 21:16     ` Kevin Rodgers
2002-12-10  8:49     ` Kai Großjohann
2002-12-10 14:10       ` CarlC [this message]
2002-12-10 18:06         ` Kai Großjohann
2002-12-10 20:59           ` CarlC
2002-12-11 16:27             ` Kai Großjohann
2002-12-13 23:21         ` Alan Mackenzie
2002-12-14 19:56           ` Stefan Monnier <foo@acm.com>
2002-12-10 11:15 ` ken
2002-12-12 15:23 ` Benjamin Riefenstahl

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='sBmJ9.126327$Gc.4290006@twister.austin.rr.com' \
    --to=carlc@snowbd.com \
    /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.