Re: emacs: Use of seq-some breaks 'nil' values in notmuch-fcc-dirs

Subject: Re: emacs: Use of seq-some breaks 'nil' values in notmuch-fcc-dirs

Date: Mon, 02 Aug 2021 07:42:30 -0300

To: Toke Høiland-Jørgensen

Cc: Jonas Bernoulli

From: David Bremner


Toke Høiland-Jørgensen <toke@toke.dk> writes:

> Commit 16b2db0986ce ("emacs: various cosmetic improvements") switched
> over notmuch-fcc-header-setup to use 'seq-some' to parse the
> notmuch-fcc-dirs variables. However, this seems to have broken the use
> of 'nil' values in the list. Specifically, I have notmuch-fcc-dirs set
> to something like:
>
> '(("toke@onemail.alias" . "alias1/Sent +sent -unread")
>   ("toke@another.alias" . nil)
>   (".*" . "Sent +sent -unread"))
>
> and since that update, I end up with "Sent +sent -unread" as the FCC
> value for emails I initiate from toke@another.alias.

On the one hand that behaviour was undocumented. On the other hand, it
does seem like a useful thing to want to do. Hopefully Jonas can more
quickly untangle what happened there than I can.

d
_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: