[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#54523: 28.0.91; mail-header-parse-addresses-lax is not lax
From: |
Lars Ingebrigtsen |
Subject: |
bug#54523: 28.0.91; mail-header-parse-addresses-lax is not lax |
Date: |
Tue, 22 Mar 2022 20:13:46 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Benjamin Orthen <benjamin@orthen.net> writes:
> mail-header-parse-addresses-lax runs into an "Unbalanced parentheses"
> error when trying to parse mail/name pairs which do not conform to
> the expected standard. This is because the function calls
> mail-header-parse-address on each mail/name pair which fails for
> non-conforming pairs.
>
> See for example:
> (mail-header-parse-addresses-lax
> "Bob Weiner <rsw@gnu.org>, Mats Lidell <matsl@gnu.org")
>
> A simple fix could be like this:
Yup. I've now done something similar in Emacs 29.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no