From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id mEtjMd7+2GVVHAEA62LTzQ:P1 (envelope-from ) for ; Fri, 23 Feb 2024 21:23:58 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id mEtjMd7+2GVVHAEA62LTzQ (envelope-from ) for ; Fri, 23 Feb 2024 21:23:58 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=o2nsMYF1; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1708719838; 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:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=zN3xPLUZf2KUeixf+Vow5KtoVq+bKEDcQaLNHPydzIc=; b=DrPbz8dgDOpyW2NGbb7Swz5Ui69LrCu25ZCE+5hopWGKTrfyjqUigV5MacuSTPmoa+OPxw fK3dPycZjzovz4JmusAUIijML1qNhOI0WJzIatXCP0vsPVWIoUFcXKV/10u7xSOf7McHAW J79x8vwF88eTZU5WC1lPZQtrA1iDGngmUS/3p8NADEqV4u0NZY2r6h17P19YM7WxsLVeJq sRIMcMcyC2/S1bxkbH89U08bXXf2qkQqtsNpBGMfpf+2iBZO9y7jQA5aAF2SSmBqsFk+YS 5yAwUfXOgGzyXw99psqURP0/riKZDpl/bAKKYq5WDy3ETOaXLGOmQf0vg6oOxg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=o2nsMYF1; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1708719838; a=rsa-sha256; cv=none; b=gSRdPP5blPc5sA1TPPTAZhoKPlAJLhbUH69jj33divFfkOre1mi7jF/Lsnaphy1DLT4aEE 4ILWl0jVYqVIZ3NoDaVZlfAbclY7rP1C0cXjN2xWJqZoYwANGkzdJ4v0xcp2gA1XzUUhbT 8munbfR55XydP2rwZNexlDOMe5ZHNjSkBhPKhsv8BItHJoHNpE9kYv5nTTzwttViPK1yjt wKpSf7XhDJncjdVEx25x8LtgAfbGqcHycYXeYjLmIjVbCHAo/edUkir/t1w7NeHI7O3j/S a0CGsRJ+bNc8NQWTM0skeN9cNpX/qkWMSmJ1nPVG98r8d9FsILnpSOfrFXNlNA== 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 A8CDE45C91 for ; Fri, 23 Feb 2024 21:23:58 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rdc4w-0000KV-Su; Fri, 23 Feb 2024 15:23:30 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rdbd0-0008BT-KG for guix-patches@gnu.org; Fri, 23 Feb 2024 14:55:27 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rdbd0-0000CB-9P for guix-patches@gnu.org; Fri, 23 Feb 2024 14:54:38 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rdbdN-0002lt-Uj for guix-patches@gnu.org; Fri, 23 Feb 2024 14:55:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68935] [PATCH v3 3/7] utils: Add insert-expression procedure. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 23 Feb 2024 19:55:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68935 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Herman Rimm Cc: Josselin Poiret , Simon Tournier , Mathieu Othacehe , Tobias Geerinckx-Rice , Ricardo Wurmus , 68935@debbugs.gnu.org, Christopher Baines Received: via spool by 68935-submit@debbugs.gnu.org id=B68935.170871804910483 (code B ref 68935); Fri, 23 Feb 2024 19:55:01 +0000 Received: (at 68935) by debbugs.gnu.org; 23 Feb 2024 19:54:09 +0000 Received: from localhost ([127.0.0.1]:37928 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rdbcX-0002iy-4H for submit@debbugs.gnu.org; Fri, 23 Feb 2024 14:54:09 -0500 Received: from eggs.gnu.org ([209.51.188.92]:57706) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rdbcV-0002i0-6P for 68935@debbugs.gnu.org; Fri, 23 Feb 2024 14:54:07 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rdbbz-0008TO-ME; Fri, 23 Feb 2024 14:53:35 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=zN3xPLUZf2KUeixf+Vow5KtoVq+bKEDcQaLNHPydzIc=; b=o2nsMYF1eerVYOtWOn1l CRsrI9Ik0SE8nXqE4Fcqor+uPmBw4j5yrKHD06TqreKMc22RRF6KcXQ7RpgmqCwR0VKbMSwwMVU1l vLacuKnVZYdIUoLDNBbVVFde/uHRIh1D10eaZ5Zy1+mxqLmZL+4KorQcAdRdwzW4aNdEYQXsFtKpX BgqAX1MH4FOchHaf8J55MT2gPom3IXCOFLGS/DNfn94qKkED8wB35FoUDshHwGr+4nNYv8lSBg8lg udLvhVT5nQ/0x3RozuySnTS7PkusHfCduozMnTdsmiQcNlRSVH059xcJF5VrEr5C9jS1+uf6eCsPQ H9S0WlD3czYZxA==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= In-Reply-To: <7dc6cef7db8bf0d091825457ca0dbc65878353e0.1708461547.git.herman@rimm.ee> (Herman Rimm's message of "Tue, 20 Feb 2024 21:45:11 +0100") References: <7dc6cef7db8bf0d091825457ca0dbc65878353e0.1708461547.git.herman@rimm.ee> Date: Fri, 23 Feb 2024 20:53:31 +0100 Message-ID: <87msrrdkjo.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -5.67 X-Spam-Score: -5.67 X-Migadu-Queue-Id: A8CDE45C91 X-Migadu-Scanner: mx11.migadu.com X-TUID: vPP8SbokJ5vg Herman Rimm skribis: > * guix/utils.scm (define-module): Use (guix read-print) and export > (insert-expression). > (insert-expression): Add procedure. > * tests/utils.scm ("insert-expression"): Add test. > > Change-Id: I971a43a78aa6ecaaef33c1a7a0db4b287eb85036 [...] > (define-module (guix utils) > #:use-module (guix config) > + #:use-module (guix read-print) I took the liberty to change that to #:autoload so users of (guix utils) don=E2=80=99t load (guix read-print) if they don=E2=80=99t actually need it. Ludo=E2=80=99.