Bug in remote use of notmuch

2010-11-10 Thread Mark Walters
I am experimenting with using notmuch remotely over ssh (as in the NEWS file; i.e. with a script containing ssh user at host notmuch "$@") This is mostly excellent but it seems to get confused by some queries. For example those containing brackets or just consisting of *. I think this is a problem

[ann] (incomplete) go bindings to libnotmuch

2010-11-10 Thread Sebastien Binet
hi there, mainly to familiarize myself with the go language, I wrapped the libnotmuch library and reaped off Sebastian's vala-addressbooklookup program into a go version. the buggy and incomplete code is there: http://bitbucket.org/binet/go-notmuch/src cheers, sebastien.

[PATCH] test: Better handling of stdout and stderr

2010-11-10 Thread Carl Worth
--- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20101110/9c551260/attachment.pgp>

[PATCH] test: Better handling of stdout and stderr

2010-11-10 Thread Carl Worth
project itself. -- carl.d.worth at intel.com -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20101110/2e0330b6/attachment.pgp>

[PATCH v4 0/4] Maildir synchronization

2010-11-10 Thread Carl Worth
part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20101110/a0379d8b/attachment.pgp>

[PATCH] test: More maildir synchronization tests

2010-11-10 Thread Michal Sojka
Add maildir synchronization tests for multiple messages with the same message-id. As this is not yet implemented in notmuch, some of these teste are marked as BROKEN. I use $(< ) operator to avoid fiddling with stripped trailing newlines from test results which happens when output+=$(command) is

[PATCH v4 0/4] Maildir synchronization

2010-11-10 Thread Michal Sojka
On Wed, 10 Nov 2010, Carl Worth wrote: > > This only fails if the message is in */new and there is no */cur. > > Right. I think that's a little too severe. > > > I do not know if MH format has something special or it is just plain > > files in plain directories. If the latter, the synchronzation

[PATCH] emacs: Show cleaner addresses during message display.

2010-11-10 Thread Sebastian Spaeth
On Wed, 10 Nov 2010 08:27:08 +, David Edmondson wrote: > The latest change goes further - for an address such as: > Fred Blogs > it will display only "Fred Blogs". It's to this that Jameson is objecting. Ohh, I see. Sorry then. I can see that someone wants to retain that.

[PATCH] emacs: Show cleaner addresses during message display.

2010-11-10 Thread David Edmondson
Simplify the display of addresses by setting `notmuch-show-address-simplication' to: - 'full: Only the name component of the address, if present, is shown (the default), - 'partial: Addresses are stripped of redundant information, - 'none: Addresses are shown as-is. --- emacs/notmuch-show.el |

[PATCH v4 0/4] Maildir synchronization

2010-11-10 Thread Carl Worth
ious). Thanks, -Carl -- carl.d.worth at intel.com -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20101110/aa469ec7/attachment.pgp>

Printing mail

2010-11-10 Thread Sebastian Spaeth
as scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20101110/999c01ab/attachment.pgp>

[PATCH] emacs: Show cleaner addresses during message display.

2010-11-10 Thread David Edmondson
On Wed, 10 Nov 2010 08:20:29 +0100, Sebastian Spaeth wrote: > On Tue, 09 Nov 2010 15:53:49 -0500, Jameson Rollins wrote: > > Hi, David. I am personally not interested in this collapse for a couple > > of reasons. I really like seeing the full address that the mail comes > > from. > But what is

[PATCH] emacs: Show cleaner addresses during message display.

2010-11-10 Thread Sebastian Spaeth
very careful in adding new preferences rather than setting sensible defaults :). Sebastian -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20101110/f2a75dd7/attachment.pgp>

[PATCH] test: Better handling of stdout and stderr

2010-11-10 Thread Michal Sojka
Git-style tests suppress stdout and stderr unless -v is given. cworth-style tests (created by test_begin_subtest, test_expect_equal) do not have this behavior so implement it the same. Additionally, for both test styles, the test-lib.sh is changed so that the content of suppressed stdout and

[PATCH v4 0/4] Maildir synchronization

2010-11-10 Thread Michal Sojka
On Tue, 09 Nov 2010, Carl Worth wrote: > The updating I've done here only goes as far as just before "Add a > message to new/ without info". And it looks like one change I made > inadvertently broke a later test, so it's expected that "Check that > removing info did not change tags" currently

Re: [PATCH] emacs: Show cleaner addresses during message display.

2010-11-10 Thread David Edmondson
On Wed, 10 Nov 2010 08:20:29 +0100, Sebastian Spaeth sebast...@sspaeth.de wrote: On Tue, 09 Nov 2010 15:53:49 -0500, Jameson Rollins wrote: Hi, David. I am personally not interested in this collapse for a couple of reasons. I really like seeing the full address that the mail comes from.

Re: [PATCH v4 0/4] Maildir synchronization

2010-11-10 Thread Carl Worth
On Wed, 10 Nov 2010 11:26:40 +0100, Michal Sojka sojk...@fel.cvut.cz wrote: So maybe we will need a new function for the purpose of synchronizing the current tags of a message to a maildir filename. So that would be, perhaps, notmuch_message_tags_to_maildir_flags or so? This sounds good

[ann] (incomplete) go bindings to libnotmuch

2010-11-10 Thread Sebastien Binet
hi there, mainly to familiarize myself with the go language, I wrapped the libnotmuch library and reaped off Sebastian's vala-addressbooklookup program into a go version. the buggy and incomplete code is there: http://bitbucket.org/binet/go-notmuch/src cheers, sebastien.

Bug in remote use of notmuch

2010-11-10 Thread Mark Walters
I am experimenting with using notmuch remotely over ssh (as in the NEWS file; i.e. with a script containing ssh u...@host notmuch $@) This is mostly excellent but it seems to get confused by some queries. For example those containing brackets or just consisting of *. I think this is a problem with

Re: [PATCH] test: Better handling of stdout and stderr

2010-11-10 Thread Carl Worth
On Wed, 10 Nov 2010 00:40:35 +0100, Michal Sojka sojk...@fel.cvut.cz wrote: Git-style tests suppress stdout and stderr unless -v is given. cworth-style tests (created by test_begin_subtest, test_expect_equal) do not have this behavior so implement it the same. Additionally, for both test