Re: [PATCH] Vim: Fix a deprecated call to the 'mail' gem

Subject: Re: [PATCH] Vim: Fix a deprecated call to the 'mail' gem

Date: Mon, 3 May 2021 11:31:53 +0200

To: Felipe Contreras

Cc: notmuch@notmuchmail.org

From: Jules Aguillon


Hi !

This is indeed fixed on master. My patch has the advantage of removing the
extraneous "to string" and "parsing" steps but that's not a big deal.
Thanks!

On Sun, May 2, 2021 at 11:51 PM Felipe Contreras <felipe.contreras@gmail.com>
wrote:

> On Sun, May 2, 2021 at 5:43 AM David Bremner <david@tethera.net> wrote:
> >
> > Jules Aguillon <juloo.dsi@gmail.com> writes:
> >
> > > The Field.new function from the 'mail' gem changed recently (since
> > > 2.7.0, Nov 2017) and now prints a message on stdout:
> > >
> > >> Passing an unparsed header field to Mail::Field.new is deprecated and
> will be removed in Mail 2.8.0. Use Mail::Field.parse instead.
> >
> > I believe this problem was fixed in a different way by Felipe's patch
> > applied as 8af4cd16
>
> Indeed, but Jules' patch may be a better solution, I will investigate.
>
> --
> Felipe Contreras
>
_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: