GNU bug report logs - #54523
28.0.91; mail-header-parse-addresses-lax is not lax

Previous Next

Package: emacs;

Reported by: Benjamin Orthen <benjamin <at> orthen.net>

Date: Tue, 22 Mar 2022 19:10:02 UTC

Severity: normal

Found in version 28.0.91

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 54523 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Benjamin Orthen <benjamin <at> orthen.net>
Cc: 54523 <at> debbugs.gnu.org
Subject: Re: bug#54523: 28.0.91; mail-header-parse-addresses-lax is not lax
Date: Tue, 22 Mar 2022 20:13:46 +0100
Benjamin Orthen <benjamin <at> 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 <at> gnu.org>, Mats Lidell <matsl <at> 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




This bug report was last modified 3 years and 117 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.