Re: [PATCH 7/7] Integrate notmuch-fcc mechansim

Subject: Re: [PATCH 7/7] Integrate notmuch-fcc mechansim

Date: Sat, 24 Apr 2010 16:10:39 -0700

To: Sebastian Spaeth, Notmuch developer list

Cc:

From: Dirk Hohndel


On Fri, 23 Apr 2010 11:38:57 +0200, Sebastian Spaeth <Sebastian@SSpaeth.de> 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 <email@address>" . "Work/sentbox")
>  ("full name2 <email2@address2>" . "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

Thread: