From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id gPK8Lweuc2N5WAAAbAwnHQ (envelope-from ) for ; Tue, 15 Nov 2022 16:19:35 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id WLKsLweuc2PjwgAAauVa8A (envelope-from ) for ; Tue, 15 Nov 2022 16:19:35 +0100 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 9C42331771 for ; Tue, 15 Nov 2022 16:19:35 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ouxi5-0007nw-Fg; Tue, 15 Nov 2022 10:18:49 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ouxi3-0007lS-A3 for guix-devel@gnu.org; Tue, 15 Nov 2022 10:18:47 -0500 Received: from mail-wr1-x42a.google.com ([2a00:1450:4864:20::42a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ouxi1-0005VP-Ch; Tue, 15 Nov 2022 10:18:46 -0500 Received: by mail-wr1-x42a.google.com with SMTP id bs21so24835060wrb.4; Tue, 15 Nov 2022 07:18:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id :reply-to; bh=K150hFspFMdKNTNco9GHG/of1Br6qbYtJEALz+bp/MQ=; b=f1TuUeRDZ2XgE4O/AVl6Ur9q7Prbyqifu0pDxUsaxncnMyzb4Pl+UHYD8Act7pTnD1 kcC+OWLJdtFOVD997x5uqPsdkvzQlwjZpSv4U2eKTyJI4Zek+qyTjLrPp7UfvO2Gmx26 Wv3kc4xfotYLr70v60zabeUBY5SIi93eednc5U7rfFgIht2JqBgjfNPmIEvgAK9Fux58 zFGieuEkBKZT09jtZ+lSuTBpv45FLKv+vAIhS+Uz1IIAuokF6u81AVVOFUDAwjybdmSR BxgdWbTj1fwJQdgBOXUHUo4R22SXTCUZaI9QjlE9NWFWpctVRtVob0dNuhORFnORVf4m Xfjw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=K150hFspFMdKNTNco9GHG/of1Br6qbYtJEALz+bp/MQ=; b=axOf+TMCvrqCNfbaB8LobrgopxAKDLwD5eg9X4/9xszs7cFrc/tflN6r1sEJhqB7O/ chOUv/RhNWTKkW4s6OE45To2CZw05XCK+0lpJxFTbIwXIzXRlhUGg3Jorg1WIbjcniOO 8B3HOq7s4Jqz6qV3jDblg9euyZlP1AV+evUFmJWKlHWyY4rzV04Ha6O4weK5CBc8Bblu f5M348gNZOGyuN1g0uSO4lfOEIx70h4q50t9O11ZsEkIpEaU7xv1qrIZqeAfmElgdCfs Kb7zZQAUmjFnH0WM9VyXcspjpvm7Prly+DYAd6KuLegC9dYEW8ZK7mFtgqXZuKUkHCAE y2Pw== X-Gm-Message-State: ANoB5plxTlLX3fSxPef28Bl/U/IQDm1FNIDvScq2GyWdW7w0SZu0mZc5 qGZeGU4wSUaEAaK8oJX4b9ZjS976xpw= X-Google-Smtp-Source: AA0mqf5qANvGxyWP43o2smVO/hnBpBEOZnI81RiC9SXevF5p4lepFP91HBgSMi5RBKDshni1xToY3A== X-Received: by 2002:adf:ee83:0:b0:236:e06b:ec12 with SMTP id b3-20020adfee83000000b00236e06bec12mr10903440wro.69.1668525523663; Tue, 15 Nov 2022 07:18:43 -0800 (PST) Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id j13-20020a5d452d000000b0022cbf4cda62sm15146178wra.27.2022.11.15.07.18.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Nov 2022 07:18:43 -0800 (PST) From: zimoun To: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: jbranso@dismail.de, guix-devel@gnu.org Subject: Re: debbugs-guix.el helper function In-Reply-To: <87ilkwc6dh.fsf@gnu.org> References: <878rlzec5e.fsf@gnu.org> <87mtbc3g5e.fsf@cbaines.net> <87sfkneqmm.fsf@cbaines.net> <20a86654f42bf996c4f3bacaa4ed89e9@dismail.de> <87a669uxib.fsf@gmail.com> <87ilkwc6dh.fsf@gnu.org> Date: Tue, 15 Nov 2022 16:09:48 +0100 Message-ID: <874jv05k5f.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::42a; envelope-from=zimon.toutoune@gmail.com; helo=mail-wr1-x42a.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: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1668525575; h=from:from:sender:sender: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=K150hFspFMdKNTNco9GHG/of1Br6qbYtJEALz+bp/MQ=; b=mY5R/lEDqURfiBm882HylWRFHA0LYoAT2k+4XEI17cIOEWnsEcq1OFRzUBSMxQRllmPa8G YHSNG1LHxfm3rrPVIdNgCeHZeFjXqML/rE1UdxTHzhGkp6OVacpI7aajSvCBaiImdPGCDM QI+4QDKwGkGf8PGEdk4Oyv4YPdU7sVv2mZ0oxEJyubVRl09QJ1ApBYxpUsYzbbLnGJAYwK dr0IaSnWCv3YWg6+wL8r9kBphKMzGTBW3vrMU1wx1p3GG1PfCbWbYgx2lr2IVQ447lMnsX MT9UiKYxLeoow5NNGmdqQJOzIH13nyyHA6aRunAJ6G22dgdY9eF4Bn1vIMPASw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1668525575; a=rsa-sha256; cv=none; b=W/sGAGpPr1dPAGNv3zvpLw6NRBYtbvMBeZ5KyAwB7aKznMiBUIg60+7k+kudWLVoeOXe8b Yw5aldPXvUqz1H9CYE1fY0XKKasnmVgKsKTygTvLp43g2cuU89lXKPiQLaRW2jCJqk2+uo 2N2vhJnfAc78at4+qbZxUFeHj3Lnaw6B3RSKLAhyQvgCUYzQuh09cOVSgVaPTsqG/q1ASF c4FHWTK2d1p28hTyjvJu1hPoNcjN+bEurjaAE0+5asWOPKYCcM5MxH9P6zHX8OBmijIwwZ SgvRZ4hq90cbYV1eOTohyYcmwG3SO5bMYr3KFcLf30bomso2K3ff8+kUqIpNlg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=f1TuUeRD; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -5.84 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=f1TuUeRD; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 9C42331771 X-Spam-Score: -5.84 X-Migadu-Scanner: scn0.migadu.com X-TUID: 0Qlh40H/yt4R Hi, On Fri, 07 Oct 2022 at 11:47, Ludovic Court=C3=A8s wrote: > I have something similar that I find extremely useful: hitting C-w on a > bug adds the mumi and debbugs URLs to the kill ring. In addition, another helper that I plan to use more=E2=80=A6 But it is not = that handy with Debbugs because of Gnus. Well, via Notmuch (or Mu4e), it is handy, --8<---------------cut here---------------start------------->8--- (defun my/notmuch-issues (msgid) "Add URL of MSGID pointing to bug number to `kill-ring'. Yankable result: `http://issues.guix.gnu.org/issue/msgid/' then resolved by the server. Work only `notmuch-tree-mode', `notmuch-search-mode' or `notmuch-show-mode'." (interactive (list (let ((yanked (if (or (eq major-mode 'notmuch-tree-mode) (eq major-mode 'notmuch-search-mode) (eq major-mode 'notmuch-show-mode)) (progn (notmuch-show-stash-message-id-stripped) (car kill-ring)) "?"))) (read-string (format "Message-ID (%s): " yanked) nil nil yanked)))) (let* ((url (format "%s%s" "http://issues.guix.gnu.org/msgid/" msgid))) (kill-new url) (when current-prefix-arg (browse-url url)) (message (format "%s killed." url)))) --8<---------------cut here---------------end--------------->8--- When reading from Emacs-Notmuch, I just run =E2=80=99M-x my/notmuch-issues= =E2=80=99 and then I can yank elsewhere the URL. Last, Mumi resolves from the Message-ID to the Debbugs number (even the specific message instead of #2 or else). Cheers, simon