Archive of RubyForge sup-talk mailing list
 help / color / mirror / Atom feed
* [sup-talk] searching buffer
@ 2010-11-15 22:14 Brian May
       [not found] ` <AANLkTik7-jqHqu+CSBeFXxVvBOdcytTJPisAGGwbkHbS@mail.gmail.com>
  2010-11-16  0:16 ` Blake Sweeney
  0 siblings, 2 replies; 6+ messages in thread
From: Brian May @ 2010-11-15 22:14 UTC (permalink / raw)
  To: sup-talk

Hello,

When viewing a message, I can use "/text" to search for the first
instance of "text" in the buffer.

How do I repeat this and find the 2nd or even 3rd instance of "text"?

Thanks
-- 
Brian May <brian@microcomaustralia.com.au>
_______________________________________________
sup-talk mailing list
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [sup-talk] searching buffer
       [not found] ` <AANLkTik7-jqHqu+CSBeFXxVvBOdcytTJPisAGGwbkHbS@mail.gmail.com>
@ 2010-11-15 23:58   ` Brian May
  2010-11-16 16:40     ` David J. Hamilton
  0 siblings, 1 reply; 6+ messages in thread
From: Brian May @ 2010-11-15 23:58 UTC (permalink / raw)
  To: sup-talk

On 16 November 2010 10:54, Hamish D <dmishd@gmail.com> wrote:
> Press enter to end the search, then press 'n' to go through subsequent
> matches.

Doesn't work. Instead of going to the next search results, it hides
the results of the last search.

Furthermore, the help on my system says n has a different function:

       n : Jump to next open message

-- 
Brian May <brian@microcomaustralia.com.au>
_______________________________________________
sup-talk mailing list
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [sup-talk] searching buffer
  2010-11-15 22:14 [sup-talk] searching buffer Brian May
       [not found] ` <AANLkTik7-jqHqu+CSBeFXxVvBOdcytTJPisAGGwbkHbS@mail.gmail.com>
@ 2010-11-16  0:16 ` Blake Sweeney
  1 sibling, 0 replies; 6+ messages in thread
From: Blake Sweeney @ 2010-11-16  0:16 UTC (permalink / raw)
  To: sup-talk

Excerpts from Brian May's message of Mon Nov 15 17:14:23 -0500 2010:
> When viewing a message, I can use "/text" to search for the first
> instance of "text" in the buffer.
> 
> How do I repeat this and find the 2nd or even 3rd instance of "text"?

I use 'n'.


Blake
_______________________________________________
sup-talk mailing list
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [sup-talk] searching buffer
  2010-11-15 23:58   ` Brian May
@ 2010-11-16 16:40     ` David J. Hamilton
  2010-11-16 22:30       ` Brian May
  0 siblings, 1 reply; 6+ messages in thread
From: David J. Hamilton @ 2010-11-16 16:40 UTC (permalink / raw)
  To: sup-talk

Excerpts from Brian May's message of Mon Nov 15 15:58:54 -0800 2010:
> On 16 November 2010 10:54, Hamish D <dmishd@gmail.com> wrote:
> > Press enter to end the search, then press 'n' to go through subsequent
> > matches.
> 
> Doesn't work. Instead of going to the next search results, it hides
> the results of the last search.

You might want to retry with all of the messages open.  The search feature seems
to really only search the buffer, and not the “collapsed” text (e.g. message
body text in a closed message).  The same applies to hitting ‘n’ to advance to
the next search result.

-- 
med vänlig hälsning
David J. Hamilton
_______________________________________________
sup-talk mailing list
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [sup-talk] searching buffer
  2010-11-16 16:40     ` David J. Hamilton
@ 2010-11-16 22:30       ` Brian May
  2010-11-17  4:38         ` David J. Hamilton
  0 siblings, 1 reply; 6+ messages in thread
From: Brian May @ 2010-11-16 22:30 UTC (permalink / raw)
  To: sup-talk

On 17 November 2010 03:40, David J. Hamilton <groups@hjdivad.com> wrote:
> You might want to retry with all of the messages open.  The search feature seems
> to really only search the buffer, and not the “collapsed” text (e.g. message
> body text in a closed message).  The same applies to hitting ‘n’ to advance to
> the next search result.

Yes, tried that.

Like I said, 'n' hides all the existing search results.

'n' would appear to map to the "Jump to next open message" function,
not the "find next search result" function.
-- 
Brian May <brian@microcomaustralia.com.au>
_______________________________________________
sup-talk mailing list
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [sup-talk] searching buffer
  2010-11-16 22:30       ` Brian May
@ 2010-11-17  4:38         ` David J. Hamilton
  0 siblings, 0 replies; 6+ messages in thread
From: David J. Hamilton @ 2010-11-17  4:38 UTC (permalink / raw)
  To: sup-talk

Excerpts from Brian May's message of Tue Nov 16 14:30:09 -0800 2010:
> On 17 November 2010 03:40, David J. Hamilton <groups@hjdivad.com> wrote:
> > You might want to retry with all of the messages open.  The search feature seems
> > to really only search the buffer, and not the “collapsed” text (e.g. message
> > body text in a closed message).  The same applies to hitting ‘n’ to advance to
> > the next search result.
> 
> Yes, tried that.
> 
> Like I said, 'n' hides all the existing search results.

In that case, my local copy of sup (v0.11 on ruby 1.8.7) is just behaving
differently from yours for some reason.  If I search for text using ‘/’,
subsequently hitting ‘n’ moves to the next instance.  However, if I hit
something like ‘j’ or ‘k’ then the search is unhighlighted and ‘n’ switches back
to its “Jump to next open message” function.

The only other thing I can think of is that when I run a search in a buffer that has
no results, ‘n’ never changes from its “Jump to next open message” function.


In any case, if somebody more knowledgeable than me gets to your question,
hopefully they can shed some light on how one can do a search (in a thread
buffer) of an entire thread's content, and not merely the content of the open
messages.

-- 
med vänlig hälsning
David J. Hamilton
_______________________________________________
sup-talk mailing list
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-11-17  6:29 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-15 22:14 [sup-talk] searching buffer Brian May
     [not found] ` <AANLkTik7-jqHqu+CSBeFXxVvBOdcytTJPisAGGwbkHbS@mail.gmail.com>
2010-11-15 23:58   ` Brian May
2010-11-16 16:40     ` David J. Hamilton
2010-11-16 22:30       ` Brian May
2010-11-17  4:38         ` David J. Hamilton
2010-11-16  0:16 ` Blake Sweeney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox