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 412154196F2 for ; Sat, 24 Apr 2010 16:10:43 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -4.2 X-Spam-Level: X-Spam-Status: No, score=-4.2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3] 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 wScBMXIESax7 for ; Sat, 24 Apr 2010 16:10:42 -0700 (PDT) Received: from bombadil.infradead.org (bombadil.infradead.org [18.85.46.34]) by olra.theworths.org (Postfix) with ESMTP id 23659431FC1 for ; Sat, 24 Apr 2010 16:10:42 -0700 (PDT) Received: from localhost ([::1] helo=x200.gr8dns.org) by bombadil.infradead.org with esmtp (Exim 4.69 #1 (Red Hat Linux)) id 1O5oUi-0003jQ-Iv; Sat, 24 Apr 2010 23:10:41 +0000 Received: by x200.gr8dns.org (Postfix, from userid 500) id BEB0FCC5D4; Sat, 24 Apr 2010 16:10:39 -0700 (PDT) From: Dirk Hohndel To: Sebastian Spaeth , Notmuch developer list Subject: Re: [PATCH 7/7] Integrate notmuch-fcc mechansim In-Reply-To: <1272015537-13225-1-git-send-email-Sebastian@SSpaeth.de> References: <87ochbx3er.fsf@SSpaeth.de> <1272015537-13225-1-git-send-email-Sebastian@SSpaeth.de> User-Agent: Notmuch/0.2-197-ged00626 (http://notmuchmail.org) Emacs/23.1.1 (i386-redhat-linux-gnu) Date: Sat, 24 Apr 2010 16:10:39 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org See http://www.infradead.org/rpr.html 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: Sat, 24 Apr 2010 23:10:43 -0000 On Fri, 23 Apr 2010 11:38:57 +0200, Sebastian Spaeth wrote: > I have gone wild and added a defcustom "notmuch-fcc-dirs". > Depending on the value of that variable we will not do any > maildir fcc at all (nil, the default), or it is of the format > (("defaultsentbox") > ("full name " . "Work/sentbox") > ("full name2 " . "Work2/sentbox")) I love this feature (unsurprising, as I was the one who requested it repeatedly...). One question from the elisp noop: > + (let ((subdir (cdr (assoc (message-fetch-field "from") notmuch-fcc-dirs)))) Why not make this (let ((subdir (cdr (assoc-string (message-fetch-field "from") notmuch-fcc-dirs t)))) and have the association be case insensitive? /D -- Dirk Hohndel Intel Open Source Technology Center