Subject: [sup-talk] searching current buffer

From: [email-masked] (Ian Taylor)
Date: Mon, 05 Nov 2007 13:26:24 -0500

I find myself wanting to search emails and the current buffer all the
time. Is there a way to do this? I was looking at adding a search for
the filebrowser view, but then decided that it should probably be for
every buffer, not just that one. If this needs to be implemented, where
would be the likely place for it?

I keep hitting '/' when wanting search the current buffer, which is
currently for searching all messages. Is this left over from mutt? If
not, it seems to kind of clash with behavior of many other unix
programs. Anyone else feel this should change?

-- 
Ian Taylor

---

From: [email-masked] (William Morgan)
Date: Mon, 05 Nov 2007 10:37:17 -0800

Excerpts from Ian Taylor's message of Mon Nov 05 10:26:24 -0800 2007:
> time. Is there a way to do this?

Definitely on the near-term TODO. There was a patch to do this in a
limited way a few weeks back from Eyal Oren. I'm not sure if he's
planning on further work or not. Doing it "right" is a little
complicated.

> If this needs to be implemented, where would be the likely place for
> it?

Mostly in scroll-mode, with a little bit in line-cursor-mode to
move the cursor around, and maybe some in thread-view-mode to expand
messages before searching. To do highlighting, scroll-mode as well.

> programs. Anyone else feel this should change?

I'd be amenable to change. What should the global search command be
then?

-- 
William <wmorgan-sup at masanjin.net>

---

From: [email-masked] (Eyal Oren)
Date: Mon, 05 Nov 2007 21:37:07 +0100

> planning on further work or not. Doing it "right" is a little
I went back to mutt for a couple of weeks, but couldn't resist. So I'm back at 
sup again now, and I might continue my very simple first attempts in the near 
future with the tips you gave me.

 -eyal

---

From: [email-masked] (William Morgan)
Date: Mon, 05 Nov 2007 16:24:32 -0800

Excerpts from Eyal Oren's message of Mon Nov 05 12:37:07 -0800 2007:
> I went back to mutt for a couple of weeks, but couldn't resist. So I'm
> back at sup again now, and I might continue my very simple first
> attempts in the near future with the tips you gave me.

Actually I got so excited by your patch that I started working on it. I
might be able to check something in today or tomorrow! Just a few
remaining tweaks. Stay tuned...