From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id KPQdMrAgHWBkQQAA0tVLHw (envelope-from ) for ; Fri, 05 Feb 2021 10:40:48 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id iAO/LbAgHWD5SwAAB5/wlQ (envelope-from ) for ; Fri, 05 Feb 2021 10:40:48 +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 202339408E6 for ; Fri, 5 Feb 2021 10:40:48 +0000 (UTC) Received: from localhost ([::1]:47878 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l7yXe-0005Nz-Vq for larch@yhetil.org; Fri, 05 Feb 2021 05:40:47 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:51140) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l7yXT-0005KJ-1o for guix-devel@gnu.org; Fri, 05 Feb 2021 05:40:35 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:60501) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l7yXS-0002WL-Hx; Fri, 05 Feb 2021 05:40:34 -0500 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=33830 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1l7yXS-0008KX-3p; Fri, 05 Feb 2021 05:40:34 -0500 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Chris Marusich Subject: Re: Emacs and URLs in Git commit messages References: <87o8h0mdmt.fsf@gmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 17 =?utf-8?Q?Pluvi=C3=B4se?= an 229 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Fri, 05 Feb 2021 11:40:32 +0100 In-Reply-To: <87o8h0mdmt.fsf@gmail.com> (Chris Marusich's message of "Thu, 04 Feb 2021 00:38:18 -0800") Message-ID: <87y2g24x27.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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.85 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; 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: 202339408E6 X-Spam-Score: -2.85 X-Migadu-Scanner: scn1.migadu.com X-TUID: +BYjMFyDyAhS Hi, Chris Marusich skribis: > Many Guix commits look like this: > > commit f9978346e73359ac1d8b88c9ed874edc7225582b > Author: Ludovic Court=C3=A8s > Date: Fri Dec 18 18:10:04 2020 +0100 > > avahi: Remove poll timeout when possible. > > Fixes . > > * guix/avahi.scm (avahi-browse-service-thread): Change timeout defa= ult value > to false when no "stop-loop?" procedure is passed. Adapt "iterate-s= imple-poll" > call accordingly. > > Signed-off-by: Mathieu Othacehe > > Regarding the URL, do people just type it all out, including the opening > and closing brackets (<>)? Or is there an Emacs command that does it > for you? I've briefly looked on the Internet, but this is the kind of > thing that seems difficult to search for. I have this helper for debbugs.el: --8<---------------cut here---------------start------------->8--- (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) --8<---------------cut here---------------end--------------->8--- 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 b= ug URL.) Ludo=E2=80=99.