Re: [notmuch] indexing mail?

2010-01-23 Thread Arvid Picciani
On 01/23/2010 07:09 AM, Carl Worth wrote: Your original patch was sent as application/octet-stream which made it awkward to read, (I would have to manually save it rather than just being able to read it within emacs with notmuch). uum yeah thanks. I'll try to figure out how this works. But

Re: [notmuch] indexing mail?

2010-01-23 Thread Arvid Picciani
On 01/23/2010 03:29 PM, Arvid Picciani wrote: done I'm still not sure what is slow for you, scanning 60k mails. :D That's not fixable, other then by not doing that. but I'm also not sure how the above would help. It doesn't scan all 60K individually but only the single new one.

Re: [notmuch] indexing mail?

2010-01-22 Thread Jesse Rosenthal
On Sat, 23 Jan 2010 19:09:35 +1300, Carl Worth cwo...@cworth.org wrote: But I've since pushed a separate patch to fix this bug. Please give it a try and let me know what you think. I just gave it a try, and building failed because of a seeming misspelling on line 285 (`DT_UKNOWN'), from commit

Re: [notmuch] indexing mail?

2010-01-15 Thread Dirk-Jan C . Binnema
Hi Olly, Olly == Olly Betts o...@survex.com writes: Olly On 2010-01-15, Dirk-Jan C Binnema wrote: Olly == Olly Betts o...@survex.com writes: Olly Not a full patch, but I already posted what this code should look like Olly to handle both systems without d_type, and those which

Re: [notmuch] indexing mail?

2010-01-15 Thread Carl Worth
On Fri, 15 Jan 2010 21:57:32 +0200, Dirk-Jan C. Binnema djcb.b...@gmail.com wrote: Olly Underscore prefixed identifiers are reserved by ISO C at file-scope; Olly using them yourself is undefined behaviour... Ah, thanks for reminding, I thought it was __ and _C (capital), but you are

Re: [notmuch] indexing mail?

2010-01-14 Thread Carl Worth
On Thu, 14 Jan 2010 18:38:54 +0100, Adrian Perez de Castro ape...@igalia.com wrote: the offending commit is 2c4555f1a56602ff1dd55a63699810522ba4d91e from readdir (3): Currently, only some file systems (among them: Btrfs, ext2, ext3, and ext4) have full support returning

Re: [notmuch] indexing mail?

2010-01-14 Thread Olly Betts
On 2010-01-14, Carl Worth wrote: On Thu, 14 Jan 2010 18:38:54 +0100, Adrian Perez de Castro ape...@igalia.com wrote: I am using XFS, which always returns DT_UNKNOWN. Taking into account that there is a good deal of people using filesystems other than the ones you mention, and that other

Re: [notmuch] indexing mail?

2010-01-14 Thread Dirk-Jan C . Binnema
Olly == Olly Betts o...@survex.com writes: Olly On 2010-01-14, Carl Worth wrote: On Thu, 14 Jan 2010 18:38:54 +0100, Adrian Perez de Castro ape...@igalia.com wrote: I am using XFS, which always returns DT_UNKNOWN. Taking into account that there is a good deal of people using

Re: [notmuch] indexing mail?

2010-01-14 Thread Olly Betts
On 2010-01-15, Dirk-Jan C Binnema wrote: Olly == Olly Betts o...@survex.com writes: Olly Not a full patch, but I already posted what this code should look like Olly to handle both systems without d_type, and those which return DT_UNKNOWN: Olly