unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* reading with multiple MUAs from MailDir
@ 2009-12-11  6:11 Dirk Hohndel
  2009-12-11  6:53 ` Roger WANG
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Dirk Hohndel @ 2009-12-11  6:11 UTC (permalink / raw)
  To: notmuch


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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: reading with multiple MUAs from MailDir
  2009-12-11  6:11 reading with multiple MUAs from MailDir Dirk Hohndel
@ 2009-12-11  6:53 ` Roger WANG
  2009-12-11  9:21 ` Bdale Garbee
  2009-12-11  9:44 ` Marten Veldthuis
  2 siblings, 0 replies; 6+ messages in thread
From: Roger WANG @ 2009-12-11  6:53 UTC (permalink / raw)
  To: notmuch

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: reading with multiple MUAs from MailDir
  2009-12-11  6:11 reading with multiple MUAs from MailDir Dirk Hohndel
  2009-12-11  6:53 ` Roger WANG
@ 2009-12-11  9:21 ` Bdale Garbee
  2009-12-11  9:44 ` Marten Veldthuis
  2 siblings, 0 replies; 6+ messages in thread
From: Bdale Garbee @ 2009-12-11  9:21 UTC (permalink / raw)
  To: Dirk Hohndel; +Cc: notmuch

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: reading with multiple MUAs from MailDir
  2009-12-11  6:11 reading with multiple MUAs from MailDir Dirk Hohndel
  2009-12-11  6:53 ` Roger WANG
  2009-12-11  9:21 ` Bdale Garbee
@ 2009-12-11  9:44 ` Marten Veldthuis
  2009-12-11 20:59   ` Dirk Hohndel
  2 siblings, 1 reply; 6+ messages in thread
From: Marten Veldthuis @ 2009-12-11  9:44 UTC (permalink / raw)
  To: notmuch

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: reading with multiple MUAs from MailDir
  2009-12-11  9:44 ` Marten Veldthuis
@ 2009-12-11 20:59   ` Dirk Hohndel
  2009-12-11 21:20     ` Carl Worth
  0 siblings, 1 reply; 6+ messages in thread
From: Dirk Hohndel @ 2009-12-11 20:59 UTC (permalink / raw)
  To: Marten Veldthuis; +Cc: notmuch

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: reading with multiple MUAs from MailDir
  2009-12-11 20:59   ` Dirk Hohndel
@ 2009-12-11 21:20     ` Carl Worth
  0 siblings, 0 replies; 6+ messages in thread
From: Carl Worth @ 2009-12-11 21:20 UTC (permalink / raw)
  To: Dirk Hohndel, Marten Veldthuis; +Cc: notmuch

[-- Attachment #1: Type: text/plain, Size: 1309 bytes --]

On Fri, 11 Dec 2009 12:59:59 -0800, Dirk Hohndel <hohndel@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-dottedmag@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

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-12-11 21:20 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-11  6:11 reading with multiple MUAs from MailDir Dirk Hohndel
2009-12-11  6:53 ` Roger WANG
2009-12-11  9:21 ` Bdale Garbee
2009-12-11  9:44 ` Marten Veldthuis
2009-12-11 20:59   ` Dirk Hohndel
2009-12-11 21:20     ` Carl Worth

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).