From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id SPc3Afz1P2NqaQAAbAwnHQ (envelope-from ) for ; Fri, 07 Oct 2022 11:48:44 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id yDRTAPz1P2NTRgEAG6o9tA (envelope-from ) for ; Fri, 07 Oct 2022 11:48:44 +0200 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 BF3E622E19 for ; Fri, 7 Oct 2022 11:48:43 +0200 (CEST) Received: from localhost ([::1]:55218 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ogjxz-0004qA-O7 for larch@yhetil.org; Fri, 07 Oct 2022 05:48:36 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51080) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ogjxF-0004jo-8F for guix-devel@gnu.org; Fri, 07 Oct 2022 05:47:41 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:47934) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ogjxE-0002XF-Qg; Fri, 07 Oct 2022 05:47:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=kO3pV1JXLxwsY+08RpNl7a0bTfBQprTzPZ1ih1Ai/Mo=; b=hf1tsZIbPCG4PuVW/762 k6ALEJw7Lh0Nb+aYrehz4sj0XVRX8u2b9D+quk93QWVg+Om+5crEtaNDdqZTxWyrCyza3isq2CFP2 C62G7Fc0rywp2Jk/+ULcdAS88M9U9IQhPywd7fOxXTP8KnA+auAvceJa993+dNA1XPq8BtpHyArpE 1oNKO2XatH3pmqkxs18oXZxkEvb+Cgn9I0RScIXSuUCmUxRCAUIuRVh36i8aJElge0eTtMYTWSuhR x8hNnlIuu3OCS2hSZjrLNtzEwLzQRZVUiVV/Wraj1R97ZBJYkedM4EhLP/IhtP3eaPUChE5MV08nL Oz+qGvEibgZalQ==; Received: from [193.50.110.253] (port=51680 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ogjxE-0005Kk-CI; Fri, 07 Oct 2022 05:47:40 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: zimoun Cc: jbranso@dismail.de, guix-devel@gnu.org Subject: Re: debbugs-guix.el helper function References: <878rlzec5e.fsf@gnu.org> <87mtbc3g5e.fsf@cbaines.net> <87sfkneqmm.fsf@cbaines.net> <20a86654f42bf996c4f3bacaa4ed89e9@dismail.de> <87a669uxib.fsf@gmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Sextidi 16 =?utf-8?Q?Vend=C3=A9miaire?= an 231 de la =?utf-8?Q?R=C3=A9volution=2C?= jour de la Belle de nuit 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, 07 Oct 2022 11:47:38 +0200 In-Reply-To: <87a669uxib.fsf@gmail.com> (zimoun's message of "Thu, 06 Oct 2022 11:11:56 +0200") Message-ID: <87ilkwc6dh.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.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.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" 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=1665136123; 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=kO3pV1JXLxwsY+08RpNl7a0bTfBQprTzPZ1ih1Ai/Mo=; b=P73cSyaYGxd8gMvzqex376UwtfFdl76mlFmUZPXXnqwlmiA+Kl388IhwSZedELX9IjOKyi Z4IXEpZVrE8F4jUOhLIXxNHvwSP/2Ift3Vv0jsF9UXSPhkeDao1es3u5w7Ouhw6CLXmqXa wxz2iv/sRIRbTFGjXVb3/1wiAMMxVIZF1QJjiEJprbfvAZ5iEF8X0vFN3CJrXjPskNxSpr rkPaIDqQH8O1Fem7HNBiLRR+hrFKou/Jrv6Y74uj1cqI3k7QoXiI2s7fhMGL9HdUyMH2LD F99w4/eoMjS3LAkcgD3RVv52LJgE32vy3BRl5YdGpW3UIn4LeJlXemguIBAYQA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1665136123; a=rsa-sha256; cv=none; b=OUb05yRE7Dyz+ELIWpfIi8M5xtUfgGJDT4zmeSxKGsHtnzUrBxs7OfNCwNdISOLOgS2eWM zCawWa5j5sqikXUlAz7jw4lenv7uZlT3RPg/WON9sjwW8yhMTHI88J15TnIYffGcIQJwxf Cl9c8llYlhAEsXqn6bYH9lN43wyQIhe0ho4eWeRXI0fguMX5O+dxmJJD27CSXA6wmh0+Tg eaj0+WF5oX4yvsqk0Y+6y2u5gf951lIKrSQmdiMd9BCBfV8I15cqLEZzJ6vpHaXvV6qksI iBtFUcHhV8M6RNl0ohI+jEy0XLh5nys+oOLDyb7k55Bn4AQwBUIyP996a7Yp9g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=hf1tsZIb; dmarc=pass (policy=none) header.from=gnu.org; 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: -4.87 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=hf1tsZIb; dmarc=pass (policy=none) header.from=gnu.org; 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: BF3E622E19 X-Spam-Score: -4.87 X-Migadu-Scanner: scn0.migadu.com X-TUID: RbQzElei/Z1b zimoun skribis: > In the same spirit, I have: [...] > (defun-bug->url my/guix-issues "http://issues.guix.gnu.org/issue/" > "Add URL of bug NUMBER to `kill-ring'.") > (defun-bug->url my/guix-debbugs "https://debbugs.gnu.org/cgi/bugreport.cg= i?bug=3D" > "Add (old) URL of bug NUMBER to `kill-ring'.") 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. --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--- Ludo=E2=80=99.