[PATCH v2 00/11] Add filesize index, search, sort & emacs UI

Ioan-Adrian Ratiu adi at adirat.com
Thu May 18 15:26:57 PDT 2017


I'd like to add a feature to quickly work with mail file sizes
because using custom scripts / external programs which parse
maildir contents is slow, and non-intuitive, especially since
notmuch does incremental parsing and has such a nice emacs UI.


Ioan-Adrian Ratiu (11):
  lib: message: index message file sizes
  lib: database: store message filesize & add range processor
  notmuch-search: add filesize based sort order
  emacs: make notmuch-search-oldest-first generic
  emacs: notmuch-search: add filesize sorting
  sprinter: add unsigned_long printer function
  lib: thread: add thread total size function
  notmuch-search: output total_filesize thread result
  notmuch-show: export message filesize
  emacs: notmuch-search: add display thread sizes capability
  emacs: notmuch-show: add filesize to headerline

 devel/schemata         |  1 +
 doc/notmuch-emacs.rst  |  4 ++--
 emacs/notmuch-hello.el | 24 +++++++++++++-----------
 emacs/notmuch-jump.el  | 11 +++++------
 emacs/notmuch-lib.el   |  9 ++++++---
 emacs/notmuch-show.el  |  5 ++++-
 emacs/notmuch-tree.el  |  2 +-
 emacs/notmuch.el       | 48 +++++++++++++++++++++++++++++++++---------------
 lib/database-private.h |  1 +
 lib/database.cc        |  6 ++++++
 lib/index.cc           | 10 ++++++++++
 lib/message-file.c     | 18 +++++++++++++++++-
 lib/message.cc         | 29 +++++++++++++++++++++++++++++
 lib/notmuch-private.h  | 16 ++++++++++++++++
 lib/notmuch.h          | 21 +++++++++++++++++++++
 lib/query.cc           |  6 ++++++
 lib/thread.cc          | 12 ++++++++++++
 notmuch-search.c       |  8 +++++++-
 notmuch-show.c         |  5 +++++
 sprinter-json.c        |  9 +++++++++
 sprinter-sexp.c        |  9 +++++++++
 sprinter-text.c        |  9 +++++++++
 sprinter.h             |  1 +
 23 files changed, 223 insertions(+), 41 deletions(-)

-- 
2.13.0



More information about the notmuch mailing list