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 744834196F0 for ; Thu, 8 Apr 2010 20:22:54 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 0 X-Spam-Level: X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[BAYES_40=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001] 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 KOhTUBo47BA0 for ; Thu, 8 Apr 2010 20:22:53 -0700 (PDT) Received: from mail-gw0-f53.google.com (mail-gw0-f53.google.com [74.125.83.53]) by olra.theworths.org (Postfix) with ESMTP id 97854431FC1 for ; Thu, 8 Apr 2010 20:22:53 -0700 (PDT) Received: by gwj20 with SMTP id 20so1568495gwj.26 for ; Thu, 08 Apr 2010 20:22:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:received:message-id:subject :from:to:cc:content-type; bh=OXaLecJI59gu5D7YJ6eAnmqMxZ2ExKlzJ8IHfE2bZXw=; b=C7IUdKGQVt7Zb42GCt614VzYS0ilKu+w4BgrO9dVmQzvBzSEzy9mebVyvqh91C876s pVzAXZ7Ig0a/cRTWk+0kmTCEVpV9fqNBUCQ+LE9BYHBYNNsKVole8pFsmCBikBMFMyxk HhmQFsv2y3+f2N9xgQPJnKujaRl2ubd0uHQvY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=pfxSqKXORxXP8ifyVUsnwFv4DM6xcge9Zl9Y8Qax36+HtWKMdu48Z5RmrT1GM2S64R BdZMWvKqyCPYdRfl1u+cEM49qww3rXMJ1ShZXVjTJzAKbF4q5WievykwReUlQGOHmNlX R7xawn12I+PCkN8Mj2kCQdrKAqeapIypXH1Kg= MIME-Version: 1.0 Sender: anthony.j.towns@gmail.com Received: by 10.90.114.1 with HTTP; Thu, 8 Apr 2010 20:22:51 -0700 (PDT) In-Reply-To: <87tyrmavoc.fsf@servo.finestructure.net> References: <8739z6rjxf.fsf@yoom.home.cworth.org> <87tyrmavoc.fsf@servo.finestructure.net> Date: Fri, 9 Apr 2010 13:22:51 +1000 X-Google-Sender-Auth: 6031d35f415d4cf0 Received: by 10.91.131.7 with SMTP id i7mr372162agn.35.1270783371933; Thu, 08 Apr 2010 20:22:51 -0700 (PDT) Message-ID: Subject: Re: Plans for the 0.2 release (this week) From: Anthony Towns To: Jameson Rollins Content-Type: text/plain; charset=ISO-8859-1 Cc: notmuch@notmuchmail.org 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: Fri, 09 Apr 2010 03:22:54 -0000 On Fri, Apr 9, 2010 at 00:03, Jameson Rollins wrote: > Presumably others must be annoyed about having to manually "read" and > archive all their sent mail, unless there's some other way that people > having been dealing with this that I'm not aware of. I haven't switched over to notmuch properly yet, but in my initial import of my mail I made a couple of patches to notmuch new that let me get the tags right first. One was to make: notmuch new --initial-tags=list,unread set the initial tags for newly found messages to "list" and "unread" instead of the default "inbox" and "unread". The other was to make: find Mail/.Saved/ -type f | notmuch new --initial-tags=archived --file-list only process the mail files listed on stdin (via find), and give them the explicit tags I specify. That way I could import all my existing archived mail without it appearing in my inbox or as unread. Unfortunately the second one ended up complicated and a bit slow (I think because I'm doing a talloc() for every line on stdin, and talloc_free() by context every time the base directory changes; that sort of behaviour was necessary in order to do duplicate checking in a sane way) But anyway, that would let you do: find Mail/.Drafts/ -type f | notmuch new --initial-tags=draft --file-list notmuch new to get drafts correctly tagged. (I don't have the patches handy at the moment; but can certainly dig them up if there's interest) Cheers, aj -- Anthony Towns