[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#50049: 28.0.50; lm-crack-address produces wrong-type-argument when f
From: |
Lars Ingebrigtsen |
Subject: |
bug#50049: 28.0.50; lm-crack-address produces wrong-type-argument when facing invalid author format |
Date: |
Sat, 14 Aug 2021 15:25:35 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Benjamin Orthen <benjamin@orthen.net> writes:
> With recent changes (commit 5809728bc502d58f4fe96e98b472c569da3d8879),
> lm-crack-address produces an error when facing an invalid author
> format, which leads to package-build--package to fail unfortunately.
>
> (lm-crack-address "Adam Porter <adam@alphapapa.net"), notice the missing
> ">" at the end, leads to:
Yeah, we need an address splitting thing that's less strict than
`mail-header-parse-address' (which is used for protocol-specific stuff)
and less weird than `mail-extract-address-components' all over Emacs.
So I've now added this to Emacs 28 make lm-crack-address use that
instead, which fixes this problem.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no