Re: [PATCH 0/3] Add notmuch-pick to contrib

2012-10-29 Thread Mark Walters
Hello On Sun, 28 Oct 2012, David Bremner wrote: > Mark Walters writes: > >> This is a new version of notmuch-pick (previous version at >> id:"1343164911-31589-1-git-send-email-markwalters1...@gmail.com")following >> suggestions of Tomi and David in that thread. The main change is that >> it is

[PATCH] contrib: notmuch-pick: add tests

2012-10-29 Thread Mark Walters
The test should be run using the wrapper test-wrapper.sh. This links the tests into the normal notmuch TEST_DIRECTORY and runs them from there. After the test is complete then the links are removed. --- Here are some tests for notmuch-pick. I would have liked to include the test structure and run

Re: a DoS vulnerability associated with conflated Message-IDs?

2012-10-29 Thread Peter Wang
On Thu, 08 Mar 2012 11:37:09 -0500, Daniel Kahn Gillmor wrote: > notmuch currently treats all messages with the same Message-ID as > the same message. I think this could be a vulnerability :( > > If two messages have the same Message-ID, is there a guarantee of which > of these messages will be

[BUG] Saving attachments containing UTF-8 chars

2012-10-29 Thread Michael Stapelberg
Hello, attached you can find a message which seems to trigger a bug somewhere in my notmuch setup. The message has been sent to me and includes a patchfile, which, when saved using the "w" key in notmuch-emacs, cannot be applied. When using munpack(1) on the raw mail file (I’ve attached rawmail.g

[PATCH] Add NEWS information about Bcc header in JSON output

2012-10-29 Thread Michal Nazarewicz
From: Michal Nazarewicz This commit adds a note to the NEWS file about Bcc header now being available in the JSON output (and thus in Emacs) which has been implemented by commit ffb629cc5d2c2d1505eb5aefcf04fb4d0af6c0c8. --- NEWS |7 +++ 1 files changed, 7 insertions(+), 0 deletions(-) d

Re: [BUG] Saving attachments containing UTF-8 chars

2012-10-29 Thread Tomi Ollila
On Mon, Oct 29 2012, Michael Stapelberg wrote: > Hello, > > attached you can find a message which seems to trigger a bug somewhere > in my notmuch setup. The message has been sent to me and includes a > patchfile, which, when saved using the "w" key in notmuch-emacs, cannot > be applied. > > When

Notmuch search missing mail id

2012-10-29 Thread James Vasile
I received the attached piece of spam telling me about an exciting investment opportunity. Notmuch pulled it in to the database, noting the message id. But then it seems to stop paying attention to the message id. notmuch can find the mail when I search by the from field: $ notmuch search "from

Re: Notmuch search missing mail id

2012-10-29 Thread Tomi Ollila
On Mon, Oct 29 2012, James Vasile wrote: > I received the attached piece of spam telling me about an exciting > investment opportunity. Notmuch pulled it in to the database, noting > the message id. But then it seems to stop paying attention to the > message id. > > notmuch can find the mail wh

Re: Notmuch search missing mail id

2012-10-29 Thread James Vasile
Tomi Ollila writes: > On Mon, Oct 29 2012, James Vasile wrote: > >> I received the attached piece of spam telling me about an exciting >> investment opportunity. Notmuch pulled it in to the database, noting >> the message id. But then it seems to stop paying attention to the >> message id. >> >

[PATCH] don't show x-foo tags in search view

2012-10-29 Thread James Vasile
My filters create tags like x-bogotrained-spam that are for internal bookkeeping. I don't mind seeing them in the 'show' view, but I didn't want them cluttering my 'search' view. This patch omits x-foo and X-foo tags from the 'search' view. --- emacs/notmuch.el |7 ++- 1 file changed, 6

Re: [PATCH] don't show x-foo tags in search view

2012-10-29 Thread David Bremner
James Vasile writes: > My filters create tags like x-bogotrained-spam that are for internal > bookkeeping. I don't mind seeing them in the 'show' view, but I didn't > want them cluttering my 'search' view. This patch omits x-foo and X-foo > tags from the 'search' view. I understand this scratc

Re: [PATCH] don't show x-foo tags in search view

2012-10-29 Thread James Vasile
David Bremner writes: > James Vasile writes: > >> My filters create tags like x-bogotrained-spam that are for internal >> bookkeeping. I don't mind seeing them in the 'show' view, but I didn't >> want them cluttering my 'search' view. This patch omits x-foo and X-foo >> tags from the 'search' v

Re: [PATCH] don't show x-foo tags in search view

2012-10-29 Thread James Vasile
This patch hides any tags in search view that match the regex specified in `notmuch-search-hide-tag-regex`. That variable can be set via setq or the customize interface. To hide all tags that begin with "x-" or "X-", set `notmuch-search-hide-tag-regex` to "^X-". --- emacs/notmuch.el | 16

Re: [PATCH] don't show x-foo tags in search view

2012-10-29 Thread Austin Clements
I like it. Quoth James Vasile on Oct 29 at 5:19 pm: > This patch hides any tags in search view that match the regex specified > in `notmuch-search-hide-tag-regex`. That variable can be set via setq > or the customize interface. To hide all tags that begin with "x-" or > "X-", set `notmuch-searc

[PATCH v5 2/9] parse-time-string: add a date/time parser to notmuch

2012-10-29 Thread Jani Nikula
On Mon, 22 Oct 2012, Austin Clements wrote: > Overall this looks pretty good to me, and I must say, this parser is > amazingly flexible and copes well with a remarkably hostile grammar. > > A lot of little comments below (sorry if any of this ground has > already been covered in the previous four

[PATCH v5 4/9] test: add smoke tests for the date/time parser module

2012-10-29 Thread Jani Nikula
On Tue, 23 Oct 2012, Austin Clements wrote: > Quoth Jani Nikula on Oct 22 at 12:22 am: >> Test the date/time parser module directly, independent of notmuch, >> using the parse-time test tool. >> >> Credits to Michal Sojka for writing most of the >> tests. >> --- >> test/notmuch-test |1

[PATCH v5 6/9] lib: add date range query support

2012-10-29 Thread Jani Nikula
On Tue, 23 Oct 2012, Austin Clements wrote: > Quoth Jani Nikula on Oct 22 at 12:22 am: >> Add a custom value range processor to enable date and time searches of >> the form date:since..until, where "since" and "until" are expressions >> understood by the previously added date/time parser, to restr

[PATCH v5 8/9] man: document the date:since..until range queries

2012-10-29 Thread Jani Nikula
Many thanks, I'll incorporate most of your suggestions as-is. BR, Jani. On Thu, 25 Oct 2012, Austin Clements wrote: > Quoth Jani Nikula on Oct 22 at 12:22 am: >> --- >> man/man7/notmuch-search-terms.7 | 147 >> +++ >> 1 file changed, 135 insertions(+), 12

[PATCH 0/2] automatic tagging based on imap maildir

2012-10-29 Thread Andrei POPESCU
. Kind regards, Andrei -- If you can't explain it simply, you don't understand it well enough. (Albert Einstein) -- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 490 bytes Desc: Digital signature

[PATCH 0/3] Add notmuch-pick to contrib

2012-10-29 Thread Mark Walters
Hello On Sun, 28 Oct 2012, David Bremner wrote: > Mark Walters writes: > >> This is a new version of notmuch-pick (previous version at >> id:"1343164911-31589-1-git-send-email-markwalters1009 at gmail.com")following >> suggestions of Tomi and David in that thread. The main change is that >> it

[PATCH] contrib: notmuch-pick: add tests

2012-10-29 Thread Mark Walters
The test should be run using the wrapper test-wrapper.sh. This links the tests into the normal notmuch TEST_DIRECTORY and runs them from there. After the test is complete then the links are removed. --- Here are some tests for notmuch-pick. I would have liked to include the test structure and run

a DoS vulnerability associated with conflated Message-IDs?

2012-10-29 Thread Peter Wang
On Thu, 08 Mar 2012 11:37:09 -0500, Daniel Kahn Gillmor wrote: > notmuch currently treats all messages with the same Message-ID as > the same message. I think this could be a vulnerability :( > > If two messages have the same Message-ID, is there a guarantee of which > of these messages will be

[BUG] Saving attachments containing UTF-8 chars

2012-10-29 Thread Michael Stapelberg
-- next part -- An embedded message was scrubbed... From: Conley Moorhous Subject: Re: User Guide Chapter 6 typo Date: Thu, 25 Oct 2012 09:59:50 -0500 Size: 9355 URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20121029/ee441e65/attachment.mht> -- next part

[PATCH] Add NEWS information about Bcc header in JSON output

2012-10-29 Thread Michal Nazarewicz
From: Michal Nazarewicz This commit adds a note to the NEWS file about Bcc header now being available in the JSON output (and thus in Emacs) which has been implemented by commit ffb629cc5d2c2d1505eb5aefcf04fb4d0af6c0c8. --- NEWS |7 +++ 1 files changed, 7 insertions(+), 0 deletions(-) d

[BUG] Saving attachments containing UTF-8 chars

2012-10-29 Thread Tomi Ollila
On Mon, Oct 29 2012, Michael Stapelberg wrote: > Hello, > > attached you can find a message which seems to trigger a bug somewhere > in my notmuch setup. The message has been sent to me and includes a > patchfile, which, when saved using the "w" key in notmuch-emacs, cannot > be applied. > > When

Notmuch search missing mail id

2012-10-29 Thread James Vasile
I received the attached piece of spam telling me about an exciting investment opportunity. Notmuch pulled it in to the database, noting the message id. But then it seems to stop paying attention to the message id. notmuch can find the mail when I search by the from field: $ notmuch search "from

Notmuch search missing mail id

2012-10-29 Thread Tomi Ollila
On Mon, Oct 29 2012, James Vasile wrote: > I received the attached piece of spam telling me about an exciting > investment opportunity. Notmuch pulled it in to the database, noting > the message id. But then it seems to stop paying attention to the > message id. > > notmuch can find the mail wh

Notmuch search missing mail id

2012-10-29 Thread James Vasile
t; > note that id:"..." does not suffice as shell expands $ & ` inside double > quotes. Tomi, that's a good catch and one I should have noticed. Thanks much for the help! -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 489 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20121029/35aa6d42/attachment.pgp>

[PATCH] don't show x-foo tags in search view

2012-10-29 Thread James Vasile
" "))) (insert (propertize (format format-string tags-str) 'face 'notmuch-tag-face)) -- 1.7.10.4 -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature

[PATCH] don't show x-foo tags in search view

2012-10-29 Thread David Bremner
James Vasile writes: > My filters create tags like x-bogotrained-spam that are for internal > bookkeeping. I don't mind seeing them in the 'show' view, but I didn't > want them cluttering my 'search' view. This patch omits x-foo and X-foo > tags from the 'search' view. I understand this scratc

[PATCH] don't show x-foo tags in search view

2012-10-29 Thread James Vasile
rite it with a regex the user can customize. -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 489 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20121029/4933c10f/attachment.pgp>

[PATCH] don't show x-foo tags in search view

2012-10-29 Thread James Vasile
next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 489 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20121029/6509438e/attachment.pgp>

[PATCH] don't show x-foo tags in search view

2012-10-29 Thread Austin Clements
I like it. Quoth James Vasile on Oct 29 at 5:19 pm: > This patch hides any tags in search view that match the regex specified > in `notmuch-search-hide-tag-regex`. That variable can be set via setq > or the customize interface. To hide all tags that begin with "x-" or > "X-", set `notmuch-searc