From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id kCIMLdObxmLViAAAbAwnHQ (envelope-from ) for ; Thu, 07 Jul 2022 10:39:47 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id iO4GLdObxmLmWwEA9RJhRA (envelope-from ) for ; Thu, 07 Jul 2022 10:39:47 +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 87F9B33696 for ; Thu, 7 Jul 2022 10:39:47 +0200 (CEST) Received: from localhost ([::1]:33288 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o9N34-0003VD-Nw for larch@yhetil.org; Thu, 07 Jul 2022 04:39:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53864) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o9MPs-0000uc-Ru for guix-devel@gnu.org; Thu, 07 Jul 2022 03:59:17 -0400 Received: from mailout.easymail.ca ([64.68.200.34]:46146) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o9MPr-0008Pt-0s; Thu, 07 Jul 2022 03:59:16 -0400 Received: from localhost (localhost [127.0.0.1]) by mailout.easymail.ca (Postfix) with ESMTP id 3C04662496; Thu, 7 Jul 2022 07:59:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=bokr.com; s=easymail; t=1657180753; bh=ufc1flFxwAyV+F3ZhqSrnOVivjPCpHWkhlG5Pv5CZj8=; h=From:Date:To:Cc:Subject:References:In-Reply-To:From; b=dimTyfjrxOjxqhoqQpec/Z/1OuQbxJDr05XWoo7Ybd7DrRtTIWvMfBHvuCgwPAmyu 4Gbxn95gPwktHVmBBz0TdB3LTP2qb+hUfLKTDtyfxCuae39MYax+AJcj06iY6m1s/k dSsu9il69eXSMb9KQtqNwhRAmKrxxdMXgmujFPC+uwFcwKMD/HLAO4nRAEHXkAnDy/ remSuzU5uxcKBY88zr4GKUsvCiGqv9v2M14lTV02NknHSTEnYijbN2ksA2h8loJBcd UharrJEAcLRK6qfnPCuxXDTHUfGEW25pDt0uAt0YP/BZTfyaq7jSE3BsG5DgEF+0N5 V0PBi9I+F9UTQ== X-Virus-Scanned: Debian amavisd-new at emo09-pco.easydns.vpn Received: from mailout.easymail.ca ([127.0.0.1]) by localhost (emo09-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ylMsMxJc1qBX; Thu, 7 Jul 2022 07:59:13 +0000 (UTC) Received: from localhost (m83-185-33-74.cust.tele2.se [83.185.33.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mailout.easymail.ca (Postfix) with ESMTPSA id 69BC462487; Thu, 7 Jul 2022 07:59:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=bokr.com; s=easymail; t=1657180752; bh=ufc1flFxwAyV+F3ZhqSrnOVivjPCpHWkhlG5Pv5CZj8=; h=From:Date:To:Cc:Subject:References:In-Reply-To:From; b=aucmSAbDek+5yrp7jGwpuj+pYMhB2skEzt8NUtTC3rsH1gEsKs+XXRuLON5sxw1YC bUCQt8YJQbDXwy5nSIatb9Rilno5PCuAEkBtDS8dcH+DTrhU5GFKUxbuTk4/X8+90k I43GgkxqPkcezWnBgmRq5UZ/TYFyzIVCLJSTg9Y8+VuR7y1Xkm/0V9sAZMx/OjE3YD PbFC4vC+gLWgMD0GmTpvehVdSKGEuEFjmLnHwGXIQhuMIXu7sRZdUg2Xq/SOv2jXFk I4+3PpPbmPEpb1hOXekapjbW255tS5W5mv/3Smn8ZqUrnx7W9BrkaXRhJmL79XhqQc FVWWK6zPAl2hg== From: bokr@bokr.com Date: Thu, 7 Jul 2022 09:58:57 +0200 To: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: jgart , Guix Devel , zimoun Subject: Re: repl macro (metacommand?) for guix CLI (sub)commands Message-ID: <20220707075857.GA2765@LionPure> References: <20220703131112.GB5967@gac> <87mtdpau7y.fsf@gnu.org> <20220704132159.GC3017@gac> <874jzt2xbd.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <874jzt2xbd.fsf@gnu.org> User-Agent: Mutt/1.10.1 (2018-07-13) Received-SPF: pass client-ip=64.68.200.34; envelope-from=bokr@bokr.com; helo=mailout.easymail.ca X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, 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" 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=1657183187; 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=MfgDbAFYR0qts6CWvfZpzlBQS+rv3h7Z8ykf3eBfwcI=; b=HTJLxdM4gmzn8IIXR1HpGuxZdxPhMl4snIxwJEAw2nbc9XuGAHH1CmXBK4KVQ/Sc2oJZf0 A2dCbwccsCjAzgvH9ccv2OmQQjOvXP1Xi0/5GJtEhIus7G9jsNuJEkJ+joOGrA2+uW+gyd 9dBqOU//GVhRPcQJySdbL2SnXIbMJyPlVis/mupZl6BunZQPOSOGCW2fkBX7kwYi/jObjq PMaFOZFCcqoMmuiwQtCROw2bMhyBJdaAVTV4e2p4VU7IAhWGvrMgWiWn1sm+Wvy46h5V96 2M8TTT5voeSiJct/WWcJudIRD1oh+J7+YEKGLT2H5oTjTEpUj0nZ/raa126+sQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1657183187; a=rsa-sha256; cv=none; b=W3iyA25sf4T0wTfxurzEFl5J1LtT8h1Mp/DxsqhRrbsnZLBKMWpX1KuKWmU9OzkA7ufKpo /Cdz4VttLTlI37SiKxA0ohVFE2Tp1/w8lE7l1oMh7HD/cSt69+Cz0B0WQ1vUflYeZ++5vd nYHIu6lis213cLHkN8DtDblPPJT0458r7pV5wMQaDk0VWY/z2oVZkA5+3HUGLJt7WvDKj8 2KVMEm53NSiH48cKzIDSjwVqM8uPuRYIpBoQve+PSn/mV4Z4/225fe1yb6dDhRDh5QhmEj 03/UhNveQiF8u3JasjBYiUGFb2ptMwm/UpX7LbMlNe/f5ihp0EZbuVQ5Ufqvsw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=bokr.com header.s=easymail header.b=dimTyfjr; dkim=fail ("headers rsa verify failed") header.d=bokr.com header.s=easymail header.b=aucmSAbD; dmarc=none; 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: 1.55 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=bokr.com header.s=easymail header.b=dimTyfjr; dkim=fail ("headers rsa verify failed") header.d=bokr.com header.s=easymail header.b=aucmSAbD; dmarc=none; 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: 87F9B33696 X-Spam-Score: 1.55 X-Migadu-Scanner: scn1.migadu.com X-TUID: 59zSxKB7XHC3 Hi Ludo', On +2022-07-07 09:31:34 +0200, Ludovic Courtès wrote: > Hi! > > jgart skribis: > > > This is because each of those "CLI calls" end up running `(exit 0)` > > at the end in some form or another. > > Note that Guile’s ‘exit’ throws a ‘quit’ exception, which can be caught. Any possible gotchas in throwing 'quit' re flush-close-sync? > > Ludo’. > -- Regards, Bengt Richter