From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id kJxZAbPL5V72AwAA0tVLHw (envelope-from ) for ; Sun, 14 Jun 2020 07:03:15 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id uOXTOLLL5V7bAwAA1q6Kng (envelope-from ) for ; Sun, 14 Jun 2020 07:03: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 77D6994053C for ; Sun, 14 Jun 2020 07:03:14 +0000 (UTC) Received: from localhost ([::1]:38260 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jkMfh-00027A-63 for larch@yhetil.org; Sun, 14 Jun 2020 03:03:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35312) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jkMfV-00026z-UM for guix-patches@gnu.org; Sun, 14 Jun 2020 03:03:01 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:59461) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jkMfV-00035I-L8 for guix-patches@gnu.org; Sun, 14 Jun 2020 03:03:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jkMfV-00016M-Hd for guix-patches@gnu.org; Sun, 14 Jun 2020 03:03:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#41253] [PATCH v4] guix repl: Add script execution. Resent-From: Konrad Hinsen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 14 Jun 2020 07:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41253 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 41253@debbugs.gnu.org Received: via spool by 41253-submit@debbugs.gnu.org id=B41253.15921181774225 (code B ref 41253); Sun, 14 Jun 2020 07:03:01 +0000 Received: (at 41253) by debbugs.gnu.org; 14 Jun 2020 07:02:57 +0000 Received: from localhost ([127.0.0.1]:42774 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jkMfR-000164-Em for submit@debbugs.gnu.org; Sun, 14 Jun 2020 03:02:57 -0400 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:52979) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jkMfQ-00015s-NB for 41253@debbugs.gnu.org; Sun, 14 Jun 2020 03:02:57 -0400 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 927A35C00D0; Sun, 14 Jun 2020 03:02:51 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Sun, 14 Jun 2020 03:02:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.net; h= from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-type:content-transfer-encoding; s=fm3; bh= YpbdTb2t/S7MZMZkpRyaevmJOE7vIUOIht2HEFFoHw0=; b=HTN5tmsOKOSftGgh hntdAzIz3jJdqmYkEEB9I3lz0jAhXY5J3DE5a120anJgH82ZF1sWadjeq4lcNUhl vJvFgzKwq3sr88icYp97XZ/7oqXWkpPgpnJyJBzGuhfOTJRA9Iwjr9UH4pFkkN6G pdgfqIIm9xqrRzPsyu4D8PFiuzdx62SCdRJ2A/V/o1L32s5SVMIDpN5EnrLxgKjF gO7SIMdm7bXE8xNVzzIQ1SEgJdxw/cmIzqs0uFClt4WvdA/M7LrhurysF35csS5X EOXmgdEwf2yfDP/ptQ49ah5XdTBUcpXj1j8ExSsoEXkG2BFMLilpv+Ywa28Tkbnv FPp/6A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=YpbdTb2t/S7MZMZkpRyaevmJOE7vIUOIht2HEFFoH w0=; b=qRyEpng11sH9TqWf2CaLz7WNmCc5RaQCZLnLpvPcqphGd9fKL9aZR6yhB FKE9RzvHsl67w6UeRtLJE7JVyZ9y1wUvvNesOu3HsB7rD6qt31pZNJLn5B+5fqV3 SO1HMmmPdJ2Kouv6goeF31zqCJONu/HapqdgYWyIRlg6+APmXqn+V6NJ8xZbLHtv gSSk4hScMrPsIKIajMBTlJTv0/wuZorAizGP1D2eTD/pnNtMAzj58K6Z+ShF3Oo1 BJvrp77o9Z1RmeIAdqBdoKJ4Chxqm3VwLyBDL1s0DqtgsYEQ7uIKtXq/zlENBjFp xNWM1/hBWdXqwIPk+mrgi0gdBUjhg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrudeihedgvdduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufgjfhffkfggtgfgsehtqhertddttdejnecuhfhrohhmpefmohhnrhgr ugcujfhinhhsvghnuceokhhonhhrrggurdhhihhnshgvnhesfhgrshhtmhgrihhlrdhnvg htqeenucggtffrrghtthgvrhhnpeevheelveegjeduvdfgudeifeevteffvdetgeefkefg udeujeefgedvheegkefhjeenucfkphepjeejrddvtdehrdeikedrfeejnecuvehluhhsth gvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepkhhonhhrrggurdhhihhn shgvnhesfhgrshhtmhgrihhlrdhnvght X-ME-Proxy: Received: from KHs-MacBook (37.68.205.77.rev.sfr.net [77.205.68.37]) by mail.messagingengine.com (Postfix) with ESMTPA id 88D673280059; Sun, 14 Jun 2020 03:02:50 -0400 (EDT) From: Konrad Hinsen In-Reply-To: <87v9juyclo.fsf@gnu.org> References: <20200514162537.29071-1-zimon.toutoune@gmail.com> <87mu585l8y.fsf@gnu.org> <87v9juyclo.fsf@gnu.org> Date: Sun, 14 Jun 2020 09:02:48 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.7 (-) 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: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=fastmail.net header.s=fm3 header.b=HTN5tmsO; dkim=fail (rsa verify failed) header.d=messagingengine.com header.s=fm3 header.b=qRyEpng1; dmarc=fail reason="SPF not aligned (relaxed)" header.from=fastmail.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: 0.09 X-TUID: 0Va+FzTeOJ8J Hi Ludo, > Oh right, that=E2=80=99s because we=E2=80=99re using =E2=80=98load=E2=80= =99. We should instead do: > > (load-in-vicinity "." file) Nice! That makes it cleaner indeed, since... >> - The script filename is also the first item of (command-line) >> when called inside the script, and that's useful only it it's >> an absolute filename. > > In what way is it useful? I though it was a POSIX requirement, but (1) I didn't find anything on that topic and (2) plaing Guile just passes on what I type on the command line, so I won't try to do "better". v6 is on the way! Cheers, Konrad