diff options
author | Carl Worth <cworth@cworth.org> | 2009-11-23 20:12:57 -0800 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2009-11-23 20:17:37 -0800 |
commit | 1fd8b7866f189a66e4491b01452f476371759f91 (patch) | |
tree | 9ba352943bb700f093946f3070c69bae6b568455 /notmuch-show.c | |
parent | f6158039324e44159d449b459829dc7ad4e52acc (diff) |
notmuch search: Remove the chunked-searching hack.
This was a poor workaround around the fact that the existing
notmuch_threads_t object is implemented poorly. It's got a fine
iterartor-based interface, but the implementation does all of the
work up-front in _create rather than doing the work incrementally
while iterating.
So to start fixing this, first get rid of all the hacks we had working
around this. This drops the --first and --max-threads options from the
search command, (but hopefully nobody was using them
anyway---notmuch.el certainly wasn't).
Diffstat (limited to 'notmuch-show.c')
-rw-r--r-- | notmuch-show.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/notmuch-show.c b/notmuch-show.c index c7f1320..edebaca 100644 --- a/notmuch-show.c +++ b/notmuch-show.c @@ -238,7 +238,7 @@ notmuch_show_command (void *ctx, unused (int argc), unused (char *argv[])) return 1; } - for (threads = notmuch_query_search_threads (query, 0, -1); + for (threads = notmuch_query_search_threads (query); notmuch_threads_has_more (threads); notmuch_threads_advance (threads)) { |