From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id eE/lIK5Pvl80RAAA0tVLHw (envelope-from ) for ; Wed, 25 Nov 2020 12:35:58 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id mB6qHK5Pvl8XZgAA1q6Kng (envelope-from ) for ; Wed, 25 Nov 2020 12:35:58 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id EF78B940111 for ; Wed, 25 Nov 2020 12:35:57 +0000 (UTC) Received: from localhost ([::1]:40500 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1khu1b-0000vj-Bw for larch@yhetil.org; Wed, 25 Nov 2020 07:35:55 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:50692) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1khu1T-0000ue-8P for help-guix@gnu.org; Wed, 25 Nov 2020 07:35:47 -0500 Received: from mail-wm1-x332.google.com ([2a00:1450:4864:20::332]:37840) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1khu1Q-0007Uw-NJ for help-guix@gnu.org; Wed, 25 Nov 2020 07:35:46 -0500 Received: by mail-wm1-x332.google.com with SMTP id h21so2007266wmb.2 for ; Wed, 25 Nov 2020 04:35:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-transfer-encoding; bh=JJcU55vStR3+HSkMsGOVyRPZyjyltnzQUc0b9TLT6MA=; b=kdU7dOjx/GB+lwV+2MbJAsJMH2vXMkkqNEJoQgOhVv09NSM5aMxz/RLTLLJQn71PTJ /hPmU9a87cb2TqBXSBdmXr9CSYvqhD9MM5tfCAV/tfOh1Fz7lEY+Tew8I41bgMB7aSOP dqBSDKD/i+M3x2Nmxptd8cawFYehD/8p7DsDFj4eF8017tB3p1PK8SI2pO56QQJDXCxP OG7UBeGENKvZky2Q9sY9MeYs6eMXMc+/EafRSDzsKcB6FD9lSqPq85X6vi9kIaGReRNG nEQXPpDpHSu4QYkGBG6YpMA7JyPYWXpPLA/kDUqVqXupr/ASF2kt6xEwWbpexvZSgLmP /O5g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=JJcU55vStR3+HSkMsGOVyRPZyjyltnzQUc0b9TLT6MA=; b=myobPeJrjRZLCheQd1ndyucaKx1ROBB2qKbVkKUZ1s79wT+EvV4QcZ175wjYHpFsLz 7zI96XjQ1IKa17BkQttS3nxIY3rtngDKUIDuTPeHjXxJucChEIcRKXfbshMLnn98+bhO YK46DI4BxGTLW/hsDnGLbbo5QGcEKYSkfKB61hgUDptDHLttvkDHxx1SBo5XtVoKLXsv JCjRNHxt0msBYVCY1HHtZnMwozDZr7EGzrOu1UDMN9jCg9TF5rYsRlDMONLrlVSAMEDL on6h33g898L1pwigLJHw9QG68MZ/wyPNbIswqk/8an/E5YrpiksvjX+2AY9GVGTq6VV9 2g3Q== X-Gm-Message-State: AOAM532BRAZ/RMCSldDskLraIRD6srr1MdKbLlt9hQRaLELhsrersR7z XClVmT2g+7AkvGZGDxO4dovJux98M5cMHA== X-Google-Smtp-Source: ABdhPJwubrSwPeaC7FJlBN0ECm+jrajqTBJj0YI6iC57udoW/ZRSyeM0j2zD+ulLbpMjJ3lpKEkQQw== X-Received: by 2002:a1c:40d4:: with SMTP id n203mr3660393wma.102.1606307739808; Wed, 25 Nov 2020 04:35:39 -0800 (PST) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id u23sm4297517wmc.32.2020.11.25.04.35.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Nov 2020 04:35:39 -0800 (PST) From: zimoun To: Pierre Neidhardt , Kyle Meyer Subject: Re: Workflow with mu4e + magit for sending patchsets to guix? In-Reply-To: <87k0u9x075.fsf@ambrevar.xyz> References: <87ima5f3mi.fsf@dustycloud.org> <86eeksq2v4.fsf@gmail.com> <877dqkpv4t.fsf@kyleam.com> <87pn4ca1c7.fsf@ambrevar.xyz> <86zh3gnkew.fsf@gmail.com> <87k0u9x075.fsf@ambrevar.xyz> Date: Wed, 25 Nov 2020 13:33:46 +0100 Message-ID: <86a6v5ty39.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::332; envelope-from=zimon.toutoune@gmail.com; helo=mail-wm1-x332.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: help-guix@gnu.org Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Scanner: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=kdU7dOjx; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Spam-Score: -0.71 X-TUID: 5zYVoowbwcBs Hi Pierre, Thanks! On Wed, 25 Nov 2020 at 10:19, Pierre Neidhardt wrote: > --8<---------------cut here---------------start------------->8--- > (defvar ambrevar/known-mailing-list-archives > '(("help-guix@gnu.org" . "guix-user") > ("guix-devel@gnu.org" . "guix-devel") > ("guix-bugs" . "guix-bugs") > ("guix-patches" . "guix-patches")) > "Alist of mail adresses and their Yhetil name.") > > (defun ambrevar/guess-yhetil-link (message-id) > (let* ((all-addresses > (mapcar #'second > (mail-extract-address-components > (mapconcat #'identity > (list > (notmuch-show-get-header :To) > (notmuch-show-get-header :Cc)) > ", ") > 'all))) > (mailing-list > (cdr (seq-find > (lambda (pair) > (member (car pair) all-addresses)) > ambrevar/known-mailing-list-archives)))) > (when mailing-list > (concat "https://yhetil.org/" > mailing-list "/" message-id)))) > > (add-to-list 'notmuch-show-stash-mlarchive-link-alist > (cons "Yhetil" #'ambrevar/guess-yhetil-link)) > --8<---------------cut here---------------end--------------->8--- Neat! It fails for Bugs/Patches since the addresses are 12345@debbugs.gnu.org. So the =E2=80=9Call-addresses=E2=80=9D should be a = bit smarter. But, anyway because I do not use yhetil to refer to Bug/Patch but issues.guix.gnu.org. Cheers, simon