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 20:59:44 GMT	[thread overview]
Message-ID: <4BsJ9.128669$Gc.4330785@twister.austin.rr.com> (raw)
In-Reply-To: 84vg21yciw.fsf@lucy.cs.uni-dortmund.de

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


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

It doesn't matter to me when a file is saved. I just want to have the search
string saved with that file. From what I have read, desktop.el is not what I
want. I think that session.el _can_ do what I want, but am having trouble
saving isearch-string as a local variable. Let's say that I open file A,
search for "123", make some mods and then save file A. When I open file B,
C-s C-s will do a search for "123" if I use session.el. I want this to do a
search on the string that was used when I last saved file B, not file A.

My impression of desktop.el is that it will resume my last session exactly
as I left it. All buffers opened with cursor in last position, etc. I just
want to be able to open a file explicitly and retain position and search
string from the previous edit of that file.

  reply	other threads:[~2002-12-10 20:59 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
2002-12-10 18:06         ` Kai Großjohann
2002-12-10 20:59           ` CarlC [this message]
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='4BsJ9.128669$Gc.4330785@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.