Archive of RubyForge sup-talk mailing list
 help / color / mirror / Atom feed
* [sup-talk] [PATCH] fixed crasher when refining search and updated keybinding
@ 2008-01-26  5:32 Christopher Warrington
  2008-01-27 17:01 ` John Bent
  2008-02-03  2:34 ` William Morgan
  0 siblings, 2 replies; 7+ messages in thread
From: Christopher Warrington @ 2008-01-26  5:32 UTC (permalink / raw)


Refine search no longer crashes. Also, the keybinding has been updated
to reflect the new global search keybinding. | seems to be a shifted \
on most standard 104-key keyboards.
---
 lib/sup/modes/search-results-mode.rb |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/lib/sup/modes/search-results-mode.rb b/lib/sup/modes/search-results-mode.rb
index f64a227..6fdc58a 100644
--- a/lib/sup/modes/search-results-mode.rb
+++ b/lib/sup/modes/search-results-mode.rb
@@ -9,13 +9,13 @@ class SearchResultsMode < ThreadIndexMode
   end
 
   register_keymap do |k|
-    k.add :refine_search, "Refine search", '.'
+    k.add :refine_search, "Refine search", '|'
   end
 
   def refine_search
-    query = BufferManager.ask :search, "query: ", (@qobj.to_s + " ")
+    query = BufferManager.ask :search, "refine query: ", (@qobj.to_s + " ")
     return unless query && query !~ /^\s*$/
-    SearchResultsMode.spawn_from_query query, @qopts
+    SearchResultsMode.spawn_from_query query
   end
 
   ## a proper is_relevant? method requires some way of asking ferret
-- 
1.5.3.8



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

end of thread, other threads:[~2008-02-03  5:09 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-01-26  5:32 [sup-talk] [PATCH] fixed crasher when refining search and updated keybinding Christopher Warrington
2008-01-27 17:01 ` John Bent
2008-02-03  2:35   ` William Morgan
2008-02-03  2:34 ` William Morgan
2008-02-03  3:49   ` [sup-talk] [PATCH] fixed crasher when refining search Christopher Warrington
2008-02-03  3:49   ` [sup-talk] [PATCH] tweaked Refine Search keybinding Christopher Warrington
2008-02-03  5:09     ` William Morgan

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