From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id vs9qBAwfj2AWIQAAgWs5BA (envelope-from ) for ; Sun, 02 May 2021 23:52:12 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id 0KP7Ogsfj2DMfwAAbx9fmQ (envelope-from ) for ; Sun, 02 May 2021 21:52:11 +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 56914164A5 for ; Sun, 2 May 2021 23:52:07 +0200 (CEST) Received: from nmbug.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 735A5271D4; Sun, 2 May 2021 17:52:03 -0400 (EDT) Received: from mail-wm1-x335.google.com (mail-wm1-x335.google.com [IPv6:2a00:1450:4864:20::335]) by mail.notmuchmail.org (Postfix) with ESMTPS id C40C220017 for ; Sun, 2 May 2021 17:52:00 -0400 (EDT) Received: by mail-wm1-x335.google.com with SMTP id g65so2216256wmg.2 for ; Sun, 02 May 2021 14:52:00 -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=NJeScOeAq9mf2IIkoxtJg1n+epwax+VbR4gNHzI/Crk=; b=qUm1TQRJcYlYjix+Gpx1MkZ314ibe7n3qVgrIAl97bq6L3MDKhGTmcCTdLZ8rmmBih quAweAF6+bcs74bVJBWscWraYDSnCXqKzIRRQ50DnlcLzoxdeuYmqwpsLJXj72d4v5sA QupENWJsF8L1zmYeT0I/xKPDRWCuBIeJjmYI97iE1ylFgpAErULdVH5a1iG8Fsttj4Qz IcvMUBfrr2jfBDTvlYspLCPY0hX3aCy/vBpjduWHojPtLAF9S0NO2o2p3j4zTmAZzWtz TYQxcjTA3YcwxgRO1mEf0Ts6fLnGeRyEc/JuvdJEyGXvHaBwLyvOE8CieW/kHhrmPTzf 6meA== 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=NJeScOeAq9mf2IIkoxtJg1n+epwax+VbR4gNHzI/Crk=; b=lPesFvSdcO3bSEGwLPqjasLdcTI7fjJFnv/d4zcDPmKT0JBf6g9UT+mpMc64DZN5eU NtMRlTz+BXaLcZN9UOQkBJz06z1Rgg15YaeQowI6Tgd8Wc9t6TWCxZuy85CSQKlQqNg3 yzmn2zVMH6S/cIKYtzPO2hP/fbI4YSIJba7SWETh+KmDXtvcx76rsdPeGzUG+rmSRHMb Pn5BQReSu667JwJvSai6EoTnMLAi49BF+823lDscSiT2oESI52+0RHNaTv+c0275kg7z MBV0W6FfSL8+w8V6lK3whZBV8lqh32cU3YEZAKGCGRh0+V9cLjgyOjpCKom+edgkafUv 0LQA== X-Gm-Message-State: AOAM530JT/pWdkI2PaO0T1G0WTcjDpbWPrBbCtbnJpudJQvnvBNviq0p QIaORKDevkFvfwKjcFYFb52alZkpkZkXOL+5+pQ= X-Google-Smtp-Source: ABdhPJx705yBHMTA44GybE31wmuevLBXCIb2sG8QvCybAFRPyVtpH5fJtvQrG2H+er/5cOSblfKsTzpaOpj7Yx8iqWU= X-Received: by 2002:a05:600c:1991:: with SMTP id t17mr20685511wmq.100.1619992315638; Sun, 02 May 2021 14:51:55 -0700 (PDT) MIME-Version: 1.0 References: <20210216222029.4891-1-juloo.dsi@gmail.com> <87lf8xo1pb.fsf@tethera.net> In-Reply-To: <87lf8xo1pb.fsf@tethera.net> From: Felipe Contreras Date: Sun, 2 May 2021 16:51:44 -0500 Message-ID: Subject: Re: [PATCH] Vim: Fix a deprecated call to the 'mail' gem To: David Bremner Message-ID-Hash: TSP3GTIQ5OM6UOK7XFT4K2D6UU3B4PFF X-Message-ID-Hash: TSP3GTIQ5OM6UOK7XFT4K2D6UU3B4PFF X-MailFrom: felipe.contreras@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: Jules Aguillon , "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: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1619992327; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=KmzH09/+mkTwfLAZ6ewqaklHYWFXiSR0ycDkTbIdXW8=; b=QnSldMH+rDY5cWW7n80Qd989svS78WGhJh7noxczk2YqkpMzwIaNS1xYBYfcBcTrsy2QQQ UPQi+E2V9QbSlpDXzfQrI55vw8Cl/+c7dSUerKhw3HBOlfSM1tcvwkgZr2A5n17Dw1CX/m gdsZlD3WlkWRMmuAq8Fq9GQCXOsdGk0MZ8FXck6QKCpQKix/w+oozmO/NCdMEehV78m/La 15t3Hv9aLcv8KahrWY3osk/wTNYbWgqWAXeJKpzsswqjHLHz/QVoakibWpEBzo3/zeWr2R CqF6fUG0YPXRKRBT4jtoS7FwV4F+c4y3ea7UrG07EiUy7Xlj5YodPavDgnec/w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1619992327; a=rsa-sha256; cv=none; b=d65cPKFNWKv16n4THelLvzzsrQQT07LYbZ+wAaMErv3Q6Gj8yWhw/7Mi206Qdn79F5OLRl eSHQCB/dIJo4jERRCZNXTzF01Wl5Gliaq5QbkZYWbNTMf4pl0mLIhP4fkCFSnpNTbvlYix +ALGJ9SUCliaGBKx7VGpYQeNn6IKIWeE7PraEPNZGzYc8WGtpWHlkEiO7l46kRGqg/Y4hC P19lHFe4NkJmDigzbY3ZUwdU+8VEtzw5GGCV5UcT9vreV68KT4dXDWZXhNjrjcAwafMcEu 7Kp48osc5+P/a57ySQvc33BBXS+LAlDcRQ0WDnrEFZk1hinsannsXamIMT7tmQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gmail.com header.s=20161025 header.b=qUm1TQRJ; 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: -0.46 Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gmail.com header.s=20161025 header.b=qUm1TQRJ; 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: 56914164A5 X-Spam-Score: -0.46 X-Migadu-Scanner: scn0.migadu.com X-TUID: MSCGlWfkkDqg 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