unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Benjamin Orthen <benjamin@orthen.net>
Cc: 50049@debbugs.gnu.org
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	[thread overview]
Message-ID: <87fsvctay8.fsf@gnus.org> (raw)
In-Reply-To: <7ee8253e-6f32-c1bf-a4c1-f3c54a63679f@orthen.net> (Benjamin Orthen's message of "Fri, 13 Aug 2021 18:25:18 +0200")

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





      reply	other threads:[~2021-08-14 13:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-13 16:25 bug#50049: 28.0.50; lm-crack-address produces wrong-type-argument when facing invalid author format Benjamin Orthen
2021-08-14 13:25 ` Lars Ingebrigtsen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87fsvctay8.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=50049@debbugs.gnu.org \
    --cc=benjamin@orthen.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).