[notmuch] reading with multiple MUAs from MailDir

2009-12-11 Thread Roger WANG
On Fri, 2009-12-11 at 14:11 +0800 Dirk Hohndel wrote:
> 
> While playing with notmuch I am still using evolution to read the email
> in the same MailDir that is being indexed / processed by notmuch. With
> the result that lots of emails can not be found in notmuch if they have

I have the similar problem here, and Carl said in IRC "There's basically
one feature missing before notmuch will play with another maildir-based
mail reader.".

There is also a thread "[PATCH] Handle message renames in mail spool" in
the archive which might help:

http://notmuchmail.org/pipermail/notmuch/2009/000364.html
http://notmuchmail.org/pipermail/notmuch/2009/000562.html

> been marked as read in evolution between processing in notmuch and
> trying to access them from the user interface.
> 
> This makes notmuch /really/ hard to test for me at this point.
> 
> Is there a workaround?
> 
> /D
> 
> 

-- 
Roger WANG


[notmuch] reading with multiple MUAs from MailDir

2009-12-11 Thread Carl Worth
On Fri, 11 Dec 2009 12:59:59 -0800, Dirk Hohndel  
wrote:
> With all due respect... Seriously? That doesn't even qualify as a crazy
> hack... this process takes something like 15 minutes for me.
> 
> Carl, any idea how when an actual solution to this problem will arrive?

Hard to predict, since it depends on me finding some spare time to work
on this. It's obviously a high-priority issue for notmuch at this point.

In the meantime, Mikhail did contribute a patch that should work, (with
some performance impact on "notmuch new"). You might give it try. You
can find it in our (lame) web-based archives (with no link to get the
raw message), here:

http://notmuchmail.org/pipermail/notmuch/2009/000766.html

Or if you have all of the notmuch mail archives then you can find it
much more easily by just doing a notmuch-search (just hit 's' from any
notmuch buffer in emacs) for:

id:1259267025-28733-1-git-send-email-dottedmag at dottedmag.net

Any latecomers to the list can grab the whole archives from here:

http://notmuchmail.org/pipermail/notmuch/2009.txt.gz

And import by running that through mb2md (targeting a new directory
within the mail store). Eventually I'd like to provide a direct notmuch
command for importing an mbox like this.

-Carl
-- next part --
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: 



[notmuch] reading with multiple MUAs from MailDir

2009-12-11 Thread Dirk Hohndel
On Fri, 2009-12-11 at 10:44 +0100, Marten Veldthuis wrote:
> Excerpts from Dirk Hohndel's message of Fri Dec 11 07:11:04 +0100 2009:
> > Is there a workaround?
> 
> For now, you can do 
> 
>   notmuch dump somefile
>   mv Mail/.notmuch /tmp
>   notmuch new
>   notmuch restore somefile
> 
> Which will re-index all your mail, and restore your tags, as far as the
> messages are still called the same. Deleted messages will disappear from
> the library, and moved messages remain in the inbox.
> 
> Still a pain in the ass, but at least it gets rid of all those errors.

With all due respect... Seriously? That doesn't even qualify as a crazy
hack... this process takes something like 15 minutes for me.

Carl, any idea how when an actual solution to this problem will arrive?

/D

-- 
Dirk Hohndel
Intel Open Source Technology Center



[notmuch] reading with multiple MUAs from MailDir

2009-12-11 Thread Marten Veldthuis
Excerpts from Dirk Hohndel's message of Fri Dec 11 07:11:04 +0100 2009:
> Is there a workaround?

For now, you can do 

  notmuch dump somefile
  mv Mail/.notmuch /tmp
  notmuch new
  notmuch restore somefile

Which will re-index all your mail, and restore your tags, as far as the
messages are still called the same. Deleted messages will disappear from
the library, and moved messages remain in the inbox.

Still a pain in the ass, but at least it gets rid of all those errors.

- Marten
-- 
- Marten


[notmuch] reading with multiple MUAs from MailDir

2009-12-11 Thread Bdale Garbee
On Thu, 2009-12-10 at 22:11 -0800, Dirk Hohndel wrote:
> While playing with notmuch I am still using evolution to read the email
> in the same MailDir that is being indexed / processed by notmuch. With
> the result that lots of emails can not be found in notmuch if they have
> been marked as read in evolution between processing in notmuch and
> trying to access them from the user interface.
> 
> This makes notmuch /really/ hard to test for me at this point.

For what it's worth, this drives me nuts, too.

Bdale




Re: [notmuch] reading with multiple MUAs from MailDir

2009-12-11 Thread Dirk Hohndel
On Fri, 2009-12-11 at 10:44 +0100, Marten Veldthuis wrote:
 Excerpts from Dirk Hohndel's message of Fri Dec 11 07:11:04 +0100 2009:
  Is there a workaround?
 
 For now, you can do 
 
   notmuch dump somefile
   mv Mail/.notmuch /tmp
   notmuch new
   notmuch restore somefile
 
 Which will re-index all your mail, and restore your tags, as far as the
 messages are still called the same. Deleted messages will disappear from
 the library, and moved messages remain in the inbox.
 
 Still a pain in the ass, but at least it gets rid of all those errors.

With all due respect... Seriously? That doesn't even qualify as a crazy
hack... this process takes something like 15 minutes for me.

Carl, any idea how when an actual solution to this problem will arrive?

/D

-- 
Dirk Hohndel
Intel Open Source Technology Center

___
notmuch mailing list
notmuch@notmuchmail.org
http://notmuchmail.org/mailman/listinfo/notmuch


Re: [notmuch] reading with multiple MUAs from MailDir

2009-12-11 Thread Carl Worth
On Fri, 11 Dec 2009 12:59:59 -0800, Dirk Hohndel hohn...@infradead.org wrote:
 With all due respect... Seriously? That doesn't even qualify as a crazy
 hack... this process takes something like 15 minutes for me.
 
 Carl, any idea how when an actual solution to this problem will arrive?

Hard to predict, since it depends on me finding some spare time to work
on this. It's obviously a high-priority issue for notmuch at this point.

In the meantime, Mikhail did contribute a patch that should work, (with
some performance impact on notmuch new). You might give it try. You
can find it in our (lame) web-based archives (with no link to get the
raw message), here:

http://notmuchmail.org/pipermail/notmuch/2009/000766.html

Or if you have all of the notmuch mail archives then you can find it
much more easily by just doing a notmuch-search (just hit 's' from any
notmuch buffer in emacs) for:

id:1259267025-28733-1-git-send-email-dotted...@dottedmag.net

Any latecomers to the list can grab the whole archives from here:

http://notmuchmail.org/pipermail/notmuch/2009.txt.gz

And import by running that through mb2md (targeting a new directory
within the mail store). Eventually I'd like to provide a direct notmuch
command for importing an mbox like this.

-Carl


pgpQoHkHGVxCa.pgp
Description: PGP signature
___
notmuch mailing list
notmuch@notmuchmail.org
http://notmuchmail.org/mailman/listinfo/notmuch


[notmuch] reading with multiple MUAs from MailDir

2009-12-10 Thread Dirk Hohndel

While playing with notmuch I am still using evolution to read the email
in the same MailDir that is being indexed / processed by notmuch. With
the result that lots of emails can not be found in notmuch if they have
been marked as read in evolution between processing in notmuch and
trying to access them from the user interface.

This makes notmuch /really/ hard to test for me at this point.

Is there a workaround?

/D


-- 
Dirk Hohndel
Intel Open Source Technology Center



Re: [notmuch] reading with multiple MUAs from MailDir

2009-12-10 Thread Roger WANG
On Fri, 2009-12-11 at 14:11 +0800 Dirk Hohndel wrote:
 
 While playing with notmuch I am still using evolution to read the email
 in the same MailDir that is being indexed / processed by notmuch. With
 the result that lots of emails can not be found in notmuch if they have

I have the similar problem here, and Carl said in IRC There's basically
one feature missing before notmuch will play with another maildir-based
mail reader..

There is also a thread [PATCH] Handle message renames in mail spool in
the archive which might help:

http://notmuchmail.org/pipermail/notmuch/2009/000364.html
http://notmuchmail.org/pipermail/notmuch/2009/000562.html

 been marked as read in evolution between processing in notmuch and
 trying to access them from the user interface.
 
 This makes notmuch /really/ hard to test for me at this point.
 
 Is there a workaround?
 
 /D
 
 

-- 
Roger WANG
___
notmuch mailing list
notmuch@notmuchmail.org
http://notmuchmail.org/mailman/listinfo/notmuch