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 6BISB5QiHmCSAQAA0tVLHw (envelope-from ) for ; Sat, 06 Feb 2021 05:01:08 +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 OKnzApQiHmBlHAAA1q6Kng (envelope-from ) for ; Sat, 06 Feb 2021 05:01:08 +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 CA84E940548 for ; Sat, 6 Feb 2021 05:01:06 +0000 (UTC) Received: from localhost ([::1]:42372 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l8FiS-0003Oz-F3 for larch@yhetil.org; Sat, 06 Feb 2021 00:01:05 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:44812) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l8Fi8-0003OY-NU for guix-devel@gnu.org; Sat, 06 Feb 2021 00:00:44 -0500 Received: from mail-pj1-x1033.google.com ([2607:f8b0:4864:20::1033]:33974) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l8Fi5-0000AF-3m; Sat, 06 Feb 2021 00:00:44 -0500 Received: by mail-pj1-x1033.google.com with SMTP id my11so7455486pjb.1; Fri, 05 Feb 2021 21:00:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=ucbf2iEehYhEOfbM2LB1fT9x6MuN2xZ32Jy+iazrTjs=; b=V2hb9IbLgCrGBgwGZ5LTlc57BHIxfGKU8wHjAT5HqM+knrvTD7Sb0/vdiE8Q7728LN djOOucvrsBiygIQiq/mhyWEUYfo4BhrtbrieU49AiXV+fDkw/hrb2k9195VYH5aq56Nn ZZAn+5/JE//0bnegOO69MOJ82TBDjfAs5U5DFNY4FGk7zs9M3S84lU+IyqyS8TzJRvCK NUhiBJeu8BHLPUtlbMN0cVp0yrwRqPaHUfN564LzmwreaJyLdgxfUc2W6AUPON696sDg vem/SBpAT5l+aDXq7WvvC0s/hynrFZaU/5KFeAqcmOFFEbgaO5bjDZfLi5vS8wKdpxag O9UQ== 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:references:date:in-reply-to :message-id:user-agent:mime-version; bh=ucbf2iEehYhEOfbM2LB1fT9x6MuN2xZ32Jy+iazrTjs=; b=l6L2/8s6ypoJiEQcSF8i20AuGOytq7BwB+KP1kDz8TElSJ/999hOkS6oiC4f8ropBB Apuw/FYtKi7GJIpW8MFH2MVolCe62d9nPM24AZ0esET0vVN//J4hGPBlnCOdgtY/HWKH WKasZFf/WcrVt5v3gSM/lhQmfEVuAsWZ/Fl8N+ncOO2304A4B25wLb2zGr55eHmSSNXx 9U0b+3QjqQ4VaJR9RmWtfu5rUR5ozptwS2BDEnFJz0wKyrkhymhS9lTjwDW9prByV4Ew 18Vr9OHJeNcElDG05hK97o/DCq41+OLYui3bZARa0M0iVR6Wr2kjeHFLRQ7QrjQhs/zk jq/A== X-Gm-Message-State: AOAM5327+Cko2WgODdFKmWnUhQ5gzhCKusxJCB/HlUIbyg7ol07gvEIP GNi0c9xy8YlB7obKhqtogpUaRxRuGv9UAA== X-Google-Smtp-Source: ABdhPJxep+L0391HcmozmM23MX+oPKO9oko7PZdAURSTwa8iZUgVxNhnD+JKbX2ofyS+FYlFv/pjJw== X-Received: by 2002:a17:90a:ab94:: with SMTP id n20mr6889723pjq.96.1612587637646; Fri, 05 Feb 2021 21:00:37 -0800 (PST) Received: from garuda-lan (c-24-18-44-142.hsd1.wa.comcast.net. [24.18.44.142]) by smtp.gmail.com with ESMTPSA id 6sm11881650pgv.70.2021.02.05.21.00.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Feb 2021 21:00:36 -0800 (PST) From: Chris Marusich To: Maxime Devos Subject: Re: Emacs and URLs in Git commit messages References: <87o8h0mdmt.fsf@gmail.com> <87o8h0mdmt.fsf@gmail.com> <87o8h0mdmt.fsf@gmail.com> <87o8h0mdmt.fsf@gmail.com> <08743aa319cf5a73abe61af865aad56daf5b7de1.camel@telenet.be> Date: Fri, 05 Feb 2021 21:00:32 -0800 In-Reply-To: <08743aa319cf5a73abe61af865aad56daf5b7de1.camel@telenet.be> (Maxime Devos's message of "Thu, 04 Feb 2021 10:15:45 +0100, Thu, 04 Feb 2021 14:16:57 +0100, Thu, 4 Feb 2021 20:12:57 +0100, Fri, 05 Feb 2021 11:40:32 +0100") Message-ID: <87o8gx94en.fsf_-_@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Received-SPF: pass client-ip=2607:f8b0:4864:20::1033; envelope-from=cmmarusich@gmail.com; helo=mail-pj1-x1033.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.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: guix-devel@gnu.org Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -2.36 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=V2hb9IbL; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Queue-Id: CA84E940548 X-Spam-Score: -2.36 X-Migadu-Scanner: scn0.migadu.com X-TUID: Bnq0rEoge4mr --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi, Thank you for the replies! Maxime Devos writes: > I don't known any emacs command for that, but you inspired me to write > such a command myself: [1]. > > Maxime. > [1]: https://notabug.org/mdevos/things/commit/b0400ba06b6f031e88f1f89b470= 79c3c6d7dcac4 zimoun writes: > I am not representative since I commit few fixes. Well, I have a tiny > helper that pushes to the kill ring: > > > > Especially reading bug#45314 in Debbugs mode, I type =E2=80=9CM-x > my/guix-issues=E2=80=9D then the URL =E2=80=99http://issues.guix.gnu.org/= issue/45314=E2=80=99 is > stashed. If not in debbugs mode, as here in message mode, the tiny > helper asks the bug number then pushes it to the kill ring. This tiny > helper is far from perfect, any improvements is welcome. :-) Especially > if it is already provided by an Emacs command. > > About the brackets, I type them. Ludovic Court=C3=A8s writes: > I have this helper for debbugs.el: > > (defun ludo-copy-debbugs-url () > "Add to the kill ring the URL of the Debbugs issue at point." > (interactive) > (let ((url1 (concat "https://bugs.gnu.org/" > (number-to-string (debbugs-gnu-current-id)))) > (url2 (concat "https://issues.guix.gnu.org/" > (number-to-string (debbugs-gnu-current-id))))) > (kill-new url1) > (kill-new url2) > (message "Copied %s and %s" url1 url2))) > > (define-key debbugs-gnu-mode-map (kbd "C-w") 'ludo-copy-debbugs-url) > > That way I can C-w on a bug in *Guix Bugs* and I get the two URLs in the > clipboard (I normally use =E2=80=9Cbugs.gnu.org=E2=80=9D as the canonical= bug URL.) > > Ludo=E2=80=99. OK, I see. So I'm not missing out on some built-in Emacs (or debbugs-emacs) magic; most people just put together something convenient on their own. That makes sense! Thank you for the examples; it's helpful to see how others are doing it. I think I'll try something similar. Bengt Richter writes: > I am not sure I understand your context or goal in searching ;/ I'm always interested in finding more effective ways to get things done. Sometimes, asking people how they do something is the best way to discover new methods, even if the answer seems simple or obvious. =2D-=20 Chris --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEy/WXVcvn5+/vGD+x3UCaFdgiRp0FAmAeInAACgkQ3UCaFdgi Rp3a0g//UlpcnOZY0yO3q6h+CoqfbURl6TxYvc8GDqWGACosJpgTgdFWy8eXVlzp z4blR04anFJx60IeZk4sblarMaXfsKMZJLkLcrW4M9sUYEQ8529wgRhItQwd405x f9mE/xJX+WxE46mrSYpYHZh9c2lb1GAt8wg3W/YEI51PmN17lqKsQ/YFBru9JlzT rZQesueVcO+C7/+uUAKmHN9P22PpTawJjc1UsoLOTL9rtcNAvC7Qx34+BzlgcACX FdyOOi/fhiae5EaISIrWqfXZqWSU18w5crIlLY96JiGZSGFGKEtMTadYJbEwmllr FVqAmYh3OKA08c2q5dZxRGhOSzDfBxKeMXOy+VU0M4uswXnriE1wlScNT0kN0BFB 2LEPwCNqPuWMJP9nDpn7WpnUcyCM61EziCIO2cJcrpxUr4ryyB4HW2/HzRct0LYK yPX+V5gPTDjXl6paJSI9/yjZaZMI8UhjLdtCGHX4ifytW6Dlx7u72iNBqeEoNksz cURZDZ8/dK+7tsI92uuzsJ3Kp/Tg+ABnBj20phHIqEPqgpzia4uvzVXoojjTG6Fe oHil10paHgPDwN9gtBzrquQcivBK8sxaqTG+b5e+8c6+N1kpCTDFv/jURHZCBOIo N/CFzm2kpGCqgoJBHuhJp5l00jbprQ5eQ0epw+nELkpO/09wOAs= =ozi/ -----END PGP SIGNATURE----- --=-=-=--