From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id SHB+Ld0iTGSyRgEASxT56A (envelope-from ) for ; Fri, 28 Apr 2023 21:47:41 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id yJCDLd0iTGRHZQEAauVa8A (envelope-from ) for ; Fri, 28 Apr 2023 21:47:41 +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 4B9C3C34 for ; Fri, 28 Apr 2023 21:47:41 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1psTdi-0002Sj-JI; Fri, 28 Apr 2023 15:20:18 -0400 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 1psTdT-0002PQ-Ur for guix-patches@gnu.org; Fri, 28 Apr 2023 15:20:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1psTdS-0004CK-4s for guix-patches@gnu.org; Fri, 28 Apr 2023 15:20:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1psTdR-000632-V8 for guix-patches@gnu.org; Fri, 28 Apr 2023 15:20:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#63135] [PATCH v2 0/5] MATCH-RECORD improvements References: <20230427220452.4972-1-paren@disroot.org> In-Reply-To: <20230427220452.4972-1-paren@disroot.org> Resent-From: "(" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 28 Apr 2023 19:20:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63135 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 63135@debbugs.gnu.org Cc: "\(" , Josselin Poiret Received: via spool by 63135-submit@debbugs.gnu.org id=B63135.168270956023116 (code B ref 63135); Fri, 28 Apr 2023 19:20:01 +0000 Received: (at 63135) by debbugs.gnu.org; 28 Apr 2023 19:19:20 +0000 Received: from localhost ([127.0.0.1]:34532 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1psTcl-00060g-V4 for submit@debbugs.gnu.org; Fri, 28 Apr 2023 15:19:20 -0400 Received: from knopi.disroot.org ([178.21.23.139]:41236) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1psTcj-000605-M9 for 63135@debbugs.gnu.org; Fri, 28 Apr 2023 15:19:18 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 44FC440301; Fri, 28 Apr 2023 21:19:16 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LFCKcweS57ge; Fri, 28 Apr 2023 21:19:15 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1682709555; bh=/Sn3sgu9UNd0dyDLhDMWNTGc/G2PQ2ikHB2gunmM5LI=; h=From:To:Cc:Subject:Date; b=aohdYssx+uZwTWllwe/xyQI9Vmk2wG7TMai7w+BqYv4m4aFZJInuq0G2wube2TixM 02PtR4OlBKK+TapboL2YZcx4C2DPZ2EbTWM9u1y6cuViKJOltTjPdSNEQePNxOXARK 86exb2erxtML6BKpqWkUM9MLIW7pYroICUZiwx1bpsL7sKOtCxRZb5rZAitn/wvyn1 6sTXbSRtWSngUbDmB48qc5J82CiwNkuIlbzvro6Pd75x64eHlGAsUBFQmWezmV/u0v ybz2fbCMbN21VgBf7m6gryHM5XyhwDYUVBlpjbHgGzdHHrllZuJUzWd7Dqb4R7aZJF dhM+Chj5q1VyA== Date: Fri, 28 Apr 2023 20:19:00 +0100 Message-Id: <20230428191905.13860-1-paren@disroot.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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: , Reply-to: "\(" X-ACL-Warn: , "\( via Guix-patches" From: "\( via Guix-patches" via 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 ARC-Seal: i=1; s=key1; d=yhetil.org; t=1682711261; a=rsa-sha256; cv=none; b=iCM+Iyw//ckA3OXIZMF11avdIfHgiJr3aEK1IilvFgAZ8JqLUH6X2ZVK2ndkWfhXG2gpIC DSsgUjMl9udULdJ9Q8XOFfCS2jQy6ud+jKnmPf02YqsVh+5PHUeDHv8KOM3dPygDgyTwCW O0GJxRPosLmT8hfts0mH4XrUloQAf2ZG5LBlQTdLkpxwi9VV7+HsA2Rs+BXNab7YVyTMve i9zfbvl5do3lqChaZeGw5PWWt88T6npLfC9B0XCTMMGE9nG2wQOQnkTyjr9PklkJuoDQy4 hAPx217UzUwT5F0fBl2fJm5hlcdNlirk0xo/mN8NrL5wDTNW6rkH+8R9reIMag== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=aohdYssx; dmarc=pass (policy=none) header.from=gnu.org; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1682711261; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: 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=XIDuFoZ+KKe28k98VTbTo5DOAv71Y2EOH7IYXcOKWkg=; b=OOdGjNdNmQ6neIRcioI9xb6kEX6vc6q/UMlkyGYhLxdN/kzgS13OcWJv8TXv4B750ggmDq +JaaAXIIoOXTwOkxrCf44t0RF7fC8qizBsxdYtzwwi+YNfxHZfAJDkmvnJNm10qGvCTQX2 QLGb4DXRV/y9EnJOxP4icGU7VLjuP9HfUaHkN8BGa//wkQLGlIt4Hh+W162fbUnF8usYHQ 0C9veslbN+SFE+m90z9DP5MwDG6+JDv6MJ+cOON9Wpf9zGGCFyuMov5eOlAB+XlcK4qVda fxFLjVU/Fw/f1b39RyOHdUGoOEu1n4ARk6KvYCMoRU+XvNmTTITEP+BhBtEYVA== X-Migadu-Spam-Score: -2.21 X-Spam-Score: -2.21 X-Migadu-Queue-Id: 4B9C3C34 X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=aohdYssx; dmarc=pass (policy=none) header.from=gnu.org; 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" X-TUID: NIkMZAQxwI3D This v2 fixes the dir-locals.el file so that it indents MATCH-RECORD properly and adds a MATCH-RECORD-LAMBDA macro. ( (5): records: match-record: Raise a syntax error if TYPE is nonexistent. records: match-record: Display more helpful field-not-found error. records: match-record: Support thunked and delayed fields. dir-locals: Fix MATCH-RECORD indentation. records: Add MATCH-RECORD-LAMBDA. .dir-locals.el | 3 +- guix/records.scm | 110 +++++++++++++++++++++++++++++++--------------- tests/records.scm | 41 +++++++++++++++++ 3 files changed, 117 insertions(+), 37 deletions(-) base-commit: d59b4764f3171b1430a6d3b954659b8aab730475 -- 2.39.2