From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id H55mICPDj2BgMQEAgWs5BA (envelope-from ) for ; Mon, 03 May 2021 11:32:19 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id yDaBGyPDj2DbBQAA1q6Kng (envelope-from ) for ; Mon, 03 May 2021 09:32:19 +0000 Received: from mail.notmuchmail.org (nmbug.tethera.net [144.217.243.247]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id CC2E51FFF8 for ; Mon, 3 May 2021 11:32:18 +0200 (CEST) Received: from nmbug.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 7EE57271D4; Mon, 3 May 2021 05:32:14 -0400 (EDT) Received: from mail-yb1-xb2d.google.com (mail-yb1-xb2d.google.com [IPv6:2607:f8b0:4864:20::b2d]) by mail.notmuchmail.org (Postfix) with ESMTPS id BD0E320017 for ; Mon, 3 May 2021 05:32:11 -0400 (EDT) Received: by mail-yb1-xb2d.google.com with SMTP id l7so6678779ybf.8 for ; Mon, 03 May 2021 02:32:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=+xJYJgPIyyo7dfO7dd0TqfJhVBG9K7LmoSQqBtb9fyo=; b=SiYl0tEq5TrB8QhmZVutLU1sIGkAONrPOaRsuks5Ev/ntwenqZPDQoDn/d3IGSSMJK cF4CEXp8jsYWwJGeOU1V8eYbHbOslHmFMi1JOyoFI59GHA95vL1t4lb8ITdZw2X/N4+8 f/fdSFaraEIdfCfS1tv8s2LXmMxtIVsn872Nhzqfjv8sSoJvTzaLo7F0HtU4aMic/mSR RSoJkot7ZMu3g4YQbpHnylDNtDUe1+OyaeVH/yGQ4tRmwIgdCjx/ClkEBemWEPp/Wr7k OOL7jRAOD9N4E3ZhUBFIXTP8IPi/JxsEmmW/9u03ZBSSSlL6xDXc6u9WEkjoNY1iLUU8 BSTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=+xJYJgPIyyo7dfO7dd0TqfJhVBG9K7LmoSQqBtb9fyo=; b=Qbv7ZaeTJbkNPCW0qeeGNQLjMj0rMCVFyVwpwO/T4m/VOnzGe9yZDQiPnNGolnl+4i 1sVmzCB/5WkWaDZOf6c8ALi7OMaqczxi2W+0hbZjCK5fJPV5Lu4eXtUeAGgJkwtS3AnI yvMXRcXo812jjClfLXoFj6/aQR1JF/3aDvDgs6OdoIIKg18/GWm8qSskqWPx73vHY1D0 qPhPnV+UlnhsX5ICU1IpHDH0y4PRSSS0JFUlTUFfTyUUEAo6Xgo/tM9IFxehoweF8W+J cwe2aCbgIrsckC6T9eV/ZWyJo0BcC9O1//XPnKmSB2yUMpqSqULv/I5a+7hWX8evkx9d zrwQ== X-Gm-Message-State: AOAM531PvLYXX4eV7uk1IlOf8gUqOhz5kuxDFm758kCe+WktN/jURYpr fqZYgc7g9bH+WAz1sL0DV3osY7//uGOETm0Qg3o= X-Google-Smtp-Source: ABdhPJxChtTdKgAGjQRTLmXgxcRZzOH+VBVmlp56C1mjYk10X8PO6GAVuODjhKwBxU4fempMey7cEbIP6e/o2hCKbRg= X-Received: by 2002:a25:abe8:: with SMTP id v95mr27437542ybi.31.1620034324229; Mon, 03 May 2021 02:32:04 -0700 (PDT) MIME-Version: 1.0 References: <20210216222029.4891-1-juloo.dsi@gmail.com> <87lf8xo1pb.fsf@tethera.net> In-Reply-To: From: Jules Aguillon Date: Mon, 3 May 2021 11:31:53 +0200 Message-ID: Subject: Re: [PATCH] Vim: Fix a deprecated call to the 'mail' gem To: Felipe Contreras Message-ID-Hash: CMLPXH4TOHGZEZK64XAVIT5X5FWNZDAW X-Message-ID-Hash: CMLPXH4TOHGZEZK64XAVIT5X5FWNZDAW X-MailFrom: juloo.dsi@gmail.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-notmuch.notmuchmail.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; suspicious-header CC: "notmuch@notmuchmail.org" X-Mailman-Version: 3.2.1 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Help: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: multipart/mixed; boundary="===============7806430548273175390==" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1620034339; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=KJbZBkJlgK0qbMAMxxLsxM7o0i+BUi6WhkCXXlYqG2E=; b=X/uZrquNWAzoXyNINT0Wg/CtdpKpi1hCYuS9F90raV7cwCGIT6Omv2/5bHBdGfxAdaI1Lw 0Jxo8mbakxx0Rhoh8qYixtBdxB0TXWH6zUyWOufQxxqczNvgLuMEFFaqC2Ou0gWLc+Flwt DwURHSPwbLnAdftJqUhkmUjdNv7CQCmgnegEULgFys+aQonUAJDF5eL05zuy5wwlD8xcja +yG7pQnzwHWLG/RXrwvy0qtWz+lcHOZRYu3P//dMbxGN+sUarsIrXC6BpDm7rI0LcWv+tX P79WZBAQr7RR5mXX61y1/m9RRqNnNVLfPN/Xnj8s39sum34UtS3eE8greyKYbg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1620034339; a=rsa-sha256; cv=none; b=KBJqdRIBSALntKDpNJqxtNmcSBn6h40+a+7yKvDHqhkGwe0Od+9WLr7HBe+KjMo2GyZwQ1 XwvLGXYS/nYrtzNeETkFReqzG4t584xNo+q2If10LUJZTeM1x1vqJdL2tp6klts+Hg4+vW 9szuo1rdypIYZRTpITgkr/rOCxO7qZjVYgbbJjMu3DDC7IZbHh5Q+w8K09DreFnn6bOwqc WsbNyo6GCq11/k5We21CLoRPS4y9XqQZnAc3Gy28NnJTkqahoRKaCAYp3Sbh7apetiFTVd PjyLz6O8c+wa+fvbZeMVipZ2CRhSjVDhe6nT6VezdOI8rcHI3UkSPHTuBWKsnw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gmail.com header.s=20161025 header.b=SiYl0tEq; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 144.217.243.247 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Spam-Score: 1.51 Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gmail.com header.s=20161025 header.b=SiYl0tEq; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 144.217.243.247 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Queue-Id: CC2E51FFF8 X-Spam-Score: 1.51 X-Migadu-Scanner: scn0.migadu.com X-TUID: nJDQ1nqgJ9F8 --===============7806430548273175390== Content-Type: multipart/alternative; boundary="0000000000006b715005c169a24f" --0000000000006b715005c169a24f Content-Type: text/plain; charset="UTF-8" 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 wrote: > On Sun, May 2, 2021 at 5:43 AM David Bremner wrote: > > > > Jules Aguillon 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 > --0000000000006b715005c169a24f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi !

This is indeed fixed on maste= r. My patch has the advantage of removing the extraneous "to string&qu= ot; and "parsing" steps but that's not a big deal.
Th= anks!

On Sun, May 2, 2021 at 11:51 PM Felipe Contreras <felipe.contreras@gmail.com> = wrote:
On Sun, M= ay 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 recent= ly (since
> > 2.7.0, Nov 2017) and now prints a message on stdout:
> >
> >> Passing an unparsed header field to Mail::Field.new is deprec= ated 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 pa= tch
> applied as 8af4cd16

Indeed, but Jules' patch may be a better solution, I will investigate.<= br>
--
Felipe Contreras
--0000000000006b715005c169a24f-- --===============7806430548273175390== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --===============7806430548273175390==--