[PATCH] emacs: functions to import sender or recipient into BBDB

2012-10-20 Thread Tomi Ollila
On Sat, Oct 20 2012, Jameson Graef Rollins wrote: > On Sat, Oct 20 2012, Tomi Ollila wrote: >> I was thinking notmuch-bbdb.el but contrib/notmuch-bbdb.el could be >> good start. > > I find this functionality to be really useful. I don't know if we have > a method of distributing/packaging

[PATCH] lib: fix warnings when building with clang

2012-10-20 Thread Ethan Glasser-Camp
Jani Nikula writes: > Building notmuch with CC=clang and CXX=clang++ produces the warnings: > > CC -O2 lib/tags.o > lib/tags.c:43:5: warning: expression result unused [-Wunused-value] > talloc_steal (tags, list); > ^ > /usr/include/talloc.h:345:143: note: expanded

[PATCH V3 1/2] test/smtp-dummy: add --background option and functionality

2012-10-20 Thread David Bremner
Tomi Ollila writes: > From: Tomi Ollila > > When shell executes background process using '&' the scheduling of > that new process is arbitrary. It could be that smtp-dummy doesn't > get execution time to listen() it's server socket until some other > process attempts to connect() to it. The

[PATCH] test: another test wrt ignoring user-specified files and directories

2012-10-20 Thread David Bremner
Ethan Glasser-Camp writes: > This is the trivial modification of Pieter's patch that makes it work > no matter where your test directory is. pushed patches 3 though 6, d And yes, _this_ is the series where I used Ethan's edited patch.

[PATCH v2 1/7] test: emacs: new tests "notmuch-show: {show, hide} message headers"

2012-10-20 Thread David Bremner
Pieter Praet writes: > * test/emacs: > > - New subtest "notmuch-show: show message headers": > - New subtest "notmuch-show: hide message headers": > - New subtest "notmuch-show: hide message headers (w/ > notmuch-show-toggle-head pushed (with Ethan's edit) d

[PATCH 7/8] lib: add NOTMUCH_EXCLUDE_FLAG to notmuch_exclude_t

2012-10-20 Thread Tomi Ollila
On Sat, Oct 20 2012, Ethan Glasser-Camp wrote: > Ethan Glasser-Camp writes: > >> It looks like you have better wording for patch 4/8 so I'd like to see >> you resend it. >> >> I'm marking patches 3, 4, and 7 as moreinfo. Please resubmit! > > It turns out that patch 4 already has a v2 in the

[PATCH] emacs: functions to import sender or recipient into BBDB

2012-10-20 Thread Tomi Ollila
On Sat, Oct 20 2012, Ethan Glasser-Camp wrote: > Daniel Bergey writes: > >> From a show buffer, bbdb/notmuch-snarf-from imports the sender into >> bbdb. bbdb/notmuch-snarf-to attempts to import all recipients. BBDB >> displays a buffer with each contact; C-g displays the next contact, or >>

[PATCH V3 1/2] test/smtp-dummy: add --background option and functionality

2012-10-20 Thread Ethan Glasser-Camp
Tomi Ollila writes: > From: Tomi Ollila > > When shell executes background process using '&' the scheduling of > that new process is arbitrary. It could be that smtp-dummy doesn't > get execution time to listen() it's server socket until some other > process attempts to connect() to it. The

[PATCHv3] notmuch-show: include Bcc header in json output

2012-10-20 Thread Ethan Glasser-Camp
Michal Nazarewicz writes: > From: Michal Nazarewicz > > With this change, emacs users can use notmuch-message-headers > variable to configure notmuch-show display Bcc header. > --- This patch looks pretty straightforward and has seen a certain amount of review so I'm taking off needs-review.

[PATCH v2 0/2] Add flush/reopen methods to notmuch_database_t

2012-10-20 Thread Ethan Glasser-Camp
Jani Nikula writes: > On Wed, 17 Oct 2012, Adrien Bustany wrote: >> The code of the patches in unchanged, but the formatting issues are now >> hopefully fixed. > > Hi Adrien, please check at what version flush and reopen have been > introduced to xapian. If they are new-ish (I don't know,

[PATCH] emacs: functions to import sender or recipient into BBDB

2012-10-20 Thread Jameson Graef Rollins
tually integrated, lets just put it in emacs/notmuch-bbdb.el. jamie. -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 835 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments

random corpus generator, v3

2012-10-20 Thread Ethan Glasser-Camp
david at tethera.net writes: > This obsoletes the series at: > > id:"134431-4301-1-git-send-email-bremner at debian.org" > > Changes since v2: > > - clean up new test-binaries and objects > > - remove the "set -o pipefail" leftover from debugging. Possibly this > makes sense as a

Re: [PATCH] emacs: functions to import sender or recipient into BBDB

2012-10-20 Thread Tomi Ollila
On Sat, Oct 20 2012, Ethan Glasser-Camp wrote: Daniel Bergey ber...@alum.mit.edu writes: From a show buffer, bbdb/notmuch-snarf-from imports the sender into bbdb. bbdb/notmuch-snarf-to attempts to import all recipients. BBDB displays a buffer with each contact; C-g displays the next

Re: [PATCH 7/8] lib: add NOTMUCH_EXCLUDE_FLAG to notmuch_exclude_t

2012-10-20 Thread Tomi Ollila
On Sat, Oct 20 2012, Ethan Glasser-Camp wrote: Ethan Glasser-Camp ethan.glasser.c...@gmail.com writes: It looks like you have better wording for patch 4/8 so I'd like to see you resend it. I'm marking patches 3, 4, and 7 as moreinfo. Please resubmit! It turns out that patch 4 already has

Re: [PATCH v2 0/2] Add flush/reopen methods to notmuch_database_t

2012-10-20 Thread Ethan Glasser-Camp
Jani Nikula j...@nikula.org writes: On Wed, 17 Oct 2012, Adrien Bustany adr...@bustany.org wrote: The code of the patches in unchanged, but the formatting issues are now hopefully fixed. Hi Adrien, please check at what version flush and reopen have been introduced to xapian. If they are

Re: [PATCHv3] notmuch-show: include Bcc header in json output

2012-10-20 Thread Ethan Glasser-Camp
Michal Nazarewicz m...@google.com writes: From: Michal Nazarewicz min...@mina86.com With this change, emacs users can use notmuch-message-headers variable to configure notmuch-show display Bcc header. --- This patch looks pretty straightforward and has seen a certain amount of review so I'm

Re: [PATCH V3 1/2] test/smtp-dummy: add --background option and functionality

2012-10-20 Thread Ethan Glasser-Camp
Tomi Ollila tomi.oll...@iki.fi writes: From: Tomi Ollila t...@iki.fi When shell executes background process using '' the scheduling of that new process is arbitrary. It could be that smtp-dummy doesn't get execution time to listen() it's server socket until some other process attempts to

Re: [PATCH] emacs: functions to import sender or recipient into BBDB

2012-10-20 Thread Jameson Graef Rollins
On Sat, Oct 20 2012, Tomi Ollila tomi.oll...@iki.fi wrote: I was thinking notmuch-bbdb.el but contrib/notmuch-bbdb.el could be good start. I find this functionality to be really useful. I don't know if we have a method of distributing/packaging stuff in contrib, and since I would prefer to see

Re: [PATCH] emacs: functions to import sender or recipient into BBDB

2012-10-20 Thread Tomi Ollila
On Sat, Oct 20 2012, Jameson Graef Rollins jroll...@finestructure.net wrote: On Sat, Oct 20 2012, Tomi Ollila tomi.oll...@iki.fi wrote: I was thinking notmuch-bbdb.el but contrib/notmuch-bbdb.el could be good start. I find this functionality to be really useful. I don't know if we have a

Re: [PATCH v2 1/7] test: emacs: new tests notmuch-show: {show, hide} message headers

2012-10-20 Thread David Bremner
Pieter Praet pie...@praet.org writes: * test/emacs: - New subtest notmuch-show: show message headers: - New subtest notmuch-show: hide message headers: - New subtest notmuch-show: hide message headers (w/ notmuch-show-toggle-head pushed (with Ethan's edit) d

Re: [PATCH] test: another test wrt ignoring user-specified files and directories

2012-10-20 Thread David Bremner
Ethan Glasser-Camp ethan.glasser.c...@gmail.com writes: This is the trivial modification of Pieter's patch that makes it work no matter where your test directory is. pushed patches 3 though 6, d And yes, _this_ is the series where I used Ethan's edited patch.

Re: [PATCH V3 1/2] test/smtp-dummy: add --background option and functionality

2012-10-20 Thread David Bremner
Tomi Ollila tomi.oll...@iki.fi writes: From: Tomi Ollila t...@iki.fi When shell executes background process using '' the scheduling of that new process is arbitrary. It could be that smtp-dummy doesn't get execution time to listen() it's server socket until some other process attempts to

Re: [PATCH 7/8] lib: add NOTMUCH_EXCLUDE_FLAG to notmuch_exclude_t

2012-10-20 Thread Peter Wang
On Fri, 19 Oct 2012 01:15:31 -0400, Ethan Glasser-Camp ethan.glasser.c...@gmail.com wrote: Peter Wang noval...@gmail.com writes: Add NOTMUCH_EXCLUDE_FLAG to notmuch_exclude_t so that it can cover all four values of search --exclude in the cli. This series looks good to me. It's a nice

Re: [PATCH v2 3/3] test: conform to content length, encoding fields

2012-10-20 Thread Peter Wang
On Fri, 19 Oct 2012 22:21:46 -0400, Ethan Glasser-Camp ethan.glasser.c...@gmail.com wrote: diff --git a/test/json b/test/json index ac8fa8e..8ce2e8a 100755 --- a/test/json +++ b/test/json @@ -45,7 +45,7 @@ emacs_deliver_message \ (insert \Message-ID: $id\n\) output=$(notmuch

[PATCH v3] test: conform to content length, encoding fields

2012-10-20 Thread Peter Wang
Update tests to expect content-length and content-transfer-encoding fields in show --format=json output, for leaf parts with omitted body content. --- test/crypto| 30 +- test/json | 4 +++- test/multipart | 9 + 3 files changed, 29 insertions(+), 14