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 ODwsALKMxmKXWQAAbAwnHQ (envelope-from ) for ; Thu, 07 Jul 2022 09:35:14 +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 EELSOrGMxmLrWAAAG6o9tA (envelope-from ) for ; Thu, 07 Jul 2022 09:35:13 +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 B31EA241A6 for ; Thu, 7 Jul 2022 09:35:13 +0200 (CEST) Received: from localhost ([::1]:42296 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o9M2a-00077O-Eu for larch@yhetil.org; Thu, 07 Jul 2022 03:35:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47316) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o9Lz8-0005sb-4Z for guix-devel@gnu.org; Thu, 07 Jul 2022 03:31:38 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:40632) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o9Lz7-0001l1-Pl; Thu, 07 Jul 2022 03:31:37 -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=gQwq+CTAmXVVZ0TRJ0Y3WXTFoxFnIPOBRt8yF06RRrc=; b=FdisVeIPYBK0XBSAznGr eZvPEDiEImYuvgGzQ3IwsQq894fd+EDPE8IiWknKqyMnadyiRD4RUxtwCvLwxBsfHBzS+LhA19w6o L9DDvj84viQk0UNSlo58XV3pUEfJ1PkUIXO6oMrvV3abjLle0miCC1S4M8F5Dfr7PH386D6fy8fLo 5mqpqwHiDeogoe7mhEtze+7nfxt6dfG6iacXJX4WHk0k2aMa/HF/Zl5mXDkhVR+PRI/LIqszYaaWw Tn+JOnzwUBtUX8V/gy76L7QB7VpdJk7JG4Mx9iWpeuJcs2u/eLZbwkhWLfFg5BOdgb9pRYuvjwb9x MjW6ELBOklIyWw==; Received: from [193.50.110.235] (port=42272 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o9Lz7-00029s-AB; Thu, 07 Jul 2022 03:31:37 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: jgart Cc: Guix Devel , zimoun Subject: Re: repl macro (metacommand?) for guix CLI (sub)commands References: <20220703131112.GB5967@gac> <87mtdpau7y.fsf@gnu.org> <20220704132159.GC3017@gac> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Nonidi 19 Messidor an 230 de la =?utf-8?Q?R=C3=A9vol?= =?utf-8?Q?ution=2C?= jour de la Cerise 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: Thu, 07 Jul 2022 09:31:34 +0200 In-Reply-To: <20220704132159.GC3017@gac> (jgart@dismail.de's message of "Mon, 4 Jul 2022 13:21:59 -0500") Message-ID: <874jzt2xbd.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-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=1657179313; 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=gQwq+CTAmXVVZ0TRJ0Y3WXTFoxFnIPOBRt8yF06RRrc=; b=b1Vg+LB1d2nE36n8AmYidBDfiUzCPnJF8p17ilFz0HZZX90wH3Z2omS5OTGh0HExt9YCHq tOG91RO7oTfcZUvei/JlEAyHzlnJlWEUl+C9gSDHsoGylBXxJJ/0pFeEohV4iZKmoCqy+b NAwyhfzvhtEBsIJhdxPYEI+bWzZKnIlH4kERf6dbclK5HYzpeU7+m9kthJzCMEI1kNS8wO AD8j1Zu/oIZb5XegNYrUhKUS9xWoP5ZIcVMXWB3UCO0D6JTyN+awE5KgpyZ66PmgEvErio eW2QBYdrFM+4VJEiVJKVwLyUbh/4V7ykY1rgFeg9SyCIG4GUxn9V0l4GWuD/BA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1657179313; a=rsa-sha256; cv=none; b=eGb8EIHLFVBTtxLlNPGknx7yRlC+fDxcqWogMRcSR+uz3f9TGBtVVHCzrH12sPO4nm6gSX pldmpHhZeAWYwOVXMInL7Y0n4UqtzXbuXRtjVOUKf/aSXdTr+Sx8S+H6rA6iDEMyCUFaBN aNZxmE8ZrOBMPFjMHgIKLJu23xVuBSx+W0gO6igK2l/d4sU5zC/y9u/WJXTz+7tTPBWeTD a8Bl699HI2tBUTOWA4t0hCOR8m6JMDtiCCuRxaFA/LCR21zYXVi40mD+jo5e8jGBDXyayG bV6lwO2WjTyak55z/TWWm2bLd9LpW2BsqpdO9pyhE3bBS7FnVyCuR/0IlSLl1Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=FdisVeIP; 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: -9.25 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=FdisVeIP; 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: B31EA241A6 X-Spam-Score: -9.25 X-Migadu-Scanner: scn0.migadu.com X-TUID: 2+wqSmEAcu/7 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=E2=80=99s =E2=80=98exit=E2=80=99 throws a =E2=80=98quit=E2= =80=99 exception, which can be caught. Ludo=E2=80=99.