Re: [PATCH 1/4] nmbug: Add a git_with_status helper function

2014-07-16 Thread David Bremner
"W. Trevor King" writes: > Sometimes we want to catch Git errors and handle them, instead of > dying with an error message. This lower-level version of git() allows > us to get the error status when we want it. pushed this one patch. d ___ notmuch ma

Re: [PATCH v2] emacs: set default in notmuch-read-query

2014-07-16 Thread David Bremner
Mark Walters writes: > This adds the current query as a "default value" to > notmuch-read-qeury. The default value is available via a down-arrow as > opposed to history which is available from the up arrow. > > Note if a user presses return in the minibuffer this value is not > returned. > pushe

Re: [PATCH] emacs: tree/show remove duplicate function

2014-07-16 Thread David Bremner
Mark Walters writes: > tree overrides notmuch-show-get-prop so that it can use many of the > utility function directly. Now that tree is in mainline the version > from tree can be moved to show and the original overridden show > version dropped. > --- Pushed. I hope there will be a followup patc

Re: [PATCH v3] Enable Travis-CI as a backup continuous integration service.

2014-07-16 Thread David Bremner
"Wael M. Nasreddine" writes: > You can access the dashboard at https://travis-ci.org/notmuch/notmuch pushed; not sure if you need to do anything else to get it started. I waited a whole 7 minutes ;). d ___ notmuch mailing list notmuch@notmuchmail.or

Re: [PATCH 3/4] nmbug: Catch stderr in is_unmerged

2014-07-16 Thread David Bremner
"W. Trevor King" writes: > > There should be standard Perl syntax for capturing both streams ;). I > can add a separate parameter instead, but Perl doesn't seem to have > keyword-arguments. At least, nmbug relies on assumptions about > argument values: > > sub git_pipe { > my $envref = (r

Re: [PATCH v3] test: Test thread linking in all possible delivery orders

2014-07-16 Thread David Bremner
Austin Clements writes: > This version addresses Mark's review by using a completely different > thread tree generation algorithm that directly generates distinct > trees. This algorithm is a little longer, so I pulled it out into its > own script. Since v2, I also realized we already had an eq

excluding files from a folder for searches

2014-07-16 Thread Alan Schmitt
Hello, I'm trying to configure notmuch such that it never searches for files in my Trash folder. I have found in the configuration how to exclude some tags from every search, but not how to exclude a folder. Is it possible? Thanks a lot, Alan -- OpenPGP Key ID : 040D0A3B4ED2E5C7 pgpK3fyn_sF

Re: [PATCH v3] Enable Travis-CI as a backup continuous integration service.

2014-07-16 Thread Wael Nasreddine
David Bremner writes: > "Wael M. Nasreddine" writes: > >> You can access the dashboard at https://travis-ci.org/notmuch/notmuch > > pushed; not sure if you need to do anything else to get it started. I > waited a whole 7 minutes ;). It's there and passing. You can test the IRC communication, ju

[PATCH] emacs: show: mark messages unread if seen in buffer

2014-07-16 Thread Mark Walters
This adds a function that marks messages unread if they are "seen" that is a user configurable amount of them has been visible in the buffer. --- This adds my preferred mark unread function as an option: see id:1399650320-1382-1-git-send-email-markwalters1...@gmail.com for a previous version. This

[PATCH] emacs: show: make return value of notmuch-show-get-prop explicit

2014-07-16 Thread Mark Walters
This makes the fact the notmuch-show-get-prop returns nil if the major mode is neither show not tree explicit. --- This is a followup to the patch and review comment at id:874myhabi0@maritornes.cs.unb.ca Best wishes Mark emacs/notmuch-show.el |3 ++- 1 file changed, 2 insertions(+), 1

Re: excluding files from a folder for searches

2014-07-16 Thread David Bremner
Alan Schmitt writes: > Hello, > > I'm trying to configure notmuch such that it never searches for files in > my Trash folder. I have found in the configuration how to exclude some > tags from every search, but not how to exclude a folder. > > Is it possible? > One thing you can do is mark the tr

Re: [PATCH v3] test: Test thread linking in all possible delivery orders

2014-07-16 Thread David Bremner
Austin Clements writes: > These tests deliver all possible (single-root) four-message threads in > all possible orders and check that notmuch successfully links them > into threads. These tests supersede and replace the previous and much > less thorough "T260-thread-order" tests. pushed. d ___

Re: [PATCH 2/4] nmbug: Handle missing @upstream in is_unmerged

2014-07-16 Thread David Bremner
"W. Trevor King" writes: > If we don't have an upstream, there is nothing to merge, so nothing is > unmerged. This avoids errors like: pushed this one patch. d ___ notmuch mailing list notmuch@notmuchmail.org http://notmuchmail.org/mailman/listinfo/n

Re: [PATCH] dump: make dump take Xapian write lock

2014-07-16 Thread David Bremner
Mark Walters writes: > Dump currently only takes the read lock. Xapian can cope with some > changes while maintaining a read snapshot but with more changes it > fails. Currently notmuch just gives a xapian error. > > To avoid this we take the write lock when dumping. This prevents other > notmuch

Re: [PATCH 2/4] nmbug: Handle missing @upstream in is_unmerged

2014-07-16 Thread W. Trevor King
On Wed, Jul 16, 2014 at 07:36:10PM -0300, David Bremner wrote: > W. Trevor King writes: > > If we don't have an upstream, there is nothing to merge, so > > nothing is unmerged. This avoids errors like: > > pushed this one patch. Without the stderr-catching of something like patch 3, this means f

Re: excluding files from a folder for searches

2014-07-16 Thread Alan Schmitt
On 2014-07-16 21:10, David Bremner writes: >> I'm trying to configure notmuch such that it never searches for files in >> my Trash folder. I have found in the configuration how to exclude some >> tags from every search, but not how to exclude a folder. >> >> Is it possible? > > One thing you can

[PATCH] dump: make dump take Xapian write lock

2014-07-16 Thread Mark Walters
On Tue, 15 Jul 2014, David Bremner wrote: > Mark Walters writes: > >> >> Discussion with Olly on irc indicates that this is currently the best >> solution: in xapian trunk there may be better possibilities using >> snapshots but they need to make it to a release and propogate out to >> users bef

[PATCH 1/4] nmbug: Add a git_with_status helper function

2014-07-16 Thread David Bremner
"W. Trevor King" writes: > Sometimes we want to catch Git errors and handle them, instead of > dying with an error message. This lower-level version of git() allows > us to get the error status when we want it. pushed this one patch. d

[PATCH v2] emacs: set default in notmuch-read-query

2014-07-16 Thread David Bremner
Mark Walters writes: > This adds the current query as a "default value" to > notmuch-read-qeury. The default value is available via a down-arrow as > opposed to history which is available from the up arrow. > > Note if a user presses return in the minibuffer this value is not > returned. > pushe

[PATCH] emacs: tree/show remove duplicate function

2014-07-16 Thread David Bremner
Mark Walters writes: > tree overrides notmuch-show-get-prop so that it can use many of the > utility function directly. Now that tree is in mainline the version > from tree can be moved to show and the original overridden show > version dropped. > --- Pushed. I hope there will be a followup patc

[PATCH v3] Enable Travis-CI as a backup continuous integration service.

2014-07-16 Thread David Bremner
"Wael M. Nasreddine" writes: > You can access the dashboard at https://travis-ci.org/notmuch/notmuch pushed; not sure if you need to do anything else to get it started. I waited a whole 7 minutes ;). d

[PATCH 3/4] nmbug: Catch stderr in is_unmerged

2014-07-16 Thread David Bremner
"W. Trevor King" writes: > > There should be standard Perl syntax for capturing both streams ;). I > can add a separate parameter instead, but Perl doesn't seem to have > keyword-arguments. At least, nmbug relies on assumptions about > argument values: > > sub git_pipe { > my $envref = (r

[PATCH v3] test: Test thread linking in all possible delivery orders

2014-07-16 Thread David Bremner
Austin Clements writes: > This version addresses Mark's review by using a completely different > thread tree generation algorithm that directly generates distinct > trees. This algorithm is a little longer, so I pulled it out into its > own script. Since v2, I also realized we already had an eq

excluding files from a folder for searches

2014-07-16 Thread Alan Schmitt
2E5C7 -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 494 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20140716/e7458d5c/attachment.pgp>

[PATCH v3] Enable Travis-CI as a backup continuous integration service.

2014-07-16 Thread Wael Nasreddine
David Bremner writes: > "Wael M. Nasreddine" writes: > >> You can access the dashboard at https://travis-ci.org/notmuch/notmuch > > pushed; not sure if you need to do anything else to get it started. I > waited a whole 7 minutes ;). It's there and passing. You can test the IRC communication, ju

[PATCH] emacs: show: mark messages unread if seen in buffer

2014-07-16 Thread Mark Walters
This adds a function that marks messages unread if they are "seen" that is a user configurable amount of them has been visible in the buffer. --- This adds my preferred mark unread function as an option: see id:1399650320-1382-1-git-send-email-markwalters1009 at gmail.com for a previous version. T

[PATCH] emacs: show: make return value of notmuch-show-get-prop explicit

2014-07-16 Thread Mark Walters
This makes the fact the notmuch-show-get-prop returns nil if the major mode is neither show not tree explicit. --- This is a followup to the patch and review comment at id:874myhabi0.fsf at maritornes.cs.unb.ca Best wishes Mark emacs/notmuch-show.el |3 ++- 1 file changed, 2 insertions(+),

excluding files from a folder for searches

2014-07-16 Thread David Bremner
Alan Schmitt writes: > Hello, > > I'm trying to configure notmuch such that it never searches for files in > my Trash folder. I have found in the configuration how to exclude some > tags from every search, but not how to exclude a folder. > > Is it possible? > One thing you can do is mark the tr

[PATCH v3] test: Test thread linking in all possible delivery orders

2014-07-16 Thread David Bremner
Austin Clements writes: > These tests deliver all possible (single-root) four-message threads in > all possible orders and check that notmuch successfully links them > into threads. These tests supersede and replace the previous and much > less thorough "T260-thread-order" tests. pushed. d

[PATCH 2/4] nmbug: Handle missing @upstream in is_unmerged

2014-07-16 Thread David Bremner
"W. Trevor King" writes: > If we don't have an upstream, there is nothing to merge, so nothing is > unmerged. This avoids errors like: pushed this one patch. d

[PATCH] dump: make dump take Xapian write lock

2014-07-16 Thread David Bremner
Mark Walters writes: > Dump currently only takes the read lock. Xapian can cope with some > changes while maintaining a read snapshot but with more changes it > fails. Currently notmuch just gives a xapian error. > > To avoid this we take the write lock when dumping. This prevents other > notmuch

[PATCH 2/4] nmbug: Handle missing @upstream in is_unmerged

2014-07-16 Thread W. Trevor King
l signature URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20140716/7b4f6691/attachment.pgp>

nevermore

2014-07-16 Thread Trevor Jim
h code has some complications for this. I'd love for notmuch search to have a --output=message-summary option to avoid this. -Trevor ? -- next part -- An HTML attachment was scrubbed... URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20140716/c2d2f255/attachment.html>