From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id QMtBITIuDGLmbwEAgWs5BA (envelope-from ) for ; Tue, 15 Feb 2022 23:50:26 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id gNjZHTIuDGLLYAAAauVa8A (envelope-from ) for ; Tue, 15 Feb 2022 23:50:26 +0100 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 22939135F0 for ; Tue, 15 Feb 2022 23:50:26 +0100 (CET) Received: from localhost ([::1]:35582 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nK6eO-0002ke-2E for larch@yhetil.org; Tue, 15 Feb 2022 17:50:24 -0500 Received: from eggs.gnu.org ([209.51.188.92]:54296) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nK6eF-0002k4-SJ for bug-guix@gnu.org; Tue, 15 Feb 2022 17:50:15 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:52822) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nK6e2-0004Tw-Ms for bug-guix@gnu.org; Tue, 15 Feb 2022 17:50:15 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nK6e2-0001SM-MG for bug-guix@gnu.org; Tue, 15 Feb 2022 17:50:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#54003: local-file after Guile update Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 15 Feb 2022 22:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54003 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Maxime Devos Received: via spool by 54003-submit@debbugs.gnu.org id=B54003.16449653515518 (code B ref 54003); Tue, 15 Feb 2022 22:50:02 +0000 Received: (at 54003) by debbugs.gnu.org; 15 Feb 2022 22:49:11 +0000 Received: from localhost ([127.0.0.1]:46717 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nK6dC-0001Qw-Oa for submit@debbugs.gnu.org; Tue, 15 Feb 2022 17:49:10 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:60964) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nK6dB-0001Qj-Hm for 54003@debbugs.gnu.org; Tue, 15 Feb 2022 17:49:09 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 198F5B3A; Tue, 15 Feb 2022 23:49:03 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hCzNpslZ4FAT; Tue, 15 Feb 2022 23:49:02 +0100 (CET) Received: from ribbon (91-160-117-201.subs.proxad.net [91.160.117.201]) by hera.aquilenet.fr (Postfix) with ESMTPSA id A63D23F9; Tue, 15 Feb 2022 23:49:01 +0100 (CET) From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87zgmtqfsf.fsf@posteo.org> <87pmnoyy2s.fsf@gnu.org> <87iltgxgv4.fsf@gmail.com> <871r03zzky.fsf@gnu.org> <695f30cb2a9857b3f616333b9a9fafb347f60061.camel@telenet.be> Date: Tue, 15 Feb 2022 23:49:01 +0100 In-Reply-To: <695f30cb2a9857b3f616333b9a9fafb347f60061.camel@telenet.be> (Maxime Devos's message of "Tue, 15 Feb 2022 21:56:09 +0100") Message-ID: <87v8xfycde.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spamd-Bar: + X-Rspamd-Server: hera X-Rspamd-Queue-Id: 198F5B3A X-Spamd-Result: default: False [1.40 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FREEMAIL_CC(0.00)[gmail.com,debbugs.gnu.org,posteo.org]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; FREEMAIL_ENVRCPT(0.00)[gmail.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_SOME(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; SUSPICIOUS_RECIPS(1.50)[] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 54003@debbugs.gnu.org, Maxim Cournoyer , Aleksandr Vityazev Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1644965426; 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; bh=zExRVTbn3WAyHwgLjX0gBSoEbtYYx0XnSbgxd6A7pLQ=; b=GE+ow8HywWWntldj5CUUIxN3VXv6WdExKA+JIj+74cVSpQnf2DsntFvp9F1/V8hYqjl5uu I8zetRWcD+rVGsItbNybDK9z5hFHd3fFF+DO2mFHjYrC8AJZEBBDO99GJJm54b4IhSbz7I 3/M8FsjGJOAQUWptBAI/AwnfOlrNeRqNZ42iGksc3kMBANd8cQJivPKJt9UxgI1tzOu86g QG2NIXA0wRsexu84JQWsl3HnOJgtA/kIRlUbN8W+epLgtUBeDFq4uFLiBMFO6pGZOhHJKY yUUZh4Cw/WZfxVZ/lgZVeHeNE4XwDF8ER5TXanIICBTuOyDrQtk+fEpGtA6Qtw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1644965426; a=rsa-sha256; cv=none; b=TUPPm/KYH8hq3nbWQId6LaVxzohPT5mTCcqcbQC1zdpkjV7LSMQHkXu5MM/KixMqukSbFr AkozIojIa8QO8RX4hbVhe7YLeSQN69uk0dBOhrlhhH+qj5R5PXgderbbzEouzXmvJ9wSW1 ab3lF5cb6sNv5Q0mM+cslZ1RUuke+mG+eis8bPIo5YOqUvyu5fx9RpCuozTqIzVQz4maxa F5h3Wpc0Z8YYbZGTFb/ndLk2znzeTReIwVALG3u7y6R7eUURL21Bd4RsmSa0HMBE1a1y/0 oAFlYOjFAcS0mFQYaXM3lgD/nCE2p1YT0yxsc1kSc0zAE9EEUKb43+trZLNPKw== 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 "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -2.93 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 22939135F0 X-Spam-Score: -2.93 X-Migadu-Scanner: scn0.migadu.com X-TUID: 75TjKobOndkK Hi, Maxime Devos skribis: > Read hash extensions can return syntax objects. In a Guile 3.0.8 REPL: > > (define-module (hat)) > (define (hat s-exp) > `#(hat ,s-exp)) > > (read-hash-extend #\^ > (lambda (_ port) > ;; Use 'read-syntax' instead of a combination of 'read' and > ;; 'datum->syntax' for source properties. > #`(hat '#,(read-syntax port)))) > > #^(foo bar) > $4 =3D #(hat (foo bar)) > > Doing something like this in the hash extension for G-exps might work. Yes, that=E2=80=99s one possible workaround, but then =E2=80=98read=E2=80= =99 would find itself returning syntax objects as well. We have to see to what extent this is a problem in Guix proper; I think it will at least break =E2=80=98guix style=E2=80=99 and related code. Ludo=E2=80=99.