[notmuch] [PATCH] Look for text/html content types ignoring case

2010-02-16 Thread David Edmondson
On Tue, 16 Feb 2010 18:51:00 +, James Westby wrote: > Some people send html parts as text/HTML or similar, so do a > case-sensitive comparison when checking for html parts. There are various other places where `equal' is used to compare MIME types with strings.

[notmuch] [PATCH v2] notmuch.el: add functionality in notmuch search mode to add or remove tags by region

2010-02-16 Thread Jesse Rosenthal
This patch adds `-region' versions of the `notmuch-search-' commands to find properties. It also splits up `notmuch-add/remove-tags' into both a `-thread' and a `-region' version. (This makes us modify `notmuch-search-archive-thread' to use the `notmuch-search-remove-tag-thread' function, instead

[notmuch] [PATCH] Look for text/html content types ignoring case

2010-02-16 Thread James Westby
Some people send html parts as text/HTML or similar, so do a case-sensitive comparison when checking for html parts. --- notmuch.el |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/notmuch.el b/notmuch.el index 0f4ea10..b69c334 100644 --- a/notmuch.el +++ b/notmuch.el @@

[notmuch] [PATCH] notmuch: Respect maildir message flags

2010-02-16 Thread martin f krafft
s Desc: Digital signature (see http://martin-krafft.net/gpg/) URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20100216/ba08523a/attachment.pgp>

[notmuch] Using test-lib.sh under GPLv3?

2010-02-16 Thread Avery Pennarun
On Tue, Feb 16, 2010 at 8:06 AM, Michal Sojka wrote: > On Tue, 16 Feb 2010 02:27:37 -0800 (PST), Jakub Narebski gmail.com> wrote: >> Michal Sojka writes: >> >> > I like the simple and powerful test suite used by Git and I would like >> > to use something like that in Notmuch project

[notmuch] [PATCH] notmuch: Respect maildir message flags

2010-02-16 Thread martin f krafft
etzsche spamtraps: madduck.bogus at madduck.net -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 198 bytes Desc: Digital signature (see http://martin-krafft.net/gpg/) URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20100216/90fe7cf2/attachment.pgp>

[notmuch] Notmuch performance problems on OSX

2010-02-16 Thread Stewart Smith
On Fri, 15 Jan 2010 03:58:50 + (UTC), Olly Betts wrote: > One difference between OS X and other systems is that OS X supports the > F_FULLSYNC ioctl, and other systems don't (currently, at least AFAIK) > and Xapian uses that if it is available to ensure that changes have > actually made it to

[notmuch] Mail in git

2010-02-16 Thread Ben Gamari
Excerpts from Stewart Smith's message of Sun Feb 14 19:29:14 -0500 2010: > So... I sketched this out in my head at LCA... and it's taken a bit of > time to actually properly try it. > In case anyone wanted to play around with this, I've written up my own little implementation[1] of a git mail

[notmuch] Using test-lib.sh under GPLv3?

2010-02-16 Thread Michal Sojka
On Tue, 16 Feb 2010 02:27:37 -0800 (PST), Jakub Narebski wrote: > Michal Sojka writes: > > > I like the simple and powerful test suite used by Git and I would like > > to use something like that in Notmuch project (http://notmuchmail.org/). > > [...] > > Have you thought about using TAP (Test

[notmuch] [rfc] improved wrapping of long lines

2010-02-16 Thread David Edmondson
ersion, derived from longlines.el. -- next part -- A non-text attachment was scrubbed... Name: 0001-notmuch.el-Improved-wrapping-of-long-lines-respect-t.patch Type: text/x-diff Size: 7810 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/201

[notmuch] [PATCH] notmuch: Respect maildir message flags

2010-02-16 Thread Stewart Smith
/* Non-fatal issues (go on to next file) */ case NOTMUCH_STATUS_DUPLICATE_MESSAGE_ID: -- Stewart Smith -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: Digital signature URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20100216/5323bb1c/attachment.pgp>

[notmuch] [PATCH] notmuch: Respect maildir message flags

2010-02-16 Thread Stewart Smith
New patch that does it. Pretty much same as the old one, just with that one bug I mentioned fixed. This is what I've currently used to import my Maildir. I'm now happy :) diff --git a/notmuch-new.c b/notmuch-new.c index f25c71f..43371a3 100644 --- a/notmuch-new.c +++ b/notmuch-new.c @@ -39,6

[notmuch] Using test-lib.sh under GPLv3?

2010-02-16 Thread Junio C Hamano
Michal Sojka writes: > ... You are mentioned > as a copyright holder in test-lib.sh and t-basic.sh so I'd like to > ask you: Would you mind using parts of these files under GPLv3? I don't mind for the parts I wrote, which is the basic infrastructure (output redirection, skipping certain

[notmuch] [PATCH] notmuch.el: Colour cited regions and signatures with message-cited-text-face.

2010-02-16 Thread Michal Sojka
Nice, it works for me. On Mon, 15 Feb 2010 10:03:32 +, David Edmondson wrote: > This version is over-eager in marking (non-)signatures. The second call > to 'overlay-put' needs to move inside the 'if' a line below. Could you please send a fixed patch so that it can be applied easilly.

[notmuch] [PATCH] notmuch.el: Colour cited regions and signatures with message-cited-text-face.

2010-02-16 Thread David Edmondson
On Tue, 16 Feb 2010 11:22:01 +0100, Michal Sojka wrote: > Nice, it works for me. > > On Mon, 15 Feb 2010 10:03:32 +, David Edmondson wrote: > > This version is over-eager in marking (non-)signatures. The second call > > to 'overlay-put' needs to move inside the 'if' a line below. > > Could

[notmuch] [PATCHv2] notmuch.el: Colour cited regions and signatures with message-cited-text-face.

2010-02-16 Thread Sebastian Spaeth
From: David Edmondson Signed-off-by: Sebastian Spaeth --- This is the fixed up version as elaborated by David. I find it pretty and pretty useful, so applying this makes lots of sense :). notmuch.el | 17 ++--- 1 files changed, 10 insertions(+), 7 deletions(-)

[notmuch] [PATCH] notmuch: Respect maildir message flags

2010-02-16 Thread Michal Sojka
On Tue, 16 Feb 2010 13:21:28 +1100, Stewart Smith wrote: > What about this patch (just with those few things fixed)? > > diff --git a/notmuch-new.c b/notmuch-new.c > index f25c71f..8303047 100644 > --- a/notmuch-new.c > +++ b/notmuch-new.c > @@ -39,6 +39,7 @@ typedef struct { > int

[notmuch] Mail in git

2010-02-16 Thread Michal Sojka
Hi Stewart, On Mon, 15 Feb 2010 11:29:14 +1100, Stewart Smith wrote: > Which goes from a 15GB Maildir to a 3.7GB git repo. That's quite interesting ratio. I've tried a plain git add and git gc on my mail store and the result was a repo of approximately 50% of mail store size. Do you think that

[notmuch] "From:" value containing ':'

2010-02-16 Thread Carl Worth
rupted this particular yak-shave to push this commit. -- 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/20100216

[notmuch] [rfc] improved wrapping of long lines

2010-02-16 Thread David Edmondson
Type: text/x-diff Size: 3413 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20100216/f28285bb/attachment.patch> -- next part -- dme. -- David Edmondson, http://dme.org

[notmuch] Using test-lib.sh under GPLv3?

2010-02-16 Thread Jakub Narebski
Michal Sojka writes: > I like the simple and powerful test suite used by Git and I would like > to use something like that in Notmuch project (http://notmuchmail.org/). > Notmuch is licenced under GPLv3 and we think that things will be simpler > if everything in the repository is licenced the

Re: [notmuch] Mail in git

2010-02-16 Thread Michal Sojka
Hi Stewart, On Mon, 15 Feb 2010 11:29:14 +1100, Stewart Smith stew...@flamingspork.com wrote: Which goes from a 15GB Maildir to a 3.7GB git repo. That's quite interesting ratio. I've tried a plain git add and git gc on my mail store and the result was a repo of approximately 50% of mail store

[notmuch] [rfc] improved wrapping of long lines

2010-02-16 Thread David Edmondson
It's annoying that the wrapping of long lines doesn't respect the indentation of the message. Here's an attempt to improve that. The wrapping code is in a separate file and has a silly name[1], but all of that is subject to change at the whim of Carl or his minions. If anyone tries this then I'd

Re: [notmuch] [PATCH] notmuch: Respect maildir message flags

2010-02-16 Thread Michal Sojka
On Tue, 16 Feb 2010 13:21:28 +1100, Stewart Smith stew...@flamingspork.com wrote: What about this patch (just with those few things fixed)? diff --git a/notmuch-new.c b/notmuch-new.c index f25c71f..8303047 100644 --- a/notmuch-new.c +++ b/notmuch-new.c @@ -39,6 +39,7 @@ typedef struct {

[notmuch] [PATCHv2] notmuch.el: Colour cited regions and signatures with message-cited-text-face.

2010-02-16 Thread Sebastian Spaeth
From: David Edmondson d...@dme.org Signed-off-by: Sebastian Spaeth sebast...@sspaeth.de --- This is the fixed up version as elaborated by David. I find it pretty and pretty useful, so applying this makes lots of sense :). notmuch.el | 17 ++--- 1 files changed, 10 insertions(+),

Re: [notmuch] [PATCH] notmuch.el: Colour cited regions and signatures with message-cited-text-face.

2010-02-16 Thread David Edmondson
On Tue, 16 Feb 2010 11:22:01 +0100, Michal Sojka sojk...@fel.cvut.cz wrote: Nice, it works for me. On Mon, 15 Feb 2010 10:03:32 +, David Edmondson d...@dme.org wrote: This version is over-eager in marking (non-)signatures. The second call to 'overlay-put' needs to move inside the 'if'

Re: [notmuch] [rfc] improved wrapping of long lines

2010-02-16 Thread David Edmondson
On Tue, 16 Feb 2010 09:10:23 +, David Edmondson d...@dme.org wrote: It's annoying that the wrapping of long lines doesn't respect the indentation of the message. Here's an attempt to improve that. The wrapping code is in a separate file and has a silly name[1], but all of that is subject

Re: [notmuch] Using test-lib.sh under GPLv3?

2010-02-16 Thread Jakub Narebski
Michal Sojka sojk...@fel.cvut.cz writes: I like the simple and powerful test suite used by Git and I would like to use something like that in Notmuch project (http://notmuchmail.org/). Notmuch is licenced under GPLv3 and we think that things will be simpler if everything in the repository is

Re: [notmuch] From: value containing ':'

2010-02-16 Thread Carl Worth
On Mon, 15 Feb 2010 17:29:57 +, David Edmondson d...@dme.org wrote: Given that ';' is used as a delimiter, was the pattern supposed to exclude ';'? Yes. I just pushed a commit for this. Thanks for the reminder. -Carl PS. I'd written this patch several days ago, but before pushing it I

[notmuch] [PATCH] Look for text/html content types ignoring case

2010-02-16 Thread James Westby
Some people send html parts as text/HTML or similar, so do a case-sensitive comparison when checking for html parts. --- notmuch.el |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/notmuch.el b/notmuch.el index 0f4ea10..b69c334 100644 --- a/notmuch.el +++ b/notmuch.el @@

Re: [notmuch] [PATCH] Look for text/html content types ignoring case

2010-02-16 Thread David Edmondson
On Tue, 16 Feb 2010 18:51:00 +, James Westby jw+deb...@jameswestby.net wrote: Some people send html parts as text/HTML or similar, so do a case-sensitive comparison when checking for html parts. There are various other places where `equal' is used to compare MIME types with strings.

[notmuch] [PATCH v2] notmuch.el: add functionality in notmuch search mode to add or remove tags by region

2010-02-16 Thread Jesse Rosenthal
This patch adds `-region' versions of the `notmuch-search-' commands to find properties. It also splits up `notmuch-add/remove-tags' into both a `-thread' and a `-region' version. (This makes us modify `notmuch-search-archive-thread' to use the `notmuch-search-remove-tag-thread' function, instead

Re: [notmuch] Using test-lib.sh under GPLv3?

2010-02-16 Thread Jakub Narebski
Dnia wtorek 16. lutego 2010 14:06, Michal Sojka napisaƂ: On Tue, 16 Feb 2010 02:27:37 -0800 (PST), Jakub Narebski jna...@gmail.com wrote: Michal Sojka sojk...@fel.cvut.cz writes: I like the simple and powerful test suite used by Git and I would like to use something like that in

Re: [notmuch] Mail in git

2010-02-16 Thread martin f krafft
also sprach Stewart Smith stew...@flamingspork.com [2010.02.15.1329 +1300]: What about adding more mail to the archive? So the way I think is that you use a Maildir for day to day mail (e.g. delivery) and every so often you run some magic command that takes old mail out of the Maildir and

Re: [notmuch] Using test-lib.sh under GPLv3?

2010-02-16 Thread Junio C Hamano
Michal Sojka sojk...@fel.cvut.cz writes: ... You are mentioned as a copyright holder in test-lib.sh and t-basic.sh so I'd like to ask you: Would you mind using parts of these files under GPLv3? I don't mind for the parts I wrote, which is the basic infrastructure (output redirection,

Re: [notmuch] Using test-lib.sh under GPLv3?

2010-02-16 Thread Avery Pennarun
On Tue, Feb 16, 2010 at 8:06 AM, Michal Sojka sojk...@fel.cvut.cz wrote: On Tue, 16 Feb 2010 02:27:37 -0800 (PST), Jakub Narebski jna...@gmail.com wrote: Michal Sojka sojk...@fel.cvut.cz writes: I like the simple and powerful test suite used by Git and I would like to use something like