Re: [PATCH] go: Update to the current notmuch_database_find_message API

2012-04-30 Thread Sebastien Binet
Justus, Justus Winter <4win...@informatik.uni-hamburg.de> writes: > Quoting David Bremner (2012-04-30 13:53:47) >> Austin Clements writes: >> >> > The signature of notmuch_database_find_message was changed in 02a30767 >> > to report errors and the Go bindings were never updated. This brings >

query on a subset of messages ?

2012-07-09 Thread Sebastien Binet
hi there, I was trying to reduce the I/O stress during my usual email fetching+tagging by writing a little program using the go bindings to notmuch. ie: db, status := notmuch.OpenDatabase(db_path, notmuch.DATABASE_MODE_READ_WRITE) query := db.CreateQuery("(tag:new AND tag:inbox)"

Re: query on a subset of messages ?

2012-07-09 Thread Sebastien Binet
Jamie, Jameson Graef Rollins writes: > On Mon, Jul 09 2012, Sebastien Binet wrote: >> I was trying to reduce the I/O stress during my usual email >> fetching+tagging by writing a little program using the go bindings to >> notmuch. >> >> ie: >> db,

post-new [was: Re: query on a subset of messages ?]

2012-07-09 Thread Sebastien Binet
Sebastien Binet writes: > Jamie, > > Jameson Graef Rollins writes: > >> On Mon, Jul 09 2012, Sebastien Binet wrote: >>> I was trying to reduce the I/O stress during my usual email >>> fetching+tagging by writing a little program using the go bindings to >

Re: query on a subset of messages ?

2012-07-09 Thread Sebastien Binet
Austin Clements writes: > Quoth Sebastien Binet on Jul 09 at 10:25 am: >> >> hi there, >> >> I was trying to reduce the I/O stress during my usual email >> fetching+tagging by writing a little program using the go bindings to >> notmuch. >> >>

Re: post-new [was: Re: query on a subset of messages ?]

2012-07-10 Thread Sebastien Binet
Jani Nikula writes: > On Jul 9, 2012 8:12 PM, "Jameson Graef Rollins" > wrote: >> >> On Mon, Jul 09 2012, Sebastien Binet wrote: >> > hum... is post-new supposed to be run even if there is no new message ? >> >> Hi, Sebastian. Yes, I think it

Re: [PATCH 1/7] go: Use iota in enum bindings

2012-07-18 Thread Sebastien Binet
Austin Clements writes: > Hah. I guess nobody has tried to modify a notmuch database using the > Go bindings. > > Could this instead assign the constants to > C.NOTMUCH_DATABASE_MODE_READ_ONLY, etc, rather than duplicating their > values? It would be nice to do that for the Status values as wel

Re: query on a subset of messages ?

2012-07-19 Thread Sebastien Binet
Sebastien Binet writes: > Austin Clements writes: > >> Quoth Sebastien Binet on Jul 09 at 10:25 am: >>> >>> hi there, >>> >>> I was trying to reduce the I/O stress during my usual email >>> fetching+tagging by writing a little program

[ann] (incomplete) go bindings to libnotmuch

2010-11-10 Thread Sebastien Binet
hi there, mainly to familiarize myself with the go language, I wrapped the libnotmuch library and reaped off Sebastian's vala-addressbooklookup program into a go version. the buggy and incomplete code is there: http://bitbucket.org/binet/go-notmuch/src cheers, sebastien. __

Re: [ann] (incomplete) go bindings to libnotmuch

2010-11-12 Thread Sebastien Binet
On Thu, 11 Nov 2010 16:50:06 -0800, Carl Worth wrote: > On Wed, 10 Nov 2010 18:37:00 +0100, Sebastien Binet wrote: > > > mainly to familiarize myself with the go language, I wrapped the > > libnotmuch library and reaped off Sebastian's vala-addressbooklookup > &

ordering threads by the latest message in a thread ?

2011-02-09 Thread Sebastien Binet
hi there, right now, it seems like the messages are displayed and ordered in my inbox according to the date of the *first* message in a thread. that doesn't sound right to me as one can easily miss new replies to that thread (at least I did.) is there a way to modify this in the notmuch emacs i

Re: ordering threads by the latest message in a thread ?

2011-02-09 Thread Sebastien Binet
On Wed, 9 Feb 2011 13:36:17 -0500, Jesse Rosenthal wrote: > > On Wed, 09 Feb 2011 13:22:26 -0500, Daniel Kahn Gillmor > wrote: > > > > Jameson, are you saying that "Search Oldest First" not only inverts the > > order of the threads, but also changes the a date a given thread is > > associated

Re: address completion when composing

2011-05-11 Thread Sebastien Binet
On Wed, 11 May 2011 14:18:01 +0200, Florian Friesdorf wrote: > > According to the docs [1], there are two programs that can be used with > notmuch-address.el: notmuch-addresses (python) and addrlookup > (vala/c). for completeness... there is also notmuch-addrlookup in go: http://git.notmuchmail.

bug in emacs-ui ?

2011-06-20 Thread Sebastien Binet
hi there, recently, using the head of notmuch-git: git://notmuchmail.org/git/notmuch when a mail ends with an url and is recognized as a signature: == This item URL is:

Re: bug in emacs-ui ?

2011-06-20 Thread Sebastien Binet
Jamie, On Mon, 20 Jun 2011 08:16:00 -0700, Jameson Graef Rollins wrote: Non-text part: multipart/signed > On Mon, 20 Jun 2011 09:15:06 +0200, Sebastien Binet > wrote: > > recently, using the head of notmuch-git: > > > > git://notmuchmail.org/git/notmuch > > &g

Re: bug in emacs-ui ?

2011-06-20 Thread Sebastien Binet
On Mon, 20 Jun 2011 09:17:32 -0700, Jameson Graef Rollins wrote: Non-text part: multipart/signed > On Mon, 20 Jun 2011 17:52:03 +0200, Sebastien Binet > wrote: > > it is only when the signature is lumped like below, that I get the error: > > [ 4-line signature. C

Re: bug in emacs-ui ?

2011-06-20 Thread Sebastien Binet
On Mon, 20 Jun 2011 11:18:11 -0700, Jameson Graef Rollins wrote: Non-text part: multipart/signed > On Mon, 20 Jun 2011 18:43:01 +0200, Sebastien Binet > wrote: > > > You didn't try forwarding the email to the list ;) > > ah! that easy, heh ? > > > &

Re: bug in emacs-ui ?

2011-06-20 Thread Sebastien Binet
hi, On Mon, Jun 20, 2011 at 9:53 PM, Jameson Graef Rollins < jroll...@finestructure.net> wrote: > On Mon, 20 Jun 2011 18:43:01 +0200, Sebastien Binet > wrote: > > > You didn't try forwarding the email to the list ;) > > ah! that easy, heh ? > > > Att

Re: bug in emacs-ui ?

2011-06-21 Thread Sebastien Binet
On Mon, 20 Jun 2011 22:41:18 -0700, Jameson Graef Rollins wrote: Non-text part: multipart/signed > On Tue, 21 Jun 2011 02:01:17 +0200, Sebastien Binet > wrote: > > and I checked there were no lingering .el files... > > > > so... > > any way to tell which notmuc

Re: bug in emacs-ui ?

2011-06-21 Thread Sebastien Binet
hi, On Mon, 20 Jun 2011 22:41:18 -0700, Jameson Graef Rollins wrote: Non-text part: multipart/signed > On Tue, 21 Jun 2011 02:01:17 +0200, Sebastien Binet > wrote: > > and I checked there were no lingering .el files... > > > > so... > > any way to tell which

Re: bug in emacs-ui ?

2011-06-21 Thread Sebastien Binet
On Tue, 21 Jun 2011 15:09:20 -0700, Carl Worth wrote: Non-text part: multipart/signed > On Tue, 21 Jun 2011 21:26:25 +0200, Sebastien Binet > wrote: > > fyi: I am using emacs-23.3 > > Perhaps this is an emacs bug? could be, but, > I'm using Debian's emacs 23.3

Re: bug in emacs-ui ?

2011-06-28 Thread Sebastien Binet
t; > > > > > > > > > On Wed, 22 Jun 2011 08:50:23 +0200, Sebastien Binet > > > > wrote: > > > > > On Tue, 21 Jun 2011 15:09:20 -0700, Carl Worth wrote: > > > > > > Perhaps this is an emacs bug? > > > > &

[ann] (incomplete) go bindings to libnotmuch

2010-11-10 Thread Sebastien Binet
hi there, mainly to familiarize myself with the go language, I wrapped the libnotmuch library and reaped off Sebastian's vala-addressbooklookup program into a go version. the buggy and incomplete code is there: http://bitbucket.org/binet/go-notmuch/src cheers, sebastien.

[ann] (incomplete) go bindings to libnotmuch

2010-11-12 Thread Sebastien Binet
On Thu, 11 Nov 2010 16:50:06 -0800, Carl Worth wrote: > On Wed, 10 Nov 2010 18:37:00 +0100, Sebastien Binet wrote: > > > mainly to familiarize myself with the go language, I wrapped the > > libnotmuch library and reaped off Sebastian's vala-addressbooklookup > &

ordering threads by the latest message in a thread ?

2011-02-09 Thread Sebastien Binet
hi there, right now, it seems like the messages are displayed and ordered in my inbox according to the date of the *first* message in a thread. that doesn't sound right to me as one can easily miss new replies to that thread (at least I did.) is there a way to modify this in the notmuch emacs i

ordering threads by the latest message in a thread ?

2011-02-09 Thread Sebastien Binet
On Wed, 9 Feb 2011 13:36:17 -0500, Jesse Rosenthal wrote: > > On Wed, 09 Feb 2011 13:22:26 -0500, Daniel Kahn Gillmor fifthhorseman.net> wrote: > > > > Jameson, are you saying that "Search Oldest First" not only inverts the > > order of the threads, but also changes the a date a given thread i

address completion when composing

2011-05-11 Thread Sebastien Binet
On Wed, 11 May 2011 14:18:01 +0200, Florian Friesdorf wrote: > > According to the docs [1], there are two programs that can be used with > notmuch-address.el: notmuch-addresses (python) and addrlookup > (vala/c). for completeness... there is also notmuch-addrlookup in go: http://git.notmuchmail

bug in emacs-ui ?

2011-06-20 Thread Sebastien Binet
hi there, recently, using the head of notmuch-git: git://notmuchmail.org/git/notmuch when a mail ends with an url and is recognized as a signature: == This item URL is:

bug in emacs-ui ?

2011-06-20 Thread Sebastien Binet
Jamie, On Mon, 20 Jun 2011 08:16:00 -0700, Jameson Graef Rollins wrote: Non-text part: multipart/signed > On Mon, 20 Jun 2011 09:15:06 +0200, Sebastien Binet > wrote: > > recently, using the head of notmuch-git: > > > > git://notmuchmail.org/git/notmuch > > &g

bug in emacs-ui ?

2011-06-20 Thread Sebastien Binet
On Mon, 20 Jun 2011 09:17:32 -0700, Jameson Graef Rollins wrote: Non-text part: multipart/signed > On Mon, 20 Jun 2011 17:52:03 +0200, Sebastien Binet > wrote: > > it is only when the signature is lumped like below, that I get the error: > > [ 4-line signature. C

bug in emacs-ui ?

2011-06-20 Thread Sebastien Binet
On Mon, 20 Jun 2011 11:18:11 -0700, Jameson Graef Rollins wrote: Non-text part: multipart/signed > On Mon, 20 Jun 2011 18:43:01 +0200, Sebastien Binet > wrote: > > > You didn't try forwarding the email to the list ;) > > ah! that easy, heh ? > > > > Attachm

bug in emacs-ui ?

2011-06-21 Thread Sebastien Binet
hi, On Mon, Jun 20, 2011 at 9:53 PM, Jameson Graef Rollins < jrollins at finestructure.net> wrote: > On Mon, 20 Jun 2011 18:43:01 +0200, Sebastien Binet > wrote: > > > You didn't try forwarding the email to the list ;) > > ah! that easy, heh ? > > > Att

bug in emacs-ui ?

2011-06-21 Thread Sebastien Binet
On Mon, 20 Jun 2011 22:41:18 -0700, Jameson Graef Rollins wrote: Non-text part: multipart/signed > On Tue, 21 Jun 2011 02:01:17 +0200, Sebastien Binet > wrote: > > and I checked there were no lingering .el files... > > > > so... > > any way to tell which notmuc

bug in emacs-ui ?

2011-06-21 Thread Sebastien Binet
hi, On Mon, 20 Jun 2011 22:41:18 -0700, Jameson Graef Rollins wrote: Non-text part: multipart/signed > On Tue, 21 Jun 2011 02:01:17 +0200, Sebastien Binet > wrote: > > and I checked there were no lingering .el files... > > > > so... > > any way to tell which

bug in emacs-ui ?

2011-06-22 Thread Sebastien Binet
On Tue, 21 Jun 2011 15:09:20 -0700, Carl Worth wrote: Non-text part: multipart/signed > On Tue, 21 Jun 2011 21:26:25 +0200, Sebastien Binet > wrote: > > fyi: I am using emacs-23.3 > > Perhaps this is an emacs bug? could be, but, > I'm using Debian's emacs 23.3

bug in emacs-ui ?

2011-06-29 Thread Sebastien Binet
> > > > > > > > > > > On Wed, 22 Jun 2011 08:50:23 +0200, Sebastien Binet > > > > wrote: > > > > > On Tue, 21 Jun 2011 15:09:20 -0700, Carl Worth wrote: > > > > > > Perhaps this is an emacs bug? > > > > &

[PATCH] go: Update to the current notmuch_database_find_message API

2012-04-30 Thread Sebastien Binet
Justus, Justus Winter <4winter at informatik.uni-hamburg.de> writes: > Quoting David Bremner (2012-04-30 13:53:47) >> Austin Clements writes: >> >> > The signature of notmuch_database_find_message was changed in 02a30767 >> > to report errors and the Go bindings were never updated. This bring

query on a subset of messages ?

2012-07-09 Thread Sebastien Binet
hi there, I was trying to reduce the I/O stress during my usual email fetching+tagging by writing a little program using the go bindings to notmuch. ie: db, status := notmuch.OpenDatabase(db_path, notmuch.DATABASE_MODE_READ_WRITE) query := db.CreateQuery("(tag:new AND tag:inbox)"

query on a subset of messages ?

2012-07-09 Thread Sebastien Binet
Jamie, Jameson Graef Rollins writes: > On Mon, Jul 09 2012, Sebastien Binet wrote: >> I was trying to reduce the I/O stress during my usual email >> fetching+tagging by writing a little program using the go bindings to >> notmuch. >> >> ie: >> db,

post-new [was: Re: query on a subset of messages ?]

2012-07-09 Thread Sebastien Binet
Sebastien Binet writes: > Jamie, > > Jameson Graef Rollins writes: > >> On Mon, Jul 09 2012, Sebastien Binet wrote: >>> I was trying to reduce the I/O stress during my usual email >>> fetching+tagging by writing a little program using the go bindings to >

query on a subset of messages ?

2012-07-09 Thread Sebastien Binet
Austin Clements writes: > Quoth Sebastien Binet on Jul 09 at 10:25 am: >> >> hi there, >> >> I was trying to reduce the I/O stress during my usual email >> fetching+tagging by writing a little program using the go bindings to >> notmuch. >> >>

post-new [was: Re: query on a subset of messages ?]

2012-07-10 Thread Sebastien Binet
Jani Nikula writes: > On Jul 9, 2012 8:12 PM, "Jameson Graef Rollins" finestructure.net> > wrote: >> >> On Mon, Jul 09 2012, Sebastien Binet wrote: >> > hum... is post-new supposed to be run even if there is no new message ? >> >> Hi, Seba

[PATCH 1/7] go: Use iota in enum bindings

2012-07-18 Thread Sebastien Binet
Austin Clements writes: > Hah. I guess nobody has tried to modify a notmuch database using the > Go bindings. > > Could this instead assign the constants to > C.NOTMUCH_DATABASE_MODE_READ_ONLY, etc, rather than duplicating their > values? It would be nice to do that for the Status values as wel

query on a subset of messages ?

2012-07-19 Thread Sebastien Binet
Sebastien Binet writes: > Austin Clements writes: > >> Quoth Sebastien Binet on Jul 09 at 10:25 am: >>> >>> hi there, >>> >>> I was trying to reduce the I/O stress during my usual email >>> fetching+tagging by writing a little program