Regarding notmuch and Fedora 16

2012-01-03 Thread Darren McGuicken
ay to handle this? I see 2.6 tarballs on gnome... is 2.6 officially out there and stable? -- 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/piperm

[ANNOUNCE] mutt with notmuch support

2012-01-03 Thread Darren McGuicken
-signature Size: 197 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20120103/1707262a/attachment-0001.pgp>

[ANNOUNCE] mutt with notmuch support

2012-01-03 Thread Darren McGuicken
org/pipermail/notmuch/attachments/20120103/351e6a68/attachment.pgp>

[PATCH 1/2] add notmuch keybinding 'd'

2012-01-03 Thread Jani Nikula
On Tue, 03 Jan 2012 14:56:50 +, David Edmondson wrote: > On Sat, 16 Jul 2011 14:39:59 -0400, Antoine Beaupr? > wrote: > > It adds a tag 'deleted' and removes the tags 'inbox' and 'unread'. It > > works in show as well as in search mode > > Various people have asked for a keybinding to add a

[ANNOUNCE] mutt with notmuch support

2012-01-03 Thread Karel Zak
On Tue, Jan 03, 2012 at 06:45:46PM +, Darren McGuicken wrote: > On Tue, Jan 03, 2012 at 01:39:38PM +0100, Karel Zak wrote: > > This is not another curses front-end for notmuch, this is mutt :-) > > Outstanding! Assuming this mail makes it to the list, I can confirm > that it works well for me

Emacs: Crypto: How to get automatic encryption?

2012-01-03 Thread Gregor Zattler
Dear notmuch developers, I replied to a PGP/MIME signed and encrypted e-mail and was astonished to realise that my reply was sent unencrypted (and unsigened for that matter). Actually the message buffer in which I write replies has Auto Encryption Mode enabled, but nothing happens. Till now I

[PATCH] emacs: call "notmuch tag" only once when archiving a thread

2012-01-03 Thread Jani Nikula
Optimize thread archiving by combining all the -inbox tagging operations to a single "notmuch tag" call. Also skip redisplay of tag changes in current buffer, as it is immediately killed by the archiving functions. For threads in the order of tens or a hundred inbox tagged messages, this gives a n

[PATCH 2/2] update NEWS

2012-01-03 Thread Xavier Maillard
Hi, sorry to bother with such a simple correction On Mon, 2 Jan 2012 14:16:51 -0800, Jameson Graef Rollins wrote: > +Don't sort messages when creating a dump file > + > + This speads up tag dumps considerably, without any loss of ^^ speeds /Xavier

Possible bug in tests with emacs 23.2.1 (debian stable)

2012-01-03 Thread Mark Walters
On Tue, 03 Jan 2012 15:07:04 +0200, Tomi Ollila wrote: > I did some more testing; doing > > emacsclient --eval '(defun yes-or-no-p (prompt) t)' --eval '(kill-emacs)' > > Will make emacs 23.2.1 exit also, so IMO this "workaround" could be > used to "fix" the problem. I can confirm that the pa

Python bindings for adoption

2012-01-03 Thread Xavier Maillard
On Mon, 02 Jan 2012 17:14:58 +0100, Sebastian Spaeth wrote: > As I have repeatedly stated that I want to hand over the maintainership > of the notmuch python bindings, and I would like to do it asap. I feel > that people like Patrick Totzke, or Justus Winter who generally have > been working on

[ANNOUNCE] mutt with notmuch support

2012-01-03 Thread Xavier Maillard
On Tue, 3 Jan 2012 13:39:38 +0100, Karel Zak wrote: > > This is not another curses front-end for notmuch, this is mutt :-) > > I have forked mutt to seriously integrate notmuch to this excellent e-mail > client. I don't want to use symlinks or any other hacks to emulate virtual > folders. My wi

[ANNOUNCE] mutt with notmuch support

2012-01-03 Thread Darren McGuicken
On Tue, Jan 03, 2012 at 01:39:38PM +0100, Karel Zak wrote: > This is not another curses front-end for notmuch, this is mutt :-) Outstanding! Assuming this mail makes it to the list, I can confirm that it works well for me! Although I will have to find and dust off an old .muttrc... I had to tw

Regarding notmuch and Fedora 16

2012-01-03 Thread Peter Portante
st for a > while now, and it's obviously getting more urgent. I've been planning > on looking into it at it as soon as I can, but if anyone else wants to > take a crack at it, I'll be happy to review patches. > > jamie. > -- next part -- An HTML attachment was scrubbed... URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20120103/6ff83d91/attachment.html>

Regarding notmuch and Fedora 16

2012-01-03 Thread Peter Portante
2.5.8-1.fc16 installed, and it appears that provides the v2.6 include files for gmime (go figure). Could there be work already done to solve this? Thanks, -peter -- next part -- An HTML attachment was scrubbed... URL: <http://notmuchmail.org/pipermail/notm

[PATCH] Perform mail polling asynchronously

2012-01-03 Thread David Edmondson
y can't I just wait for the poll script to complete? -- 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/20120103/93a2e6fb/attachment.pgp>

Re: [ANNOUNCE] mutt with notmuch support

2012-01-03 Thread Jan Pobrislo
On Tue, 3 Jan 2012 13:39:38 +0100 Karel Zak wrote: > > This is not another curses front-end for notmuch, this is mutt :-) > > I have forked mutt to seriously integrate notmuch to this excellent > e-mail client. I don't want to use symlinks or any other hacks to > emulate virtual folders. My wis

Possible bug in tests with emacs 23.2.1 (debian stable)

2012-01-03 Thread Tomi Ollila
On Mon, 02 Jan 2012 16:55:45 +0200, Tomi Ollila wrote: > On Sun, 1 Jan 2012 10:05:59 +, Mark Walters gmail.com> wrote: [ ... ] > > As far as I can see emacs is not exiting when sent the "(kill-emacs)" > > command from test-lib.sh (line 931 called from line 869). It seems > > that this versi

[PATCH 1/2] add notmuch keybinding 'd'

2012-01-03 Thread David Edmondson
ersion the right one to choose? It seems sane to me (though I won't use it). -- 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/20120103/5525d3f8/attachment.pgp>

Re: Regarding notmuch and Fedora 16

2012-01-03 Thread Jameson Graef Rollins
On Tue, 3 Jan 2012 17:36:32 -0500, Peter Portante wrote: > Is there a good test suite for notmuch? Hey, Peter. Yes, there is a very good, extensive test suite for notmuch. It can be run with "make test" jamie. pgpwREjQW5rsd.pgp Description: PGP signature

Regarding notmuch and Fedora 16

2012-01-03 Thread Jameson Graef Rollins
ubbed... Name: not available Type: application/pgp-signature Size: 835 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20120103/26a5cf8e/attachment.pgp>

Re: Regarding notmuch and Fedora 16

2012-01-03 Thread Darren McGuicken
On Tue, 03 Jan 2012 17:09:39 -0500, Peter Portante wrote: > I am interested in using notmuch from within emacs, but have not been > able to get the latest version of notmuch (0.10.2) to compile under > Fedora 16. Looks like we have a growing Fedora community, yay! :-) And it's nothing you're

Re: Regarding notmuch and Fedora 16

2012-01-03 Thread Peter Portante
Is there a good test suite for notmuch? I'll take a crack at it using the latest 0.11 sources and see how far I get. Thanks, -peter On Tue, Jan 3, 2012 at 5:21 PM, Jameson Graef Rollins < jroll...@finestructure.net> wrote: > On Tue, 03 Jan 2012 17:09:39 -0500, Peter Portante < > peter.a.porta..

Re: Regarding notmuch and Fedora 16

2012-01-03 Thread Jameson Graef Rollins
On Tue, 03 Jan 2012 17:09:39 -0500, Peter Portante wrote: > I am interested in using notmuch from within emacs, but have not been > able to get the latest version of notmuch (0.10.2) to compile under > Fedora 16: > > [pportant@frodo notmuch-0.10.2]$ make > Use "make V=1" to see the ver

Regarding notmuch and Fedora 16

2012-01-03 Thread Jameson Graef Rollins
on looking into it at it as soon as I can, but if anyone else wants to take a crack at it, I'll be happy to review patches. jamie. -- 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/20120103/e9bd7dd0/attachment.pgp>

Re: [ANNOUNCE] mutt with notmuch support

2012-01-03 Thread Darren McGuicken
On Tue, 03 Jan 2012 13:17:04 -0800, Jameson Graef Rollins wrote: > On Tue, 3 Jan 2012 20:59:51 +0100, Karel Zak wrote: > > Unfortunately, the latest package for Fedora is notmuch-0.5-4.fc15 ;-( > > Yikes that's old (0.11 is being released eminently). There have been > quite a few important cha

[PATCH] emacs: Improved printing support.

2012-01-03 Thread David Edmondson
Add various functions to print notmuch messages and tie them together with a simple frontend. No keybinding is currently made to encourage paper saving. --- Fix the lack of shell quoting for muttprint. Rename the ps-print buffers to have a relevant name. emacs/Makefile.local |3 +- emacs/n

Re: [ANNOUNCE] mutt with notmuch support

2012-01-03 Thread Darren McGuicken
On Tue, 3 Jan 2012 20:59:51 +0100, Karel Zak wrote: > Unfortunately, the latest package for Fedora is notmuch-0.5-4.fc15 ;-( Take a look at id:"8762i8hrb9@bookbinder.fernseed.info". There is a gmime patch which still applies cleanly to everything up to the current git head and which will let

Regarding notmuch and Fedora 16

2012-01-03 Thread Peter Portante
Hello folks, I am interested in using notmuch from within emacs, but have not been able to get the latest version of notmuch (0.10.2) to compile under Fedora 16: [pportant@frodo notmuch-0.10.2]$ make Use "make V=1" to see the verbose compile lines. CC -O2 debugger.o In file includ

Re: Emacs: Crypto: How to get automatic encryption?

2012-01-03 Thread Jameson Graef Rollins
On Tue, 3 Jan 2012 20:56:51 +0100, Gregor Zattler wrote: > I replied to a PGP/MIME signed and encrypted e-mail and was > astonished to realise that my reply was sent unencrypted (and > unsigened for that matter). Yikes! Sorry this happened, and I hope nothing too sensitive was exposed. Auto sig

Emacs: Crypto: How to get automatic encryption?

2012-01-03 Thread Jameson Graef Rollins
lable Type: application/pgp-signature Size: 835 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20120103/48b52dd0/attachment.pgp>

[ANNOUNCE] mutt with notmuch support

2012-01-03 Thread Karel Zak
This is not another curses front-end for notmuch, this is mutt :-) I have forked mutt to seriously integrate notmuch to this excellent e-mail client. I don't want to use symlinks or any other hacks to emulate virtual folders. My wish is mutt linked with libnotmuch. Features: * in .muttrc defin

Re: [PATCH 1/2] add notmuch keybinding 'd'

2012-01-03 Thread Jameson Graef Rollins
On Tue, 03 Jan 2012 21:57:22 +0200, Jani Nikula wrote: > The code's there, and talk is cheap... but I'd rather like to see a > solution that would make it easy for users to add arbitrary tagging > operations to key bindings, instead of a fixed binding for "deleted". It's already easy for users to

[PATCH 1/2] add notmuch keybinding 'd'

2012-01-03 Thread Jameson Graef Rollins
0] http://notmuchmail.org/emacstips/#index6h2 -- 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/20120103/9c744320/attachment.pgp>

Re: [ANNOUNCE] mutt with notmuch support

2012-01-03 Thread Jameson Graef Rollins
On Tue, 3 Jan 2012 20:59:51 +0100, Karel Zak wrote: > Unfortunately, the latest package for Fedora is notmuch-0.5-4.fc15 ;-( Yikes that's old (0.11 is being released eminently). There have been quite a few important changes since then. Is there no one actively maintaining the fedora package? O

[ANNOUNCE] mutt with notmuch support

2012-01-03 Thread Jameson Graef Rollins
package? Obviously there's not. Anyone willing to take this on? jamie. -- 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/atta

[PATCH] bound mail-parse-charset, used by some functions on mm-view.el when there is no charset metadata in the html

2012-01-03 Thread David Edmondson
on/pgp-signature Size: 197 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20120103/5d75/attachment-0001.pgp>

Re: Possible bug in tests with emacs 23.2.1 (debian stable)

2012-01-03 Thread Mark Walters
On Tue, 03 Jan 2012 15:07:04 +0200, Tomi Ollila wrote: > I did some more testing; doing > > emacsclient --eval '(defun yes-or-no-p (prompt) t)' --eval '(kill-emacs)' > > Will make emacs 23.2.1 exit also, so IMO this "workaround" could be > used to "fix" the problem. I can confirm that the pa

Re: [ANNOUNCE] mutt with notmuch support

2012-01-03 Thread Karel Zak
On Tue, Jan 03, 2012 at 06:45:46PM +, Darren McGuicken wrote: > On Tue, Jan 03, 2012 at 01:39:38PM +0100, Karel Zak wrote: > > This is not another curses front-end for notmuch, this is mutt :-) > > Outstanding! Assuming this mail makes it to the list, I can confirm > that it works well for me

Re: [PATCH 1/2] add notmuch keybinding 'd'

2012-01-03 Thread Jani Nikula
On Tue, 03 Jan 2012 14:56:50 +, David Edmondson wrote: > On Sat, 16 Jul 2011 14:39:59 -0400, Antoine Beaupré > wrote: > > It adds a tag 'deleted' and removes the tags 'inbox' and 'unread'. It > > works in show as well as in search mode > > Various people have asked for a keybinding to add a

Emacs: Crypto: How to get automatic encryption?

2012-01-03 Thread Gregor Zattler
Dear notmuch developers, I replied to a PGP/MIME signed and encrypted e-mail and was astonished to realise that my reply was sent unencrypted (and unsigened for that matter). Actually the message buffer in which I write replies has Auto Encryption Mode enabled, but nothing happens. Till now I

[PATCH] emacs: Improved printing support.

2012-01-03 Thread David Edmondson
lication/pgp-signature Size: 197 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20120103/03ef3165/attachment-0001.pgp>

Re: [ANNOUNCE] mutt with notmuch support

2012-01-03 Thread Darren McGuicken
On Tue, Jan 03, 2012 at 01:39:38PM +0100, Karel Zak wrote: > This is not another curses front-end for notmuch, this is mutt :-) Outstanding! Assuming this mail makes it to the list, I can confirm that it works well for me! Although I will have to find and dust off an old .muttrc... I had to tw

Re: [PATCH 2/2] update NEWS

2012-01-03 Thread Xavier Maillard
Hi, sorry to bother with such a simple correction On Mon, 2 Jan 2012 14:16:51 -0800, Jameson Graef Rollins wrote: > +Don't sort messages when creating a dump file > + > + This speads up tag dumps considerably, without any loss of ^^ speeds /Xavier ___

[notmuch] [PATCH] Calls to notmuch get queued and executed asynchronously.

2012-01-03 Thread David Edmondson
: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20120103/13b99e06/attachment-0001.pgp>

Re: Python bindings for adoption

2012-01-03 Thread Xavier Maillard
On Mon, 02 Jan 2012 17:14:58 +0100, Sebastian Spaeth wrote: > As I have repeatedly stated that I want to hand over the maintainership > of the notmuch python bindings, and I would like to do it asap. I feel > that people like Patrick Totzke, or Justus Winter who generally have > been working on

Re: [ANNOUNCE] mutt with notmuch support

2012-01-03 Thread Xavier Maillard
On Tue, 3 Jan 2012 13:39:38 +0100, Karel Zak wrote: > > This is not another curses front-end for notmuch, this is mutt :-) > > I have forked mutt to seriously integrate notmuch to this excellent e-mail > client. I don't want to use symlinks or any other hacks to emulate virtual > folders. My wi

[PATCH] emacs: call "notmuch tag" only once when archiving a thread

2012-01-03 Thread Jani Nikula
Optimize thread archiving by combining all the -inbox tagging operations to a single "notmuch tag" call. Also skip redisplay of tag changes in current buffer, as it is immediately killed by the archiving functions. For threads in the order of tens or a hundred inbox tagged messages, this gives a n

Re: Python bindings for adoption

2012-01-03 Thread Jameson Graef Rollins
On Mon, 02 Jan 2012 17:14:58 +0100, Sebastian Spaeth wrote: > After a few weeks of notmuch abstinence I am being overwhelmed with 750 > new notmuch mails, and I really don't have the time or will (nor does my > family approve) to spend enormous amounts of time on notmuch. I am > already neglectin

Python bindings for adoption

2012-01-03 Thread Jameson Graef Rollins
ttachment was scrubbed... Name: not available Type: application/pgp-signature Size: 835 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20120103/bfc6150e/attachment.pgp>

[PATCH] bound mail-parse-charset, used by some functions on mm-view.el when there is no charset metadata in the html

2012-01-03 Thread Konrad Scorciapino
It fixes some encoding issues. I thought it was already incorporated, as I no longer have this issue, but words like 'catal?' were being displayed as 'catala', iirc. 2011/12/30 David Edmondson : > Konrad, can you provide a specific example of when this is useful? I > don't understand what it is fo

[ANNOUNCE] mutt with notmuch support

2012-01-03 Thread Tim Gray
On Jan 03, 2012 at 01:39 PM +0100, Karel Zak wrote: > >This is not another curses front-end for notmuch, this is mutt :-) > >I have forked mutt to seriously integrate notmuch to this excellent e-mail >client. I don't want to use symlinks or any other hacks to emulate virtual >folders. My wish is mu

Re: [PATCH] Perform mail polling asynchronously

2012-01-03 Thread David Edmondson
On Mon, 5 Sep 2011 07:14:36 +0300, Antono Vasiljev wrote: > * reimplemented notmuch-poll(&optional callback) so that it > calls process asynchronously and run callback after process > finished > * changed usage of notmuch-poll in notmuch-hello-poll-and-update > and notmuch-search-

Re: [PATCH 1/2] add notmuch keybinding 'd'

2012-01-03 Thread David Edmondson
On Sat, 16 Jul 2011 14:39:59 -0400, Antoine Beaupré wrote: > It adds a tag 'deleted' and removes the tags 'inbox' and 'unread'. It > works in show as well as in search mode Various people have asked for a keybinding to add a 'delete' tag. Is this version the right one to choose? It seems sane to

Re: [ANNOUNCE] mutt with notmuch support

2012-01-03 Thread Tim Gray
On Jan 03, 2012 at 01:39 PM +0100, Karel Zak wrote: This is not another curses front-end for notmuch, this is mutt :-) I have forked mutt to seriously integrate notmuch to this excellent e-mail client. I don't want to use symlinks or any other hacks to emulate virtual folders. My wish is mutt l

[PATCH] emacs: Improved printing support.

2012-01-03 Thread David Edmondson
Add various functions to print notmuch messages and tie them together with a simple frontend. No keybinding is currently made to encourage paper saving. --- Fix the lack of shell quoting for muttprint. Rename the ps-print buffers to have a relevant name. emacs/Makefile.local |3 +- emacs/n

Re: Possible bug in tests with emacs 23.2.1 (debian stable)

2012-01-03 Thread Tomi Ollila
On Mon, 02 Jan 2012 16:55:45 +0200, Tomi Ollila wrote: > On Sun, 1 Jan 2012 10:05:59 +, Mark Walters > wrote: [ ... ] > > As far as I can see emacs is not exiting when sent the "(kill-emacs)" > > command from test-lib.sh (line 931 called from line 869). It seems > > that this version of em

[ANNOUNCE] mutt with notmuch support

2012-01-03 Thread Karel Zak
This is not another curses front-end for notmuch, this is mutt :-) I have forked mutt to seriously integrate notmuch to this excellent e-mail client. I don't want to use symlinks or any other hacks to emulate virtual folders. My wish is mutt linked with libnotmuch. Features: * in .muttrc defin

Re: [PATCH] bound mail-parse-charset, used by some functions on mm-view.el when there is no charset metadata in the html

2012-01-03 Thread David Edmondson
On Tue, 3 Jan 2012 10:15:44 -0200, Konrad Scorciapino wrote: > It fixes some encoding issues. I thought it was already incorporated, > as I no longer have this issue, but words like 'català' were being > displayed as 'catala', iirc. I'll mark the patch as 'obsolete', then. > 2011/12/30 David Edm

Re: [PATCH] emacs: Improved printing support.

2012-01-03 Thread David Edmondson
On Sat, 31 Dec 2011 15:15:36 -0400, David Bremner wrote: > print using muttprint doesn't seem to work for me, I get a message: > > "zsh:1: no matches found: > Date_To_From_CC_Newsgroups_*Subject*_/Tags/" zsh is appropriately fussy about unquoted wildcards. I'll send an updated versi

Re: [notmuch] [PATCH] Calls to notmuch get queued and executed asynchronously.

2012-01-03 Thread David Edmondson
At a quick look your code seems fine. I wonder if async operation should be optional (and non-default?) given that it has different failure modes? pgpkQYEnXFRIz.pgp Description: PGP signature ___ notmuch mailing list notmuch@notmuchmail.org http://notmu

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

2012-01-03 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(-)

update NEWS, and fix conf variable name

2012-01-03 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 > > Gregor

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

2012-01-03 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 ---

[PATCH 2/2] update NEWS

2012-01-03 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 66501

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

2012-01-03 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 confu

Re: [PATCH 1/3] pep8 fixes

2012-01-03 Thread Sebastian Spaeth
On Mon, 5 Dec 2011 21:12:33 +, Patrick Totzke wrote: > no changes to the code, only fixed stuff denounced by `pep8 *py` Hi, just tried to apply but it doesn't apply cleanly anymore, can you update the patch to latest master? Sorry for letting this languish for so long. Sebastian pgp2XZ

Python bindings for adoption

2012-01-03 Thread Sebastian Spaeth
Hi all, a happy new year! After a few weeks of notmuch abstinence I am being overwhelmed with 750 new notmuch mails, and I really don't have the time or will (nor does my family approve) to spend enormous amounts of time on notmuch. I am already neglecting offlineimap, which also needs some attent

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

2012-01-03 Thread Sebastian Spaeth
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 a

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

2012-01-03 Thread Sebastian Spaeth
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(-) Pushed pgpV5PET0tvXX.pgp Description: PGP signature _

Re: Segmentation fault at gmime-iconv with python binding

2012-01-03 Thread Sebastian Spaeth
On Fri, 30 Dec 2011 10:58:06 -0400, David Bremner wrote: > On Thu, 29 Dec 2011 22:57:27 -0200, Kazuo Teramoto wrote: > > > notmuch CLI show the message correct. I know nothing about gmime or > > notmuch code, but can this be the case of the python bindings not > > calling g_mime_init() correctly

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

2012-01-03 Thread Sebastian Spaeth
Happy new year. Pushed patches 1-4 of this series so far. Looking fine, but ugh, the below seems like a rather ugly hack in a function that is probably called quite often. Isn't there a more pretty variant avoiding these sys.version_info checks all over the place? > @@ -200,9 +201,9 @@ def _str(v

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

2012-01-03 Thread Sebastian Spaeth
On Tue, 13 Dec 2011 18:11:45 +0100, Thomas Jost wrote: > --- > bindings/python/notmuch/message.py | 20 > 1 files changed, 20 insertions(+), 0 deletions(-) The patch looks good, so once this goes into libnotmuch, +1 for also applying this one. Sebastian pgpOHiLclGgxV.pg

Re: Possible bug in tests with emacs 23.2.1 (debian stable)

2012-01-03 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 e

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

2012-01-03 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 100

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

2012-01-03 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 +++ b

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

2012-01-03 Thread Patrick Totzke
Quoting Thomas Jost (2011-12-13 17:21:34) >On Sun, 11 Dec 2011 18:58:18 +0400, Dmitry Kurochkin > 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 auxiliary functi