Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id E3F3C4196F0 for ; Mon, 22 Mar 2010 14:49:45 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.5 X-Spam-Level: X-Spam-Status: No, score=-0.5 tagged_above=-999 required=5 tests=[BAYES_05=-0.5] autolearn=ham Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hGBomnsIHZ5Y for ; Mon, 22 Mar 2010 14:49:44 -0700 (PDT) Received: from max.feld.cvut.cz (max.feld.cvut.cz [147.32.192.36]) by olra.theworths.org (Postfix) with ESMTP id B36CD431FC1 for ; Mon, 22 Mar 2010 14:49:44 -0700 (PDT) Received: from localhost (unknown [192.168.200.4]) by max.feld.cvut.cz (Postfix) with ESMTP id C014C19F3396; Mon, 22 Mar 2010 22:49:43 +0100 (CET) X-Virus-Scanned: IMAP AMAVIS Received: from max.feld.cvut.cz ([192.168.200.1]) by localhost (styx.feld.cvut.cz [192.168.200.4]) (amavisd-new, port 10044) with ESMTP id Q2UKD+s1JdcI; Mon, 22 Mar 2010 22:49:42 +0100 (CET) Received: from imap.feld.cvut.cz (imap.feld.cvut.cz [147.32.192.34]) by max.feld.cvut.cz (Postfix) with ESMTP id 1856A19F3348; Mon, 22 Mar 2010 22:49:42 +0100 (CET) Received: from steelpick.localdomain (r5da224.net.upc.cz [86.49.116.224]) (Authenticated sender: sojkam1) by imap.feld.cvut.cz (Postfix) with ESMTPSA id EF43215C062; Mon, 22 Mar 2010 22:49:41 +0100 (CET) Received: from wsh by steelpick.localdomain with local (Exim 4.71) (envelope-from ) id 1NtpV9-0004Yi-B4; Mon, 22 Mar 2010 22:49:35 +0100 From: Michal Sojka To: Emil Sit , notmuch@notmuchmail.org In-Reply-To: <1268881147-32503-1-git-send-email-sit@emilsit.net> References: <1268881147-32503-1-git-send-email-sit@emilsit.net> Date: Mon, 22 Mar 2010 22:49:35 +0100 Message-ID: <8739zshvrk.fsf@steelpick.2x.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: [notmuch] [PATCH] notmuch-new: Parse some maildir flags for labels X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Mar 2010 21:49:46 -0000 On Thu, 18 Mar 2010, Emil Sit wrote: > Instead of blanket applying tag:inbox and tag:unread to > all messages, when parsing a Maildir file, attempt to > parse the flags encoded in the filename to determine whether > to mark something as unread (and inbox). Also, parse user > flagged messages and trash messages. > > Signed-off-by: Emil Sit > --- > I confess that I'm not actively following the mailing list or actively using > notmuch to read mail (the vim client seems not to work well for me on Ubuntu > Hardy and not a huge emacs fan and don't have emacs23; still using mutt/mairix) > so I apologize if something like this has been discussed/rejected before. I've > been playing with this patch locally and it definitely helped with the initial > import. It's a nice complement to notmuchsync. Hi, if I remember, there has been at least three different patches for this, so you are the fourth :-) You're right that it helps a lot with initial import. To promote my work a little bit, I use bidirectional synchronization between maildir flags and notmuch tags, which I sent in id:1268926780-20045-4-git-send-email-sojkam1@fel.cvut.cz. I use IMAP clients from time to time and this helps me a lot because the IMAP server has almost never outdated status. Bye Michal