From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 eANWMxP/7mKPiAAAbAwnHQ (envelope-from ) for ; Sun, 07 Aug 2022 01:53:55 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id EIteMxP/7mKnsAAA9RJhRA (envelope-from ) for ; Sun, 07 Aug 2022 01:53:55 +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 78C722A28A for ; Sun, 7 Aug 2022 01:53:55 +0200 (CEST) Received: from localhost ([::1]:42426 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oKTcA-0001fO-A2 for larch@yhetil.org; Sat, 06 Aug 2022 19:53:54 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54350) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oKTbz-0001ez-Hq for guix-devel@gnu.org; Sat, 06 Aug 2022 19:53:43 -0400 Received: from 2.mo561.mail-out.ovh.net ([46.105.75.36]:42059) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oKTbw-00008y-JR for guix-devel@gnu.org; Sat, 06 Aug 2022 19:53:43 -0400 Received: from player750.ha.ovh.net (unknown [10.110.171.238]) by mo561.mail-out.ovh.net (Postfix) with ESMTP id BE96222D5D for ; Sat, 6 Aug 2022 23:53:27 +0000 (UTC) Received: from ngraves.fr (unknown [176.166.159.77]) (Authenticated sender: ngraves@ngraves.fr) by player750.ha.ovh.net (Postfix) with ESMTPSA id 4AD8D2D4300B2 for ; Sat, 6 Aug 2022 23:53:25 +0000 (UTC) X-OVh-ClientIp: 176.166.159.77 To: guix-devel@gnu.org Subject: Tempel snippets Date: Sun, 07 Aug 2022 01:53:24 +0200 Message-ID: <878ro10w0b.fsf@ngraves.fr> MIME-Version: 1.0 Content-Type: text/plain X-Ovh-Tracer-Id: 18371871733925995061 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvfedrvdefgedgvdekucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvffufffkgggtsehttdertddttddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepueejleeileejfffhleetjedtleejheevudffleevgfdufeekhefgvddvveegveefnecukfhppedtrddtrddtrddtpddujeeirdduieeirdduheelrdejjeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhhouggvpehsmhhtphhouhhtpdhhvghlohepphhlrgihvghrjeehtddrhhgrrdhovhhhrdhnvghtpdhinhgvtheptddrtddrtddrtddpmhgrihhlfhhrohhmpehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpnhgspghrtghpthhtohepuddprhgtphhtthhopehguhhigidquggvvhgvlhesghhnuhdrohhrghdpoffvtefjohhsthepmhhoheeiud Received-SPF: pass client-ip=46.105.75.36; envelope-from=ngraves@ngraves.fr; helo=2.mo561.mail-out.ovh.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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" Reply-to: Nicolas Graves From: Nicolas Graves via "Development of GNU Guix and the GNU System distribution." X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1659830035; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=vT+rYdEH4rXHOhU0iNidHYMrVvirAU7sisMtyN9r1BI=; b=DH0Ca83eAr6evldJPu3AJnOZ0N2B6JgyvWuF2eUf8/+dkG7zu+U3j50G8eNQHVJCTEjto5 bHpNr3q1z8n4JHUmTe9ukArecYURUOqm0Ce1ZlDssD5l/cg+eVhh+ZABm52U9bqO3aTnGa v7BDB7zVpOpxnzn/TlcKREK0tiZM2ackv+cJU6lH0KTQ8V03DCyXeWYjOWj9k/rKOsR7mU /StTtUvwqve4HBxq+VvbfiknnGAi7SnXsCKb+0u+4gjJdP4SKuj5YNCDYG8RgH3Vz5WZSo C6dTb31kZvkC6RmV+1T3Vg4QXwYSZ987FCBDYW80GYZkSP/JzYTTZEUCrmH5Vw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1659830035; a=rsa-sha256; cv=none; b=Uf9WlfjO9/c1P2U/VencSGIYSDacWqJNpGJfsqwQFVZVffc1O+Mb/z/1T6gJLEMryY4lkt IhrVpvH5sjpHq/tdzJR+hT0eT5oKlk9KtSgKL3kq6pMScvrAIThWLNVqa76NAwWgiEEd/d xD7MkTwqYgHpwSXzJUesUAJUnPuz9whSaZD7IyuB/ZHGW/yuO3llzZ4GXAhLleAvrUoz0O WuQK9KGUMMTm6unIRqvrRRPd4jEkQqqDe3kAagpkVYFCuAxpkBYrOGCfRbpLNcGMq515NG PuujWYjN0Q42efGcEiMAIC5qBNtJ68BsQtOrQ5Wzmn2UTaYMa/DIrlXmXveg4Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; 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: -3.49 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+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: 78C722A28A X-Spam-Score: -3.49 X-Migadu-Scanner: scn0.migadu.com X-TUID: sJw2Ew9W9wuV Hi guix! I'm translating the snippets used in the snippets dir so that we can provide an alternative (here tempel) for snippets in the Perfect Setup. I have two practical questions about where to put that code. 1) For reproducible development purposes (e.g. rde), it would be great to have snippets shipped with guix itself (the snippets directory is not in the store of the guix package), or alternatively in a package, instead of in a possibly moving directory. WDYT? Which alternative is the best? 2) Where should I add tempel-ready snippets? The etc/snippets dir can't be used directly because it's the one used by yasnippet. Or in the option of packages, I can rather make one. 3) I'll send a first series with basic working templates, but in the process have seen that there may be some refactoring / snippets improvements, but I'm not yet emacs-fluent enough to get that done easily. Will probably send a mail with the series with some ideas for refactoring and where I'm stuck. Also I think that we can add a snippet for license: completion, include an alternative snippet for copyright (since we must be at the right spot to insert anyway), and have an option to compute base32 hash during template completion (if possible, I'll see what I can do). -- Best regards, Nicolas Graves