[notmuch] [PATCH] Add SWIG interface file

2010-01-25 Thread Ben Gamari
--- swig/Makefile| 18 swig/notmuch.py | 222 ++ swig/notmuch_funcs.i |9 ++ 3 files changed, 249 insertions(+), 0 deletions(-) create mode 100644 swig/Makefile create mode 100644 swig/notmuch.py create mode 100644

[notmuch] [PATCH] SWIG bindings

2010-01-25 Thread Ben Gamari
Hey all, Here's the latest version of my patch adding SWIG interface generation to notmuch. It has been rebased on the shared-library patches I sent over earlier this week, so you'll need those as well. Unfortunately, SWIG has effectively no support for exposing notmuch's C-style object-oriented

[notmuch] [PATCH] Make the date parser nicer

2010-01-25 Thread Keith Packard
On Fri, 22 Jan 2010 16:26:11 +0100, Sebastian Spaeth wrote: > Currently we have to enter mail dates as timestamps. This approach > does 2 things: it requires the prefix 'date:' and it allows timestamps > to be specified as , MM or MMDD. So a notmuch show > date:2005..20060512 will

[PATCH] Add date.c

2010-01-25 Thread Keith Packard
rlen(first_string)-1] = '\0'; + ctime_r(, last_string); + last_string[strlen(last_string)-1] = '\0'; + printf ("%s: %s - %s\n", argv[i], first_string, last_string); + } +} +} +#endif -- 1.6.6 -- keith.packard at intel.com -- 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/20100125/1fa59cc1/attachment-0001.pgp>

[notmuch] [PATCH] Mail::Notmuch Perl wrapper

2010-01-25 Thread Ben Gamari
Excerpts from Simon Cozens's message of Mon Jan 25 13:17:16 -0500 2010: > (Resent with compressed patch) > > Hi there, > Here's a Perl library, Mail::Notmuch, which wraps the notmuch library. > I've attached it because it's pretty huge. It requires you to > build notmuch as a shared library -

[notmuch] proposal for more streamlined mail flow in notmuch

2010-01-25 Thread Ben Gamari
Excerpts from Jameson Rollins's message of Sat Jan 16 15:49:55 -0500 2010: > To fascilitate this, two new functions should be implemented at the > notmuch CLI level, so that things don't get fractured by different > mail reader implementations: > > notmuch purge > > delete all 'delete' tagged

[notmuch] Git as notmuch object store (was: Potential problem using Git for mail)

2010-01-25 Thread martin f krafft
--- 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/20100125/0c16410d/attachment.pgp>

[notmuch] [PATCH] Mail::Notmuch Perl wrapper

2010-01-25 Thread Simon Cozens
else to say, really. Enjoy. Simon -- next part -- A non-text attachment was scrubbed... Name: Mail-Notmuch-perl.patch.gz Type: application/x-gzip Size: 55832 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20100125/9ee79950/attachment-0

[notmuch] tag dir proposal [was: Re: Git as notmuch object store]

2010-01-25 Thread Jameson Rollins
mie. -- 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/20100125/4b013ce3/attachment.pgp>

[notmuch] Git feature branch

2010-01-25 Thread sebast...@sspaeth.de
> I think it would make sense to move the mainline to git.debian.org > for now, or another place where everyone can easily get an account. > As alternatives I propose repo.or.cz. I'd prefer to stay away from > commercial services like Github. Any of those sounds fine to me, really. No

[notmuch] Git as notmuch object store (was: Potential problem using Git for mail)

2010-01-25 Thread Sebastian Spaeth
On Mon, 25 Jan 2010 13:46:59 +1300, martin f krafft wrote: > I think we all kinda agreed that the Maildir flags should not be > used by notmuch and that things like Sebastian's notmuchsync should > be used if people wanted flags represented in Maildir filenames. While notmuchsync fullfils my

[notmuch] [PATCH] Make the date parser nicer (v3 + 'now' keyword) (final mail)

2010-01-25 Thread Sebastian Spaeth
Sorry, very last mail from me on this issue. I squashed the patches into 3 distinct ones, and inherited a tree from cworth's master tree for easier pulling (rather than basing it off my all-features branch). This branch is here: http://github.com/spaetz/notmuch-all-feature/commits/dateparser2

[notmuch] [PATCH] Mail::Notmuch Perl wrapper

2010-01-25 Thread Mike Kelly
On Mon, 25 Jan 2010 18:17:16 +, Simon Cozens wrote: > (Resent with compressed patch) > > Hi there, > Here's a Perl library, Mail::Notmuch, which wraps the notmuch library. > I've attached it because it's pretty huge. It requires you to > build notmuch as a shared library - there's a

[notmuch] Git as notmuch object store (was: Potential problem using Git for mail)

2010-01-25 Thread martin f krafft
n/pgp-signature Size: 198 bytes Desc: Digital signature (see http://martin-krafft.net/gpg/) URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20100125/6a70e84f/attachment.pgp>

[notmuch] [PATCH] Make the date parser nicer (v3 + 'now' keyword)

2010-01-25 Thread Sebastian Spaeth
The patch previously sent can be considered my final attempt to a nicer date parser. In addition to some testing, I have updated the documentation to reflect the new syntax, and I have also added the keyword 'now' as a possibility. So 'date:2002..now' (all mails from 2002 until now) or

[notmuch] debs of xapian upstream

2010-01-25 Thread Jameson Rollins
=564830 -- 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/20100125/71216e90/attachment-0001.pgp>

[notmuch] [PATCH] Make the date parser nicer. This is v3 and considered to be final (but the documentation).

2010-01-25 Thread Sebastian Spaeth
Currently we have to enter mail dates as timestamps. This approach does 2 things: 1) it requires the prefix 'date:' 2) it allows dates to be specified in a flexible way. So a notmuch show date:2005..2006-05-12 will find all mails from 2005-01-01 until 2006-05-12. Possible time formats:

[notmuch] Git as notmuch object store (was: Potential problem using Git for mail)

2010-01-25 Thread Mike Kelly
On Mon, 25 Jan 2010 14:49:00 +0100, "Sebastian Spaeth" wrote: > > On Mon, 25 Jan 2010 13:46:59 +1300, martin f krafft > wrote: > > I think we all kinda agreed that the Maildir flags should not be > > used by notmuch and that things like Sebastian's notmuchsync should > > be used if people

[notmuch] Git as notmuch object store (was: Potential problem using Git for mail)

2010-01-25 Thread Asheesh Laroia
On Mon, 25 Jan 2010, martin f krafft wrote: > also sprach Asheesh Laroia [2010.01.21.1928 > +1300]: >>> I suppose that I never actually considered merges on the IMAP server >>> side, but obviously the IMAP server has to work off a clone, and that >>> means it needs to merge. >> >> It's not

Re: [notmuch] [PATCH] Make the date parser nicer (v3 + 'now' keyword)

2010-01-25 Thread Sebastian Spaeth
The patch previously sent can be considered my final attempt to a nicer date parser. In addition to some testing, I have updated the documentation to reflect the new syntax, and I have also added the keyword 'now' as a possibility. So 'date:2002..now' (all mails from 2002 until now) or

Re: [notmuch] Git as notmuch object store (was: Potential problem using Git for mail)

2010-01-25 Thread Sebastian Spaeth
On Mon, 25 Jan 2010 13:46:59 +1300, martin f krafft madd...@madduck.net wrote: I think we all kinda agreed that the Maildir flags should not be used by notmuch and that things like Sebastian's notmuchsync should be used if people wanted flags represented in Maildir filenames. While

Re: [notmuch] Git as notmuch object store (was: Potential problem using Git for mail)

2010-01-25 Thread martin f krafft
also sprach Sebastian Spaeth sebast...@sspaeth.de [2010.01.26.0249 +1300]: While notmuchsync fullfils my needs, it is a kludge. It needs to call notmuch for each mail where a MailDir flag has changed (which can be quite often on an initial run, where most mails are likely to be read), this can

Re: [notmuch] Git feature branch

2010-01-25 Thread martin f krafft
also sprach Carl Worth cwo...@cworth.org [2010.01.23.1010 +1300]: Anyway, I'll be on vacation for the next few days, so will likely not have much, (likely have not much?), time for patch merging. But I *am* anxious to get back to the backlog. And in the meantime, I really appreciate others

Re: [notmuch] [PATCH] Mail::Notmuch Perl wrapper

2010-01-25 Thread Ben Gamari
Excerpts from Simon Cozens's message of Mon Jan 25 13:17:16 -0500 2010: (Resent with compressed patch) Hi there, Here's a Perl library, Mail::Notmuch, which wraps the notmuch library. I've attached it because it's pretty huge. It requires you to build notmuch as a shared library -

[notmuch] [PATCH] Add SWIG interface file

2010-01-25 Thread Ben Gamari
--- swig/Makefile| 18 swig/notmuch.py | 222 ++ swig/notmuch_funcs.i |9 ++ 3 files changed, 249 insertions(+), 0 deletions(-) create mode 100644 swig/Makefile create mode 100644 swig/notmuch.py create mode 100644

[notmuch] [PATCH] Build and link against notmuch shared library

2010-01-25 Thread Ben Gamari
Inger in #notmuch brought to light some build issues that will occur when the notmuch binary is being built before libnotmuch is installed. Here is an updated patch that resolves these issues. --- .gitignore |1 + Makefile |1 + Makefile.local |6 --