On Wed, Sep 19, 2012 at 03:38:05PM +0200, Niels den Otter wrote:
> Date: Wed, 19 Sep 2012 15:38:05 +0200
> From: Niels den Otter <niels.denot...@surfnet.nl>
> To: Gerard ROBIN <g.rob...@free.fr>
> Cc: mutt-users@mutt.org
> Subject: Re: notmuch-mutt
> X-Mailer: Mutt on Ubuntu quantal (development branch)
> User-Agent: Mutt/1.5.21 (2010-09-15)
> 
> Hello Gerard,
> 
> On Wednesday, 19 September 2012, Gerard ROBIN wrote:
> > I installed notmuch-mutt, but after that the contents of my ~/Mail 
> > directory has been deleted ?
> > Luckily I backup my /home regularly with rsync. Phew!  Has anyone
> > made a successful experience with notmuch-mutt?
> 
> Yes, I'm using it and like it. How do you use notmuch-mutt. Works fine for me
> with this in my mutt configuration;
> 
>   macro generic S  "<enter\-command>unset 
> wait_key<enter><shell\-escape>~/bin/mutt\-notmuch \-\-prompt 
> search<enter><change\-folder\-readonly>~/.cache/mutt_results<enter>"  "search 
> mail (using notmuch)"
>   macro index <F6> "<enter\-command>unset 
> wait_key<enter><pipe\-message>~/bin/mutt\-notmuch 
> thread<enter><change\-folder\-readonly>~/.cache/mutt_results<enter><enter\-command>set
>  wait_key<enter>" "search and reconstruct owning thread (using notmuch)"
> 
> and using 'S' in mutt to search for e-mail. You do need to call 'notmuch new' 
> from cron or cli.
> 
> 
> -- Niels

Thank you for your help. 

I did not read the documentation carefully enough:

man notmuch 
-----------------------------------8<---------------------------------
Mail storage that uses mbox format, (where one mbox file contains many
       messages), will not work with notmuch.
-----------------------------------8<---------------------------------

Now, I'm trying to migrate from mbox to maildir before reinstalling
notmuch-mutt. 

-- 
GĂ©rard

Reply via email to