unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* [RFC PATCH v2 0/3] lib/cli/emacs: limit number of messages in search results
@ 2011-10-31 21:18 Jani Nikula
  2011-10-31 21:18 ` [RFC PATCH v2 1/3] lib: add function to get the number of threads matching a search Jani Nikula
                   ` (4 more replies)
  0 siblings, 5 replies; 12+ messages in thread
From: Jani Nikula @ 2011-10-31 21:18 UTC (permalink / raw)
  To: notmuch; +Cc: amdragon

Hi, this is an iteration of id:"cover.1319833617.git.jani@nikula.org" addressing
comments on the list and IRC. Main changes:

* Results are now limited based on threads (not messages) for thread and summary
  output. This is accomplished with a new lib function to count the number of
  threads in matching messages.

* cli part is now inspired by James Vasile's patch
  id:"8739gyw0zh.fsf@opensourcematters.org", with the additional ability to
  limit from the end of result set.

* Bugs reported by Daniel Schoepe fixed.

* Don't show buttons if everything is visible already.

I'm still marking it as RFC. It works for me, but patch 1 might be deemed
unacceptable.


BR,
Jani.


Jani Nikula (3):
  lib: add function to get the number of threads matching a search
  cli: add options --first and --maxitems to notmuch search
  emacs: support limiting the number of results shown in search results

 emacs/notmuch-hello.el |   17 ++++++++++--
 emacs/notmuch.el       |   53 ++++++++++++++++++++++++++++++++++---
 lib/notmuch.h          |   14 ++++++++++
 lib/query.cc           |   40 ++++++++++++++++++++++++++++
 notmuch-search.c       |   67 +++++++++++++++++++++++++++++++++++++++--------
 5 files changed, 171 insertions(+), 20 deletions(-)

-- 
1.7.5.4

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

end of thread, other threads:[~2011-11-06 20:57 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-31 21:18 [RFC PATCH v2 0/3] lib/cli/emacs: limit number of messages in search results Jani Nikula
2011-10-31 21:18 ` [RFC PATCH v2 1/3] lib: add function to get the number of threads matching a search Jani Nikula
2011-10-31 21:18 ` [RFC PATCH v2 2/3] cli: add options --first and --maxitems to notmuch search Jani Nikula
2011-10-31 21:18 ` [RFC PATCH v2 3/3] emacs: support limiting the number of results shown in search results Jani Nikula
2011-11-04 20:54   ` Austin Clements
2011-11-06 20:57     ` Jani Nikula
2011-10-31 21:44 ` [RFC PATCH v2 0/3] lib/cli/emacs: limit number of messages " Jameson Graef Rollins
2011-10-31 22:07   ` Jani Nikula
2011-10-31 22:19     ` Jameson Graef Rollins
2011-11-04 20:21     ` Austin Clements
2011-11-01 12:30 ` David Bremner
2011-11-02  9:27   ` Jani Nikula

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).