[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] 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

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

nevermore

2014-07-16 Thread Trevor Jim
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>

[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,

[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

[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 =

[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 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. >

[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

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

2014-07-16 Thread Mark Walters
On Tue, 15 Jul 2014, David Bremner da...@tethera.net wrote: Mark Walters markwalters1...@gmail.com 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

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

2014-07-16 Thread David Bremner
W. Trevor King wk...@tremily.us 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

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

2014-07-16 Thread David Bremner
Mark Walters markwalters1...@gmail.com 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

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

2014-07-16 Thread David Bremner
Mark Walters markwalters1...@gmail.com 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

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

2014-07-16 Thread David Bremner
Wael M. Nasreddine wael.nasredd...@gmail.com 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

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

2014-07-16 Thread David Bremner
W. Trevor King wk...@tremily.us 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

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

2014-07-16 Thread David Bremner
Austin Clements amdra...@mit.edu 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

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

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

2014-07-16 Thread Wael Nasreddine
David Bremner da...@tethera.net writes: Wael M. Nasreddine wael.nasredd...@gmail.com 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

[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 alan.schm...@polytechnique.org 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

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

2014-07-16 Thread David Bremner
Austin Clements amdra...@mit.edu 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.

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

2014-07-16 Thread David Bremner
W. Trevor King wk...@tremily.us 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

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

2014-07-16 Thread David Bremner
Mark Walters markwalters1...@gmail.com 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

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 folks