Re: [PATCH 0/5] Fetch all message metadata in a single pass

2011-03-21 Thread Austin Clements
Thanks for the thorough review. My updated patches are on the eager-metadata-v4 branch (also, for-review/eager-metadata-v4) at http://awakening.csail.mit.edu/git/notmuch.git Responses inline. On Thu, Mar 10, 2011 at 10:48 PM, Carl Worth cwo...@cworth.org wrote: On Sun, 13 Feb 2011 15:25:48

Re: Xapian locking errors with custom query parser

2011-03-21 Thread Austin Clements
I haven't made any changes to the query parser yet, but I wanted to reply to your questions. (I might not get a chance to change things for a while; I spent this weekend catching my breath and dealing with all of the things I punted over the past few weeks and tomorrow it's back to a different

Re: Xapian locking errors with custom query parser

2011-03-21 Thread Austin Clements
On Fri, Mar 11, 2011 at 3:58 AM, Michal Sojka sojk...@fel.cvut.cz wrote: On Fri, 11 Mar 2011, Carl Worth wrote: I've finally had a chance to start looking at this. [...] 1. For new search features (ADJ,NEAR,etc.) I do not have a strong    interest in compatibility with Xapian.    I was

Re: Questions about importing mail (mbox)

2011-03-21 Thread Jesse Rosenthal
On Sun, 20 Mar 2011 20:30:52 -0700, Mueen Nawaz mu...@nawaz.org wrote: So I want to know: When you guys switched to notmuch, how did you ensure you did not miss any emails. I really, really, really don't want to lose any emails in this process! I didn't need to convert when I started using

Re: problem with folder: search in python bindings

2011-03-21 Thread Sebastian Spaeth
On Thu, 17 Mar 2011 09:19:29 -0700, Jameson Rollins jroll...@finestructure.net wrote: Hey, Sebastian. Can you share your notmuch.py script? No, it's my secret plan for earning my pension :). You already got it: http://git.notmuchmail.org/git/notmuch/blob/HEAD:/bindings/python/notmuch.py Let

Re: problem with folder: search in python bindings

2011-03-21 Thread Jesse Rosenthal
Hmm, I'm getting the same results from the python implementation. On Mon, 21 Mar 2011 09:32:52 -0700, Jameson Rollins jroll...@finestructure.net wrote: Any suggestions about how we might go about debugging this? One thing to try would be to run it step by step in an interactive session.

Re: problem with folder: search in python bindings

2011-03-21 Thread Jameson Rollins
On Mon, 21 Mar 2011 12:45:06 -0400, Jesse Rosenthal jrosent...@jhu.edu wrote: One thing to try would be to run it step by step in an interactive session. I.e., Hey, Jesse. So I'm getting different results interactively!: import notmuch db = notmuch.Database(/home/jrollins/.mail) query =

Re: problem with folder: search in python bindings

2011-03-21 Thread Jesse Rosenthal
On Mon, 21 Mar 2011 10:34:29 -0700, Jameson Rollins jroll...@finestructure.net wrote: It's going to take a lot more digging before I can identify what is common about these messages and different from all the messages that are not returned. One guess: do those messages happen to have

Re: problem with folder: search in python bindings

2011-03-21 Thread Jameson Rollins
On Mon, 21 Mar 2011 13:42:09 -0400, Jesse Rosenthal jrosent...@jhu.edu wrote: On Mon, 21 Mar 2011 10:34:29 -0700, Jameson Rollins jroll...@finestructure.net wrote: It's going to take a lot more digging before I can identify what is common about these messages and different from all the

Re: Questions about importing mail (mbox)

2011-03-21 Thread Mueen Nawaz
Jesse Rosenthal jrosent...@jhu.edu writes: I didn't need to convert when I started using notmuch, but for past mbox-to-maildir conversions, I always had the most confidence in using mutt interactively. Tag all messages (S-t, all), copy or save to a maildir, and make sure your mbox_type is set

[PATCH 0/5] Fetch all message metadata in a single pass

2011-03-21 Thread Austin Clements
Thanks for the thorough review. My updated patches are on the eager-metadata-v4 branch (also, for-review/eager-metadata-v4) at http://awakening.csail.mit.edu/git/notmuch.git Responses inline. On Thu, Mar 10, 2011 at 10:48 PM, Carl Worth wrote: > On Sun, 13 Feb 2011 15:25:48 -0500, Austin

Xapian locking errors with custom query parser

2011-03-21 Thread Austin Clements
I haven't made any changes to the query parser yet, but I wanted to reply to your questions. (I might not get a chance to change things for a while; I spent this weekend catching my breath and dealing with all of the things I punted over the past few weeks and tomorrow it's back to a different

Xapian locking errors with custom query parser

2011-03-21 Thread Austin Clements
On Fri, Mar 11, 2011 at 3:58 AM, Michal Sojka wrote: > On Fri, 11 Mar 2011, Carl Worth wrote: >> I've finally had a chance to start looking at this. > > [...] > >> 1. For "new" search features (ADJ,NEAR,etc.) I do not have a strong >> ? ?interest in compatibility with Xapian. >> >> ? ?I was very

Questions about importing mail (mbox)

2011-03-21 Thread Pieter Praet
On Sun, 20 Mar 2011 20:30:52 -0700, Mueen Nawaz wrote: > > Hi, > > I'm trying to experiment with notmuch. > > As I understand it, notmuch does not handle mbox for input. The problem > is that all my mail is currently in mbox format. > > So I first tried converting mbox to maildir using

Questions about importing mail (mbox)

2011-03-21 Thread Jesse Rosenthal
On Sun, 20 Mar 2011 20:30:52 -0700, Mueen Nawaz wrote: > > So I want to know: When you guys switched to notmuch, how did you ensure > you did not miss any emails. I really, really, really don't want to lose > any emails in this process! I didn't need to convert when I started using notmuch, but

problem with folder: search in python bindings

2011-03-21 Thread Sebastian Spaeth
out. 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/20110321/36bd7741/attachment.pgp>

problem with folder: search in python bindings

2011-03-21 Thread Jameson Rollins
On Mon, 21 Mar 2011 16:29:57 +0100, Sebastian Spaeth wrote: > On Thu, 17 Mar 2011 09:19:29 -0700, Jameson Rollins finestructure.net> wrote: > > Hey, Sebastian. Can you share your notmuch.py script? > > No, it's my secret plan for earning my pension :). > You already got it: >

problem with folder: search in python bindings

2011-03-21 Thread Jesse Rosenthal
Hmm, I'm getting the same results from the python implementation. On Mon, 21 Mar 2011 09:32:52 -0700, Jameson Rollins wrote: > Any suggestions about how we might go about debugging this? One thing to try would be to run it step by step in an interactive session. I.e., >>> import notmuch as

problem with folder: search in python bindings

2011-03-21 Thread Jameson Rollins
count folder:sent and to:notmuch 35 servo:~ 0$ I'll keep poking at this, but others can test this and report what they see I would really appreciate it. jamie. -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signatu

problem with folder: search in python bindings

2011-03-21 Thread Jesse Rosenthal
On Mon, 21 Mar 2011 10:34:29 -0700, Jameson Rollins wrote: > It's going to take a lot more digging before I can identify what is > common about these messages and different from all the messages that are > not returned. One guess: do those messages happen to have "folder:sent" in the body? If

problem with folder: search in python bindings

2011-03-21 Thread Jameson Rollins
as scrubbed... Name: not available Type: application/pgp-signature Size: 835 bytes Desc: not available URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20110321/c60f0639/attachment.pgp>

Questions about importing mail (mbox)

2011-03-21 Thread Mueen Nawaz
Pieter Praet writes: > It would've been a no-brainer if you'd been using Maildir all along > (mbox is evil incarnate), but... Sure, but mbox is too convenient. > I'd suggest keeping your original mbox file safe in git [1], and > consistently commiting every step of the way, so even if messages

Questions about importing mail (mbox)

2011-03-21 Thread Mueen Nawaz
Jesse Rosenthal writes: > I didn't need to convert when I started using notmuch, but for past > mbox-to-maildir conversions, I always had the most confidence in using > mutt interactively. Tag all messages (S-t, all), copy or save to a > maildir, and make sure your mbox_type is set