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 yLYpNJ4LuV8ENwAA0tVLHw (envelope-from ) for ; Sat, 21 Nov 2020 12:44:14 +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 iGv1L54LuV/JMAAAB5/wlQ (envelope-from ) for ; Sat, 21 Nov 2020 12:44:14 +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 459489403AD for ; Sat, 21 Nov 2020 12:44:14 +0000 (UTC) Received: from localhost ([::1]:48276 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kgSFP-0006LK-9w for larch@yhetil.org; Sat, 21 Nov 2020 07:44:11 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:60606) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kgSFF-0006Kp-SX for guix-patches@gnu.org; Sat, 21 Nov 2020 07:44:01 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:33541) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kgSFF-0002JW-LG for guix-patches@gnu.org; Sat, 21 Nov 2020 07:44:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kgSFF-0008FE-II for guix-patches@gnu.org; Sat, 21 Nov 2020 07:44:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#44547] [PATCH v3 2/2] etc: snippets: Prefill Common Lisp package names. Resent-From: Guillaume Le Vaillant Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 21 Nov 2020 12:44:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44547 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Pierre Neidhardt Cc: 44547@debbugs.gnu.org Received: via spool by 44547-submit@debbugs.gnu.org id=B44547.160596259831633 (code B ref 44547); Sat, 21 Nov 2020 12:44:01 +0000 Received: (at 44547) by debbugs.gnu.org; 21 Nov 2020 12:43:18 +0000 Received: from localhost ([127.0.0.1]:45087 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kgSEY-0008E9-3p for submit@debbugs.gnu.org; Sat, 21 Nov 2020 07:43:18 -0500 Received: from mout02.posteo.de ([185.67.36.66]:40279) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kgSEV-0008Dv-Im for 44547@debbugs.gnu.org; Sat, 21 Nov 2020 07:43:16 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 0C76D2400FF for <44547@debbugs.gnu.org>; Sat, 21 Nov 2020 13:43:08 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1605962589; bh=S9egl0ID9+UQDuvq5k1zW6XuAFVkZMskHG4I3JbiNss=; h=From:To:Cc:Subject:Date:From; b=jXjphQoxhFGdm4AizudbD5xlURAVczvc5wGm/SNh7+uNYlA/5q9MLrUrZX2kDuUXF xkGC2VytWvWHJUyL5JjvmmVj/MPOXWnosWHHgATPGHRyJlikBRASAK5Ny9d2pBK9Tp SWnCyj8wGCX5x0NhIIDYSSkXYKf6Qx8QRCTpO50ImmlUMsk41tukfnUm6FkqOF83uh wsctvakIi6HG4hePzdbkty5ThstHPMCHBCvJFLN/zrgUx9D/togn2lqcM1/W4Y53jq R3Fhc5pyXG/yzUkFHJIqzgwuiy4QxaAjyzEf3balfkiikoEsXhl3lxMKyRHs3dVLLh ECcQlVCtUd+Sw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4CdY3v3qX4z6tm6; Sat, 21 Nov 2020 13:43:07 +0100 (CET) References: <87ft530y5i.fsf@ambrevar.xyz> <20201121111125.30737-1-mail@ambrevar.xyz> <20201121111125.30737-2-mail@ambrevar.xyz> User-agent: mu4e 1.4.13; emacs 27.1 From: Guillaume Le Vaillant In-reply-to: <20201121111125.30737-2-mail@ambrevar.xyz> Date: Sat, 21 Nov 2020 13:43:06 +0100 Message-ID: <877dqeg9t1.fsf@yamatai> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.8 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.8 (-) X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Scanner: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=posteo.net header.s=2017 header.b=jXjphQox; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: -1.51 X-TUID: Rvc9Dkp/DT5C --=-=-= Content-Type: text/plain Pierre Neidhardt skribis: > * etc/snippets/text-mode/guix-commit-message-add-cl-package: New file. > --- > .../text-mode/guix-commit-message-add-cl-package | 13 +++++++++++++ > 1 file changed, 13 insertions(+) > create mode 100644 etc/snippets/text-mode/guix-commit-message-add-cl-package > > diff --git a/etc/snippets/text-mode/guix-commit-message-add-cl-package b/etc/snippets/text-mode/guix-commit-message-add-cl-package > new file mode 100644 > index 0000000000..d32b9e11b1 > --- /dev/null > +++ b/etc/snippets/text-mode/guix-commit-message-add-cl-package > @@ -0,0 +1,13 @@ > +# -*- mode: snippet -*- > +# name: guix-commit-message-add-cl-package > +# key: addcl > +# condition: git-commit-mode > +# -- > +gnu: Add ${1:`(with-temp-buffer > + (magit-git-wash #'magit-diff-wash-diffs > + "diff" "--staged") > + (beginning-of-buffer) > + (when (search-forward "+(define-public " nil 'noerror) > + (thing-at-point 'sexp 'no-properties)))`}. > + > +* `(car (magit-staged-files))` (${1:$(replace-regexp-in-string (rx line-start "sbcl" (optional "-cl")) "cl" yas-text)}, ${1:$(replace-regexp-in-string "^sbcl" "ecl" yas-text)}, $1): New variables. > \ No newline at end of file LGTM. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIUEAREKAC0WIQTLxZxm7Ce5cXlAaz5r6CCK3yH+PwUCX7kLWg8cZ2x2QHBvc3Rl by5uZXQACgkQa+ggit8h/j/inQD/Q6oxdCzVU0O0q9egzyz9QxNp0ijDL4I4brUO grXBXTcA/2fPvJ+RxQ6Nj1mPSa4UwNZkjX6gynwdow7wwxVFTykU =H4CG -----END PGP SIGNATURE----- --=-=-=--