From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <guix-patches-bounces+larch=yhetil.org@gnu.org>
Received: from mp11.migadu.com ([2001:41d0:2:bcc0::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by ms5.migadu.com with LMTPS
	id gKPOCIr0L2P7HgAAbAwnHQ
	(envelope-from <guix-patches-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Sun, 25 Sep 2022 08:26:18 +0200
Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by mp11.migadu.com with LMTPS
	id SLjTCIr0L2OUAAAA9RJhRA
	(envelope-from <guix-patches-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Sun, 25 Sep 2022 08:26:18 +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 9807B3CE58
	for <larch@yhetil.org>; Sun, 25 Sep 2022 08:26:17 +0200 (CEST)
Received: from localhost ([::1]:51110 helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <guix-patches-bounces+larch=yhetil.org@gnu.org>)
	id 1ocL5k-0003P8-OH
	for larch@yhetil.org; Sun, 25 Sep 2022 02:26:16 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:34430)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>)
 id 1ocL5X-0003P0-7p
 for guix-patches@gnu.org; Sun, 25 Sep 2022 02:26:03 -0400
Received: from debbugs.gnu.org ([209.51.188.43]:46631)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>)
 id 1ocL5W-0006B5-Nm
 for guix-patches@gnu.org; Sun, 25 Sep 2022 02:26:02 -0400
Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
 (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1ocL5W-0000K9-Fc
 for guix-patches@gnu.org; Sun, 25 Sep 2022 02:26:02 -0400
X-Loop: help-debbugs@gnu.org
Subject: [bug#57963] [PATCH 0/1] Support user's fontconfig.
Resent-From: Liliana Marie Prikler <liliana.prikler@gmail.com>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
Resent-CC: guix-patches@gnu.org
Resent-Date: Sun, 25 Sep 2022 06:26:02 +0000
Resent-Message-ID: <handler.57963.B57963.16640871361212@debbugs.gnu.org>
Resent-Sender: help-debbugs@gnu.org
X-GNU-PR-Message: followup 57963
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: Taiju HIGASHI <higashi@taiju.info>,
 Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@gnu.org>
Cc: 57963@debbugs.gnu.org, Andrew Tropin <andrew@trop.in>
Received: via spool by 57963-submit@debbugs.gnu.org id=B57963.16640871361212
 (code B ref 57963); Sun, 25 Sep 2022 06:26:02 +0000
Received: (at 57963) by debbugs.gnu.org; 25 Sep 2022 06:25:36 +0000
Received: from localhost ([127.0.0.1]:45709 helo=debbugs.gnu.org)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
 id 1ocL55-0000JU-Rb
 for submit@debbugs.gnu.org; Sun, 25 Sep 2022 02:25:36 -0400
Received: from mail-ed1-f68.google.com ([209.85.208.68]:42612)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <liliana.prikler@gmail.com>) id 1ocL52-0000JE-Ge
 for 57963@debbugs.gnu.org; Sun, 25 Sep 2022 02:25:35 -0400
Received: by mail-ed1-f68.google.com with SMTP id u24so5121098edb.9
 for <57963@debbugs.gnu.org>; Sat, 24 Sep 2022 23:25:32 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; 
 h=mime-version:user-agent:content-transfer-encoding:references
 :in-reply-to:date:cc:to:from:subject:message-id:from:to:cc:subject
 :date; bh=MNdZQC2WrV3oq7dpI7oEE15mZzkW60VihGSv4bFv9Ic=;
 b=IaKaFxgCJ700CaulyTYa2D4pK4LTtSqYdAZBCUiICf5SIaBJpOCWY5NMyBf0QKrdUw
 VVXBpfROKQiVqd7kx0kstfjL+seezoGHmS/e9pElCx0gXCMx6eUczu4AYYR/cgeXUlt9
 7X1h4FHrH74QCd1kzX5y4bu/DO6KRw8yWpex39VaesBAp/aECXOLaMEG9SDepKhxJNtM
 6aV8w/5MQePPkOQTbf71ja9JZBKJWeJkyefRs0sZVnX26cRXb9yByw66BgVovg5CIKoF
 c2aXTsrtGLJfgcCTfKQYvW+jyubljycZT3IgYl5VzWA0DXmZq0Fw1D8YwJgoM9/CdQWa
 sGUw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=mime-version:user-agent:content-transfer-encoding:references
 :in-reply-to:date:cc:to:from:subject:message-id:x-gm-message-state
 :from:to:cc:subject:date;
 bh=MNdZQC2WrV3oq7dpI7oEE15mZzkW60VihGSv4bFv9Ic=;
 b=sNvGeulPIHsMMe7vRTBcIfqleCTgGMvJQef+EzrZeTrIVD9hM2M4P+GAqd0bMPqZSX
 6v5F6kWhtNthNcabD5tvr6L/1orECcU4bJEex2BDHucP/y3TBgrpnGVZMS7BavBDkPsw
 DEjdamQU+onboBnkeiOi0mwP2ONyfV34vgK8osO3wkKltbG3FJfZwombIzscAF3zknaR
 953kRhApJtfRXPtNyQDvEz7k8kL1zUphs9LUMpII6g05gNzLa293hr6+1AeTV2sWazKJ
 oACQ4WJpxIs6EpNnfWfmXZPVwEDUITRY6bsy3J6BJgFhVT7hB0txQ5E7y0kCrnDtNBvr
 B7bQ==
X-Gm-Message-State: ACrzQf1Q19ciuNd4K7W4Rg5wJIN3khKYHdTdsLUPT/POc22c9rTlI+NL
 2QQQ6fXUYi/VyexKjtFq6d8=
X-Google-Smtp-Source: AMsMyM5Lywq6qlYbamWQ/eCMeg7kaSqDPxcY3HO/2Cfc9tOpO5I7pUxFqzhjP2YUF6RpfCXfFq0Pzw==
X-Received: by 2002:a05:6402:280f:b0:44e:ee5c:da6b with SMTP id
 h15-20020a056402280f00b0044eee5cda6bmr16431690ede.256.1664087126462; 
 Sat, 24 Sep 2022 23:25:26 -0700 (PDT)
Received: from lumine.fritz.box (85-127-52-93.dsl.dynamic.surfer.at.
 [85.127.52.93]) by smtp.gmail.com with ESMTPSA id
 22-20020a170906311600b007822196378asm5873558ejx.176.2022.09.24.23.25.25
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Sat, 24 Sep 2022 23:25:25 -0700 (PDT)
Message-ID: <0fdb0df07f50700454bf34cbb0d86c46bb9afe79.camel@gmail.com>
From: Liliana Marie Prikler <liliana.prikler@gmail.com>
Date: Sun, 25 Sep 2022 08:25:25 +0200
In-Reply-To: <87edw0v0qk.fsf@taiju.info>
References: <20220921002721.23511-1-higashi@taiju.info>
 <20220922012033.30835-1-higashi@taiju.info> <87pmfoq6kt.fsf@trop.in>
 <87sfkjiyck.fsf@gnu.org> <875yhfwxe9.fsf@taiju.info>
 <871qs093dq.fsf_-_@gnu.org> <87edw0v0qk.fsf@taiju.info>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
User-Agent: Evolution 3.46.0 
MIME-Version: 1.0
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
X-BeenThere: guix-patches@gnu.org
List-Id: <guix-patches.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/guix-patches>,
 <mailto:guix-patches-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/guix-patches>
List-Post: <mailto:guix-patches@gnu.org>
List-Help: <mailto:guix-patches-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/guix-patches>,
 <mailto:guix-patches-request@gnu.org?subject=subscribe>
Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org
Sender: "Guix-patches" <guix-patches-bounces+larch=yhetil.org@gnu.org>
X-Migadu-Flow: FLOW_IN
X-Migadu-To: larch@yhetil.org
X-Migadu-Country: US
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org;
	s=key1; t=1664087177;
	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:dkim-signature;
	bh=MNdZQC2WrV3oq7dpI7oEE15mZzkW60VihGSv4bFv9Ic=;
	b=PcfMTPUukD8wAI62CsZVXj8N1x8YhIJtYPfJ9HqkkxFw0fHVyFR/29hQA48nBODKykJptR
	ZjOqqUFL71k5mhk4RsDKvcjwUXoRy1z1tWWGGONn7KQ4KdFXv+iTeUWreCQCl1VkfMJtA8
	rc0hEBxEEqmeJLE4YSMrDYrO1L2+px1gLhxtp84Y5f6vKgV39cV1eKAntlWngsltSnE0zg
	cd/QzDTzM22Xm6Ep6SUMp9bkPbdS3MrnW/fB5vtjCRvFW/D+p+5PNaMlbWTbHfG5wPfjnU
	CIUf8KP8cItER5UoogOTpL212etXSFjYBTxmObYiNUSjY6oeqq5CNJEIJSgKEA==
ARC-Seal: i=1; s=key1; d=yhetil.org; t=1664087177; a=rsa-sha256; cv=none;
	b=XkvKCS6VJCLF64h7WA7Y+TztwO80Zz8rP07+5xLfs/jJBlHUYqlEleFbzuvHOXb0jlKe87
	JDOM8KjJXHnLiK79hCqDvETGrcIbbHjgD45cT9QyO9or8xgsOu/eIivcdVBf9bhaXeX+0t
	+n3tbv/4B1V2PeXwWEKD5xEhDoUrvkSesQYA6mAQM2/jacBr1G1A0jajcFrGkTDnKLORPR
	rOHdWNFnLy5piRWwM0e0VEjNIAyqeFuBSHJj6umOAxizac3Yh4uJNK7L0TxMnIdFEBar+/
	ubyd9U+bpKwqlV6eb8WTLnwGTwbE/A869tGeK2bW9uZijfQ6PLeTKqy/Fu0Rtg==
ARC-Authentication-Results: i=1;
	aspmx1.migadu.com;
	dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=IaKaFxgC;
	dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none);
	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-Migadu-Spam-Score: 7.65
Authentication-Results: aspmx1.migadu.com;
	dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=IaKaFxgC;
	dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none);
	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-Migadu-Queue-Id: 9807B3CE58
X-Spam-Score: 7.65
X-Migadu-Scanner: scn0.migadu.com
X-TUID: kZnc6NMTVhYD

Am Sonntag, dem 25.09.2022 um 07:58 +0900 schrieb Taiju HIGASHI:
> Ludovic Court=C3=A8s <ludo@gnu.org> writes:
>=20
> > Anyway, it does look like your v2 is the way to go, with the
> > obvious caveat that using it is tricky: one needs to know about
> > fontconfig=E2=80=99s config file format and about sxml.
> >=20
> > Maybe we can go with v2 for now (it provides a useful =E2=80=9Cescape
> > hatch=E2=80=9D) but prepare for more conventional configuration binding=
s?
>=20
> By conventional configuration binding, do you mean adding something
> like home-fontconfig-configuration to provide a dedicated=C2=A0 fontconfi=
g
> configuration?
I think Ludo means that we should provide the most useful options (like
the fontconfig dirs) as dedicated record fields, while leaving an
"extra-config" escape hatch, that can be used with SXML or a raw string
for stuff that's too complicated (my personal preference would still be
SXML over the raw string, but YMMV).

> I have been reading the DTD and think it might be a bit of a
> challenge.
> https://github.com/freedesktop/fontconfig/blob/e291fda7d42e5d64379555097a=
066d9c2c4efce3/fonts.dtd
>=20
> However, I did notice one thing, and that is that there is an include
> element.  I thought that if we had a configuration where the include
> element could be added, we could handle most of the use cases.
> What do you think of this idea?
I'd prefer extra-config over include =E2=80=93 extra-config doesn't need to=
 go
through file-like objects and an additional layer of G-Expression
quoting.

Cheers