search summary and exclusions

2012-05-29 Thread Jameson Graef Rollins
not available Type: application/pgp-signature Size: 835 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20120529/fcbc56c3/attachment.pgp>

search summary and exclusions

2012-05-29 Thread Peter Wang
On Mon, 28 May 2012 10:03:35 -0700, Jameson Graef Rollins wrote: > On Mon, May 28 2012, Peter Wang wrote: > > Exclusions don't work the way I expected with the search command and > > --output=summary. I would like messages with excluded tags to be > > treated as if they don't exist at all, but

search summary and exclusions

2012-05-29 Thread Mark Walters
Hi On Tue, 29 May 2012, Peter Wang wrote: > On Mon, 28 May 2012 10:03:35 -0700, Jameson Graef Rollins finestructure.net> wrote: >> On Mon, May 28 2012, Peter Wang wrote: >> > Exclusions don't work the way I expected with the search command and >> > --output=summary. I would like messages with

notmuch release 0.13.1 now available

2012-05-29 Thread David Bremner
org/pipermail/notmuch/attachments/20120529/9862000b/attachment.pgp>

search summary and exclusions

2012-05-29 Thread Jameson Graef Rollins
excludes as acting on the search itself, and less on the output. We exclude messages from search, but if they show up in a returned thread we at least acknowledge that they're there. 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/20120529/1ade8dbb/attachment-0001.pgp>

search summary and exclusions

2012-05-29 Thread Peter Wang
Hi, Exclusions don't work the way I expected with the search command and --output=summary. I would like messages with excluded tags to be treated as if they don't exist at all, but currently: * excluded messages are counted towards the "total" * excluded tags are included in the "tags" set

[PATCH v6 3/6] cli: make --entire-thread=false work for format=json.

2012-05-29 Thread Peter Wang
On Sun, 27 May 2012 09:22:23 +0100, Mark Walters wrote: > @@ -1036,7 +1047,9 @@ notmuch_show_command (void *ctx, unused (int argc), > unused (char *argv[])) > switch (format_sel) { > case NOTMUCH_FORMAT_JSON: > format = _json; > - params.entire_thread = TRUE; > + /* JSON

[PATCH v6 1/6] cli: command line parsing: allow default for keyword options

2012-05-29 Thread Peter Wang
On Sun, 27 May 2012 09:22:21 +0100, Mark Walters wrote: > This changes the parsing for "keyword" options so that if the option > is specified with no argument the argument is parsed as if it were > passed an empty string. This make it easier to add options to existing > boolean arguments (the

Re: search summary and exclusions

2012-05-29 Thread Mark Walters
Hi On Tue, 29 May 2012, Peter Wang noval...@gmail.com wrote: On Mon, 28 May 2012 10:03:35 -0700, Jameson Graef Rollins jroll...@finestructure.net wrote: On Mon, May 28 2012, Peter Wang noval...@gmail.com wrote: Exclusions don't work the way I expected with the search command and

notmuch release 0.13.1 now available

2012-05-29 Thread David Bremner
Where to obtain notmuch 0.13.1 === http://notmuchmail.org/releases/notmuch-0.13.1.tar.gz Which can be verified with: http://notmuchmail.org/releases/notmuch-0.13.1.tar.gz.sha1 48c22d6901148cf732e09e11db6ae4fde61f8386 notmuch-0.13.1.tar.gz

Re: search summary and exclusions

2012-05-29 Thread Jameson Graef Rollins
On Mon, May 28 2012, Peter Wang noval...@gmail.com wrote: % ./notmuch search --format=json --exclude=true -- thread:9598 tag:unread [{thread: 9598, timestamp: 1338231998, date_relative: Today 05:06, matched: 1, total: 15, authors: Mark Walters| Peter Wang,

Ubuntu messaging menu integration

2012-05-29 Thread Ben Gamari
Hey all, I recently dusted off a little hack I've been sitting on for quite a while integrating notmuch into Ubuntu's messaging menu[1]. The code is now on Github[2] in case someone finds it useful. Pull requests are of course welcome. Cheers, - Ben [1] https://wiki.ubuntu.com/MessagingMenu

Re: search summary and exclusions

2012-05-29 Thread Peter Wang
On Tue, 29 May 2012 08:00:00 -0700, Jameson Graef Rollins jroll...@finestructure.net wrote: On Mon, May 28 2012, Peter Wang noval...@gmail.com wrote: % ./notmuch search --format=json --exclude=true -- thread:9598 tag:unread [{thread: 9598, timestamp: 1338231998,

Re: search summary and exclusions

2012-05-29 Thread Jameson Graef Rollins
On Tue, May 29 2012, Peter Wang noval...@gmail.com wrote: --output=summary is the default. --format=json only changes the surface syntax. I'm sorry. For some reason this whole time I was thinking --format=text when you were saying --output=summary. My bad. Understood; it's a two-phase