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 ms5.migadu.com with LMTPS id wKMXFh6spWJ1WwAAbAwnHQ (envelope-from ) for ; Sun, 12 Jun 2022 11:04:30 +0200 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 iBgTFR6spWIBPwAAG6o9tA (envelope-from ) for ; Sun, 12 Jun 2022 11:04:30 +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 E9C0E1D347 for ; Sun, 12 Jun 2022 11:04:29 +0200 (CEST) Received: from localhost ([::1]:44848 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o0JWG-0000a5-Dp for larch@yhetil.org; Sun, 12 Jun 2022 05:04:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48176) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o0JVr-0000YF-Jv for gwl-devel@gnu.org; Sun, 12 Jun 2022 05:04:14 -0400 Received: from sender4-of-o50.zoho.com ([136.143.188.50]:21092) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o0JVo-0006W3-5Y for gwl-devel@gnu.org; Sun, 12 Jun 2022 05:04:01 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1655024635; cv=none; d=zohomail.com; s=zohoarc; b=gcyW47d3ZHXAkHVIRepxJw/dmbNWccSkMbwCooE+XzdM6IA60XlnA6/0XWuTtZTNKSEPNW8I0MGp4yJ5WFceyfQg8V6nXy+j/Z9eGVLjW8KZ2HbRc3UbYlPA/V0+DoM/CcF3hOluYTaLajDXbzn27DdU8dkYL6ijbKa1UN7Qwng= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1655024635; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=2o1zrHVpIhCeqk3++N39rI1Kv/DWURdE/J47vM7Co90=; b=ARkH+2JOt5Jy/L9nlS1rgKXmpXi27CNM+kf2J8EGha1JslbS596XwS+8a2DpnVytIMhplv7C4QOcgqAv+hY6cGldNK+Hqz41ZOw/1hctzkDl09awtPXbwRRs6pV5pFEqDudb1isrfJgF4JI3c47l/Yf8lvcGi+6CiSD0WwCD5qo= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1655024635; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:From:To:To:Cc:Cc:Subject:Subject:Date:Date:In-reply-to:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-Id:Reply-To; bh=2o1zrHVpIhCeqk3++N39rI1Kv/DWURdE/J47vM7Co90=; b=iHW50UfZprssFPsGTdKBC5Kf78dnHWnLJXhAEndlU89++8UISGUmbDB3tzt/Qw06 SoeZpK2OcZKt9i7jlO/gV3N2acLZ5jBwmiVsEnfLgChwZfglPvmnj1WObBnUdKKnUl9 Bc1Lcdz8EyrJs1QmJm17OD1pRGlZyCMWe+qWFOug= Received: from localhost (120-110-142-46.pool.kielnet.net [46.142.110.120]) by mx.zohomail.com with SMTPS id 1655024633794583.1323937780803; Sun, 12 Jun 2022 02:03:53 -0700 (PDT) References: <20220603183203.11092-1-olivier.dion@polymtl.ca> <20220606194900.27725-1-olivier.dion@polymtl.ca> <20220606194900.27725-2-olivier.dion@polymtl.ca> User-agent: mu4e 1.6.10; emacs 28.1 From: Ricardo Wurmus To: Olivier Dion Cc: gwl-devel@gnu.org Subject: Re: [PATCH 2/3] gwl/config: Share log-event switch with subcommands Date: Sun, 12 Jun 2022 11:03:15 +0200 In-reply-to: <20220606194900.27725-2-olivier.dion@polymtl.ca> X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Message-ID: <87v8t61ceg.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External Received-SPF: pass client-ip=136.143.188.50; envelope-from=rekado@elephly.net; helo=sender4-of-o50.zoho.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: gwl-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gwl-devel-bounces+larch=yhetil.org@gnu.org Sender: "gwl-devel" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1655024670; 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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=2o1zrHVpIhCeqk3++N39rI1Kv/DWURdE/J47vM7Co90=; b=S7FYgzsC6UxwIAqpBlvCRs5dYwSIFR+zMkbuS9s4o7veEVsRZdDZLi/9VfqqpX9F33YWba 8m8525nXDBBWhM3mGMv7S0UTDS8P0klblvYRlnB+et8YbK7g+35Qfeczs58bI3BQREaRnv Y3afdmX+dQ8AqapSNF6tsHiSxnjAWGhnfaHo7OC5vyEjX/4KI7YRT9KwgZVtDewVmPmGNt 4qVGaITFnqoW5lxSACe+iGt/v/Zivq6k3rS0Cm651p+2oacYwIKJy2Zug0Dr9TmCEQlt25 1E2IHWwYZhU+JT+Wfb1ZWbz+PdUb65jGtc/JNUJw+rfCi/rEAlD49FNCaeu+qw== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1655024670; a=rsa-sha256; cv=pass; b=Bleo2IzLtIuQ1dBhOxUKZ4ow49PlwJypvfIyYGV9ikjfGcgIG0lmx108Lkr2HAF8+U3UD0 HegJ4WaYROkiNsn5KwtCrCP+5c1EwPCPxFcEsyMPyBISi+K+svYlid0kjAPzXXD9Koar6M SDMGvc0uMAO7qlIhRnPjjpIyjwzXiVGaj+uCeHjRo8/zDG23JplmAk4TXBN5NsAlADDu37 gC7jboYeFXsdmGnEJyE9k4IOgQ+7f8qKs4tT9561ELvG7PdrDwU1R0uImVc5BxfnPvGfoj Pgdn2sD0PGyF6+j+KPkuVH/L2m98AdGTtLeLbj/DEYO3nS33fLjBYvxWGEX2uA== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=elephly.net header.s=zoho header.b=iHW50UfZ; arc=pass ("zohomail.com:s=zohoarc:i=1"); dmarc=none; spf=pass (aspmx1.migadu.com: domain of "gwl-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="gwl-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -9.49 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=elephly.net header.s=zoho header.b=iHW50UfZ; arc=pass ("zohomail.com:s=zohoarc:i=1"); dmarc=none; spf=pass (aspmx1.migadu.com: domain of "gwl-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="gwl-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: E9C0E1D347 X-Spam-Score: -9.49 X-Migadu-Scanner: scn0.migadu.com X-TUID: 5u10DfCZklL9 Olivier Dion writes: > The alternative would be to define the switch at the top configuration. = Using > `(wanted '((keywords . (log-events))))' for sub-configurations. However, > there's seem to be a problem in guile-config for correctly parsing global > keywords and sub-commands at the same time. Hmm, this patch doesn=E2=80=99t look pretty. What is that problem in guile-config? Could you please share some details? --=20 Ricardo