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 ms0.migadu.com with LMTPS id ONjEDMMTDGIuywAAgWs5BA (envelope-from ) for ; Tue, 15 Feb 2022 21:57:39 +0100 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 UAiTBcMTDGLwHAEAG6o9tA (envelope-from ) for ; Tue, 15 Feb 2022 21:57:39 +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 B116D3AEBE for ; Tue, 15 Feb 2022 21:57:38 +0100 (CET) Received: from localhost ([::1]:53500 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nK4tF-0001uu-T2 for larch@yhetil.org; Tue, 15 Feb 2022 15:57:37 -0500 Received: from eggs.gnu.org ([209.51.188.92]:58308) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nK4sg-0001qa-H8 for bug-guix@gnu.org; Tue, 15 Feb 2022 15:57:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:52683) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nK4sg-0003ZD-5D for bug-guix@gnu.org; Tue, 15 Feb 2022 15:57:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nK4sg-0006q8-3i for bug-guix@gnu.org; Tue, 15 Feb 2022 15:57:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#54003: local-file after Guile update Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 15 Feb 2022 20:57: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: Ludovic =?UTF-8?Q?Court=C3=A8s?= , Maxim Cournoyer Received: via spool by 54003-submit@debbugs.gnu.org id=B54003.164495858626243 (code B ref 54003); Tue, 15 Feb 2022 20:57:02 +0000 Received: (at 54003) by debbugs.gnu.org; 15 Feb 2022 20:56:26 +0000 Received: from localhost ([127.0.0.1]:46580 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nK4s5-0006pC-UP for submit@debbugs.gnu.org; Tue, 15 Feb 2022 15:56:26 -0500 Received: from laurent.telenet-ops.be ([195.130.137.89]:34742) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nK4s3-0006p1-Ka for 54003@debbugs.gnu.org; Tue, 15 Feb 2022 15:56:24 -0500 Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a]) by laurent.telenet-ops.be with bizsmtp id vYwJ260014UW6Th01YwJwx; Tue, 15 Feb 2022 21:56:21 +0100 Message-ID: <695f30cb2a9857b3f616333b9a9fafb347f60061.camel@telenet.be> From: Maxime Devos Date: Tue, 15 Feb 2022 21:56:09 +0100 In-Reply-To: <871r03zzky.fsf@gnu.org> References: <87zgmtqfsf.fsf@posteo.org> <87pmnoyy2s.fsf@gnu.org> <87iltgxgv4.fsf@gmail.com> <871r03zzky.fsf@gnu.org> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-zI4MNXODWb7+4PGw4Kt+" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1644958581; bh=4keJy+mxwfHoFVxjGZTEed0DSqi44feA+bJe1oRqEc4=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=b8ewSwPJowt43HNH+reqaFlfgAbYgYkFQPOTH0qQmH29HjXuR9xv1NzREv0pljsHj JmoZGxMUCpe2TF5z1loP6OCqFc3Bm7JZhWGq9S2IHbIBDNgQ58tFssCE/FDedhLry6 ow+ZLtFOwlgCUxq35aqpe3/47gVq7MHE+zU2t6kpd/VGDsENFNOH50wiMbO6Dw/Tt6 SBEmJB5Dfu9geV+gWEjf9wUihp1tuORsQRtBY3kNlTrCwO5xerEsFRZQdoMAyT4TAG ddmvcz/gJgoJFPXipSSYxz/YwafLzmyB2FpNEgtipjFxy3DTBTeB7TimaDHan+CIGj +U8d6FrDYCRoQ== 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, 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=1644958658; 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: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=4keJy+mxwfHoFVxjGZTEed0DSqi44feA+bJe1oRqEc4=; b=TcMXuof+aWLdIcPOAJMwJeLozNM7pfXP05HeoBksru38Z2glZdaiKQ0bqVMXCPeyPPyIWC Zxgzj4pF809ZiNnSYAwt+2U5NwKS3ljRs0YWY/ZEhsNF8q4EBXt39uTkOJysla7efypeEF LpaqMxajAqOnbQjVxO4D5squb6KTpVbnsWRjythHpP4BH+0F040cr7gU867IWoozcAr8Tr Od0Rnj7pPkhPLy2ybaxquZqHnSA6GNq3tJKFuyHZVwO40mq2ZHjels4zsztvXPR7c2ioYX y8poqXQR5922Af6R4mLJh+xICMZhv6lvbZr0O5EKiWsuC76RC6O6YQECA37lXw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1644958658; a=rsa-sha256; cv=none; b=pKv/sVLGRbu/wredlVuTNqNBTSMWL2/l7Z8QjZrLLdGlcEF6CLx4zVOqmQ1Z5b2GvEpfIZ MuHvRia+sGxxFLhGnGgeawouecUq1FMQ6X4i2FRSMhNxfgmlaNgyDR45KT9NQb+yq5GgHq 97LVxy6wrlgSUFF11oeWNhiQjSX+Sk3hs18/UlM1WH7yAO9X5HDvAU3pwsOhJQGK+O9eoc yvPKdp7YiilqRZ4qcAWrmPlSV3kDo+osXKl+Sjp7JqX2ikkfWQDHbFusXj3qcC7/4I2RsF YHp7sRorcxry+9cz8AdF8VHr72zNDbmh3y90QJ+sajU4kRWKAZ+Uzwlbo1gCeA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r22 header.b=b8ewSwPJ; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); 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: -3.13 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r22 header.b=b8ewSwPJ; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); 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: B116D3AEBE X-Spam-Score: -3.13 X-Migadu-Scanner: scn0.migadu.com X-TUID: yji+JP3ttUVf --=-zI4MNXODWb7+4PGw4Kt+ Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Ludovic Court=C3=A8s schreef op di 15-02-2022 om 20:42 [+0100]: > The problem is that =E2=80=98read=E2=80=99 hash extensions (like those fo= r #~ and #$) > would so far return sexps with associated source properties, but > psyntax > in 3.0.8 ignores those source properties. 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. Greetings, Maxime. --=-zI4MNXODWb7+4PGw4Kt+ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYgwTaRccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7mqMAQC/jn/8Pl4z9evHlkrklOq2FoT9 f5/NdRFkD95zvclh7wEA3tKjMty1uwRhV3jJUmROtDO/I/rasyEY0EtWcgw1hAg= =2BiF -----END PGP SIGNATURE----- --=-zI4MNXODWb7+4PGw4Kt+--