[PATCH] config: allow custom separators in author lists

Subject: [PATCH] config: allow custom separators in author lists

Date: Mon, 01 Jul 2024 12:40:51 -0600

To: notmuch@notmuchmail.org

Cc:

From: Lars Kotthoff


Sorry, I dropped the ball on this -- here's the patch again with space/tab inconsistencies fixed. I wasn't entirely sure about this as it's inconsistent in the existing source, so I tried to make it as consistent as possible. Cover included again below.

The attached patch allows to customize the default ", " and "| " separators in author lists. The main rationale for supporting this is that the Python API uses the same functionality to get the list of authors -- if I want to separate them again afterwards, I have to split the returned string, which is error-prone with comma separators (e.g. name in email address is of form Lastname, Firstname).

Thanks,

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

Thread: