Re: [PATCH] lib: make find_message{,by_filename) report errors

2011-10-06 Thread Sebastian Spaeth
The new API looks sane and much better to me. +1, just give me plenty of time to catch up before releasing once this goes in :-) Sebastian pgpnZQGJSMlVt.pgp Description: PGP signature ___ notmuch mailing list notmuch@notmuchmail.org

Re: [python] can't find shared lib

2011-10-06 Thread Sebastian Spaeth
On Wed, 05 Oct 2011 13:58:14 +0100, Patrick Totzke wrote: I fumbled around with resetting come commits, and it turns out that the problem is in 9e976fc60c40e07cb62a7d656e86ee3101c1b2f5. Once resetted before that, everything works nicely. Thanks for the pointer :) [master 7047975] python:

Re: tag sharing

2011-10-06 Thread David Bremner
On Wed, 08 Jun 2011 10:46:57 -0700, Jameson Graef Rollins jroll...@finestructure.net wrote: On Mon, 06 Jun 2011 13:20:00 -0400, Jesse Rosenthal jrosent...@jhu.edu wrote: After a conversation with David last year about bug-tracking, I worked up a rough python-based prototype of this. It

Re: [PATCH 1/2] emacs: add notmuch-show-refresh-view function

2011-10-06 Thread David Bremner
On Sat, 28 May 2011 17:09:43 -0700, Jameson Graef Rollins jroll...@finestructure.net wrote: This function, like the equivalent for notmuch-search, just refreshes the current show view. Like in notmuch-search, this new function is bound to =. If a prefix is given then the rediplay happens

Re: [PATCH 1/2] emacs: add notmuch-show-refresh-view function

2011-10-06 Thread David Bremner
On Sat, 28 May 2011 17:09:43 -0700, Jameson Graef Rollins jroll...@finestructure.net wrote: This function, like the equivalent for notmuch-search, just refreshes the current show view. Like in notmuch-search, this new function is bound to =. If a prefix is given then the rediplay happens

Re: tag sharing

2011-10-06 Thread David Bremner
On Thu, 06 Oct 2011 09:21:48 -0400, Jesse Rosenthal jrosent...@jhu.edu wrote: morning's project. In retrospect, I think the main issue was that I was trying to figure out how history would be kept. By using git, though, your idea would be that we get history for free, right? Yeah. Of course,

Re: tag sharing

2011-10-06 Thread Jesse Rosenthal
On Thu, 06 Oct 2011 09:56:43 -0300, David Bremner da...@tethera.net wrote: Jesse, do you remember why you decided to roll your own? Only reason I can remember (a year and a half later) of is that it seemed like the basic illustration of concept would be a saturday morning's project. In

Re: [RFC/PATCH] notmuch link

2011-10-06 Thread Tomi Ollila
On Tue 04 Oct 2011 00:15, Ali Polatel pola...@gmail.com writes: Ali Polatel yazmış: This mail is merely a request for comments and testing. Sigh... I have just noticed notmuch show learned --format=mbox which makes this patch rather pointless for me. This changeset will keep living under

Re: tweaks for handling parts in reply

2011-10-06 Thread Jameson Graef Rollins
On Thu, 06 Oct 2011 10:29:52 -0300, David Bremner da...@tethera.net wrote: I have applied this series on top of master, and will push a bit later today. Great. Thanks so much, David. jamie. ___ notmuch mailing list notmuch@notmuchmail.org

Re: [PATCH 1/2] emacs: add notmuch-show-refresh-view function

2011-10-06 Thread Jameson Graef Rollins
On Thu, 06 Oct 2011 10:35:14 -0300, David Bremner da...@tethera.net wrote: Applied to master, will push. Eventually it would be nice to have a test for this, if possible. Thanks, David. I'll work on a test. jamie. ___ notmuch mailing list

Re: tag sharing

2011-10-06 Thread Jesse Rosenthal
On Thu, 06 Oct 2011 11:18:51 -0300, David Bremner da...@tethera.net wrote: something like that sounds plausible. Currently the query parser doesn't handle searches like tag:bremner/to-fix very well, because it helpfully splits at '/' (aiui; maybe somebody else can explain it better). notmuch

Re: tag sharing

2011-10-06 Thread David Bremner
On Thu, 06 Oct 2011 15:49:10 -0400, Jesse Rosenthal jrosent...@jhu.edu wrote: A period works: `tag:bremner.to-fix`. That would fit with java/python conventions. Double-colons also seem to work, for what it's worth: `tag:bremner::to-fix` Right, I was confused and/or unclear. What doesn't work

Re: tag sharing

2011-10-06 Thread Jesse Rosenthal
On Thu, 06 Oct 2011 17:23:21 -0300, David Bremner da...@tethera.net wrote: What doesn't work is searches for the whole namespace notmuch search tag:bremner.* will return nothing, even though notmuch search tag:bremner.to-fix does. A simple shell way to do this would be notmuch search-tags

Re: tag sharing

2011-10-06 Thread David Bremner
On Thu, 06 Oct 2011 16:40:00 -0400, Jesse Rosenthal jrosent...@jhu.edu wrote: On Thu, 06 Oct 2011 17:23:21 -0300, David Bremner da...@tethera.net wrote: What doesn't work is searches for the whole namespace notmuch search tag:bremner.* will return nothing, even though notmuch search

output file argument to notmuch dump.

2011-10-06 Thread David Bremner
I'd like to add a search term argument to notmuch dump (see id:87wrcijn1w.fsf@zancas.localnet and followup for context). The notmuch way would be to have notmuch dump search-term do the right thing, and that is easy enough _except_ that notmuch dump foo writes the output to file foo.

Re: output file argument to notmuch dump.

2011-10-06 Thread Dmitry Kurochkin
On Thu, 06 Oct 2011 21:20:40 -0300, David Bremner brem...@unb.ca wrote: I'd like to add a search term argument to notmuch dump (see id:87wrcijn1w.fsf@zancas.localnet and followup for context). The notmuch way would be to have notmuch dump search-term do the right thing, and that is

Re: output file argument to notmuch dump.

2011-10-06 Thread David Bremner
On Fri, 07 Oct 2011 04:37:56 +0400, Dmitry Kurochkin dmitry.kuroch...@gmail.com wrote: On Thu, 06 Oct 2011 21:20:40 -0300, David Bremner brem...@unb.ca wrote: IMHO 1[+2] is the way. It breaks the dump command interface, but would make it consistent with other commands. Implementing the

Re: output file argument to notmuch dump.

2011-10-06 Thread Jameson Graef Rollins
On Thu, 06 Oct 2011 21:20:40 -0300, David Bremner brem...@unb.ca wrote: I see several options. 1) just delete the output file option from notmuch-dump, and use shell redirection. So far I don't see a non-contrived example when writing an output file directly is useful, but maybe that

tag sharing

2011-10-06 Thread David Bremner
On Wed, 08 Jun 2011 10:46:57 -0700, Jameson Graef Rollins wrote: > On Mon, 06 Jun 2011 13:20:00 -0400, Jesse Rosenthal > wrote: > > After a conversation with David last year about bug-tracking, I worked > > up a rough python-based prototype of this. It worked in terms of > > namespaces, so

tweaks for handling parts in reply

2011-10-06 Thread David Bremner
On Wed, 8 Jun 2011 12:30:05 -0700, Jameson Graef Rollins wrote: > This is a small set of tweaks to remove unneccessary "Non-text part:" > lines in reply, for parts that really don't need to be mentioned. I have applied this series on top of master, and will push a bit later today. d

[PATCH 1/2] emacs: add notmuch-show-refresh-view function

2011-10-06 Thread David Bremner
On Sat, 28 May 2011 17:09:43 -0700, Jameson Graef Rollins wrote: > This function, like the equivalent for notmuch-search, just refreshes > the current show view. Like in notmuch-search, this new function is > bound to "=". If a prefix is given then the rediplay happens with the > crypto-switch

[PATCH 1/2] emacs: add notmuch-show-refresh-view function

2011-10-06 Thread David Bremner
On Sat, 28 May 2011 17:09:43 -0700, Jameson Graef Rollins wrote: > This function, like the equivalent for notmuch-search, just refreshes > the current show view. Like in notmuch-search, this new function is > bound to "=". If a prefix is given then the rediplay happens with the > crypto-switch

tag sharing

2011-10-06 Thread David Bremner
: 315 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20111006/a4f5c700/attachment.pgp>

tag sharing

2011-10-06 Thread Jesse Rosenthal
On Thu, 06 Oct 2011 09:56:43 -0300, David Bremner wrote: > Jesse, do you remember why you decided to roll your own? Only reason I can remember (a year and a half later) of is that it seemed like the basic illustration of concept would be a saturday morning's project. In retrospect, I think the

[RFC/PATCH] notmuch link

2011-10-06 Thread Tomi Ollila
On Tue 04 Oct 2011 00:15, Ali Polatel writes: > Ali Polatel yazm??: >> >>This mail is merely a request for comments and testing. > > Sigh... > I have just noticed "notmuch show" learned --format=mbox which makes > this patch rather pointless for me. This changeset will keep living > under my

tweaks for handling parts in reply

2011-10-06 Thread Jameson Graef Rollins
On Thu, 06 Oct 2011 10:29:52 -0300, David Bremner wrote: > I have applied this series on top of master, and will push a bit later today. Great. Thanks so much, David. jamie.

[PATCH 1/2] emacs: add notmuch-show-refresh-view function

2011-10-06 Thread Jameson Graef Rollins
On Thu, 06 Oct 2011 10:35:14 -0300, David Bremner wrote: > Applied to master, will push. Eventually it would be nice to have a test > for this, if possible. Thanks, David. I'll work on a test. jamie.

tag sharing

2011-10-06 Thread Jesse Rosenthal
On Thu, 06 Oct 2011 11:18:51 -0300, David Bremner wrote: > something like that sounds plausible. Currently the query parser doesn't > handle searches like "tag:bremner/to-fix" very well, because it > helpfully splits at '/' (aiui; maybe somebody else can explain it > better). "notmuch search

tag sharing

2011-10-06 Thread David Bremner
On Thu, 06 Oct 2011 15:49:10 -0400, Jesse Rosenthal wrote: > > A period works: `tag:bremner.to-fix`. That would fit with java/python > conventions. Double-colons also seem to work, for what it's worth: > `tag:bremner::to-fix` Right, I was confused and/or unclear. What doesn't work is searches

tag sharing

2011-10-06 Thread Jesse Rosenthal
On Thu, 06 Oct 2011 17:23:21 -0300, David Bremner wrote: > What doesn't work is searches for the whole namespace "notmuch search > tag:bremner.*" will return nothing, even though "notmuch search > tag:bremner.to-fix" does. A simple shell way to do this would be notmuch search-tags | grep

tag sharing

2011-10-06 Thread David Bremner
On Thu, 06 Oct 2011 16:40:00 -0400, Jesse Rosenthal wrote: > On Thu, 06 Oct 2011 17:23:21 -0300, David Bremner > wrote: > > What doesn't work is searches for the whole namespace "notmuch search > > tag:bremner.*" will return nothing, even though "notmuch search > > tag:bremner.to-fix" does. >

output file argument to notmuch dump.

2011-10-06 Thread David Bremner
confusing for users. Thoughts? d -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 315 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20111006/2284f4dd/attachment.pgp>

output file argument to notmuch dump.

2011-10-06 Thread David Bremner
- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 315 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20111006/74ecff59/attachment.pgp>

output file argument to notmuch dump.

2011-10-06 Thread Jameson Graef Rollins
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/20111006/fb867451/attachment-0001.pgp>

output file argument to notmuch dump.

2011-10-06 Thread Tom Prince
On Thu, 06 Oct 2011 21:53:57 -0300, David Bremner wrote: > On Fri, 07 Oct 2011 04:37:56 +0400, Dmitry Kurochkin gmail.com> wrote: > > On Thu, 06 Oct 2011 21:20:40 -0300, David Bremner wrote: > > > IMHO 1[+2] is the way. It breaks the dump command interface, but would > > make it consistent