[PATCH 1/4] emacs: unify search mechanisms

2012-01-02 Thread Xavier Maillard
On Mon, 02 Jan 2012 15:23:17 +0200, Tomi Ollila wrote: > On Sat, 31 Dec 2011 14:42:47 +0200, Jani Nikula wrote: > > On Fri, 30 Dec 2011 10:43:37 -0400, David Bremner > > wrote: > > > > > Personally I would like to be able to customize the hello screen to > > > remove the search box. I find it

[PATCH 1/3] pep8 fixes

2012-01-02 Thread Sebastian Spaeth
ian -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20120102/20941484/attachment.pgp>

Python bindings for adoption

2012-01-02 Thread Sebastian Spaeth
org/pipermail/notmuch/attachments/20120102/f3a4b99b/attachment.pgp>

Info about notmuch database

2012-01-02 Thread piutto...@logorroici.org
Hello! I like notmuch a lot, so I'm writing a (conceptually) similar software about addressbook: it will scan all your emails, storing email addresses in a xapian database (you can think of it as little brother database[1] on steroids) The part that I'd like to re-implement is "notmuch new": it

[PATCH 2/2] python: make the result of Message.get_replies() more pythonic

2012-01-02 Thread Sebastian Spaeth
t shouldn't cause the breaking of existing clients... (famous last words) Sebastian -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notm

[PATCH 1/2] python: refactor print_messages into format_messages and print_messages

2012-01-02 Thread Sebastian Spaeth
A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20120102/303987e7/attachment.pgp>

Possible bug in tests with emacs 23.2.1 (debian stable)

2012-01-02 Thread Tomi Ollila
On Sun, 1 Jan 2012 10:05:59 +, Mark Walters wrote: > Hello > > When I try and run the tests on my (fairly standard) debian stable > system they hang after "PASS Search message: json, utf-8". This is > with latest git (07768fb1bb50e) and emacs 23.2.1. > > As far as I can see emacs is not

Segmentation fault at gmime-iconv with python binding

2012-01-02 Thread Sebastian Spaeth
an -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20120102/6b82c5aa/attachment-0001.pgp>

[PATCH 5/7] py3k: the basestring and unicode types are removed in python 3

2012-01-02 Thread Sebastian Spaeth
non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20120102/48d967f0/attachment.pgp>

[PATCH 5/5] python: add get_mtime() to the Message class

2012-01-02 Thread Sebastian Spaeth
Sebastian -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20120102/b6466fdf/attachment.pgp>

[PATCH 1/4] emacs: unify search mechanisms

2012-01-02 Thread Tomi Ollila
On Sat, 31 Dec 2011 14:42:47 +0200, Jani Nikula wrote: > On Fri, 30 Dec 2011 10:43:37 -0400, David Bremner > wrote: > > > Personally I would like to be able to customize the hello screen to > > remove the search box. I find it confusing that that 's' jumps to the > > search box there, and

[PATCH 2/2] python: make the result of Message.get_replies() more pythonic

2012-01-02 Thread Tomi Ollila
On Wed, 21 Dec 2011 14:15:02 +0100, Justus Winter <4winter at informatik.uni-hamburg.de> wrote: > Formerly Message.get_replies() returned an iterator or None forcing > users to check the result before iterating over it leading to strange > looking code at the call site. > > Fix this flaw by

[PATCH 1/2] python: refactor print_messages into format_messages and print_messages

2012-01-02 Thread Tomi Ollila
On Wed, 21 Dec 2011 14:15:01 +0100, Justus Winter <4winter at informatik.uni-hamburg.de> wrote: > --- > bindings/python/notmuch/message.py | 37 +-- > 1 files changed, 26 insertions(+), 11 deletions(-) > > diff --git a/bindings/python/notmuch/message.py >

[PATCH 2/2] lib: call g_mime_init from notmuch_database_open

2012-01-02 Thread Tomi Ollila
On Fri, 30 Dec 2011 23:02:39 -0400, David Bremner wrote: > On Fri, 30 Dec 2011 19:58:10 -0200, Kazuo Teramoto > wrote: > > We need to call g_mime_init to correct initialize the structures needed > > by gmime before using it. > > --- > > lib/database.cc |5 + > > 1 files changed, 5

[PATCH 2/2] python test "compare message ids"

2012-01-02 Thread Patrick Totzke
Introduces a second (trivial) test for the python bindings that searches for message ids and compares the output with that of `notmuch search`. --- test/python | 13 + 1 files changed, 13 insertions(+), 0 deletions(-) diff --git a/test/python b/test/python index c318cc1..6018c2d

[PATCH 1/2] clean up "compare thread ids" python test

2012-01-02 Thread Patrick Totzke
This makes the test script open the database in READ_ONLY mode and use the libraries own sorting methods instead of "sort". --- test/python |7 --- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/test/python b/test/python index c3aa726..c318cc1 100755 --- a/test/python +++

[PATCH 1/2] test: add a function to run Python tests

2012-01-02 Thread Patrick Totzke
Quoting Thomas Jost (2011-12-13 17:21:34) >On Sun, 11 Dec 2011 18:58:18 +0400, Dmitry Kurochkin gmail.com> wrote: >> Perhaps we should have a test-lib.py for test-specific stuff like this >> (similar to test-lib.el)? I think it would be cleaner and makes it easy >> to add more Python test

[PATCH] emacs: fix notmuch-show-indent-messages-width customization variable name

2012-01-02 Thread Jameson Graef Rollins
The name was originally notmuch-indent-messages-width, which is inconsistent with our variable naming convention. --- Sorry, I forgot to fix the tests in the original patch. emacs/notmuch-show.el |6 +++--- test/emacs|6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-)

[PATCH 2/2] update NEWS

2012-01-02 Thread Jameson Graef Rollins
This change looks slightly larger than it actually is, since I moved the emacs section below the Performance and Memory Management sections. --- NEWS | 51 --- 1 files changed, 40 insertions(+), 11 deletions(-) diff --git a/NEWS b/NEWS index

[PATCH 1/2] emacs: fix notmuch-show-indent-messages-width customization variable name

2012-01-02 Thread Jameson Graef Rollins
The name was originally notmuch-indent-messages-width, which is inconsistent with our variable naming convention. --- emacs/notmuch-show.el |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el index eee4da9..82d11c9 100644 ---

update NEWS, and fix conf variable name

2012-01-02 Thread Jameson Graef Rollins
On Mon, 02 Jan 2012 07:58:16 -0400, David Bremner wrote: > Austin Clements: >emacs: Don't record undo information for search or show buffers. >emacs: Avoid unnecessary markers. > > Dmitry Kurochkin : >emacs: do not call notmuch show for non-inlinable parts > >

0.11 is frozen, please update NEWS

2012-01-02 Thread David Bremner
I have tagged 0.11_rc2 and uploaded 0.11~rc2-1 to Debian experimental. This includes only the single non-doc commit, fixing a python bindings segfault. NEWS items are still solicited. d Austin Clements: emacs: Don't record undo information for search or show buffers. emacs:

Re: 0.11 is frozen, please update NEWS

2012-01-02 Thread David Bremner
I have tagged 0.11_rc2 and uploaded 0.11~rc2-1 to Debian experimental. This includes only the single non-doc commit, fixing a python bindings segfault. NEWS items are still solicited. d Austin Clements: emacs: Don't record undo information for search or show buffers. emacs:

Re: [PATCH 2/2] lib: call g_mime_init from notmuch_database_open

2012-01-02 Thread Tomi Ollila
On Fri, 30 Dec 2011 23:02:39 -0400, David Bremner da...@tethera.net wrote: On Fri, 30 Dec 2011 19:58:10 -0200, Kazuo Teramoto kaz@gmail.com wrote: We need to call g_mime_init to correct initialize the structures needed by gmime before using it. --- lib/database.cc |5 + 1

Re: [PATCH 1/2] python: refactor print_messages into format_messages and print_messages

2012-01-02 Thread Tomi Ollila
On Wed, 21 Dec 2011 14:15:01 +0100, Justus Winter 4win...@informatik.uni-hamburg.de wrote: --- bindings/python/notmuch/message.py | 37 +-- 1 files changed, 26 insertions(+), 11 deletions(-) diff --git a/bindings/python/notmuch/message.py

Re: [PATCH 2/2] python: make the result of Message.get_replies() more pythonic

2012-01-02 Thread Tomi Ollila
On Wed, 21 Dec 2011 14:15:02 +0100, Justus Winter 4win...@informatik.uni-hamburg.de wrote: Formerly Message.get_replies() returned an iterator or None forcing users to check the result before iterating over it leading to strange looking code at the call site. Fix this flaw by adding an

Re: [PATCH 1/4] emacs: unify search mechanisms

2012-01-02 Thread Tomi Ollila
On Sat, 31 Dec 2011 14:42:47 +0200, Jani Nikula j...@nikula.org wrote: On Fri, 30 Dec 2011 10:43:37 -0400, David Bremner da...@tethera.net wrote: Personally I would like to be able to customize the hello screen to remove the search box. I find it confusing that that 's' jumps to the