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

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

Date: Sun, 07 Feb 2021 16:24:46 +0100

To: notmuch@notmuchmail.org

Cc:

From: Toke Høiland-Jørgensen


Hi

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.

Any chance this could be fixed?

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

Thread: