From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <guix-patches-bounces+larch=yhetil.org@gnu.org>
Received: from mp12.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 ZL9FAhSDTWPCUwAAbAwnHQ
	(envelope-from <guix-patches-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Mon, 17 Oct 2022 18:30:12 +0200
Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by mp12.migadu.com with LMTPS
	id 6DIHARSDTWNAgAEAauVa8A
	(envelope-from <guix-patches-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Mon, 17 Oct 2022 18:30:12 +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 62994269D1
	for <larch@yhetil.org>; Mon, 17 Oct 2022 18:30:11 +0200 (CEST)
Received: from localhost ([::1]:54076 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 1okT0B-0002hN-QD
	for larch@yhetil.org; Mon, 17 Oct 2022 12:30:07 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:53952)
 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 1okT07-0002hF-Ik
 for guix-patches@gnu.org; Mon, 17 Oct 2022 12:30:03 -0400
Received: from debbugs.gnu.org ([209.51.188.43]:50642)
 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 1okT07-00085i-9I
 for guix-patches@gnu.org; Mon, 17 Oct 2022 12:30:03 -0400
Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
 (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1okT06-0005S5-RO
 for guix-patches@gnu.org; Mon, 17 Oct 2022 12:30:02 -0400
X-Loop: help-debbugs@gnu.org
Subject: [bug#57963] [PATCH v5 2/2] home: services: Support user's fontconfig
 configuration.
Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@gnu.org>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
Resent-CC: guix-patches@gnu.org
Resent-Date: Mon, 17 Oct 2022 16:30:02 +0000
Resent-Message-ID: <handler.57963.B57963.166602415220871@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>
Cc: 57963@debbugs.gnu.org, liliana.prikler@gmail.com,
 Andrew Tropin <andrew@trop.in>
Received: via spool by 57963-submit@debbugs.gnu.org id=B57963.166602415220871
 (code B ref 57963); Mon, 17 Oct 2022 16:30:02 +0000
Received: (at 57963) by debbugs.gnu.org; 17 Oct 2022 16:29:12 +0000
Received: from localhost ([127.0.0.1]:49720 helo=debbugs.gnu.org)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
 id 1okSzI-0005QY-DK
 for submit@debbugs.gnu.org; Mon, 17 Oct 2022 12:29:12 -0400
Received: from eggs.gnu.org ([209.51.188.92]:48982)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@gnu.org>) id 1okSzG-0005QJ-47
 for 57963@debbugs.gnu.org; Mon, 17 Oct 2022 12:29:10 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:44444)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludo@gnu.org>)
 id 1okSzA-0007ux-8A; Mon, 17 Oct 2022 12:29:04 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To:
 From; bh=AnEdja1o4zzTxK5C6FMciPz0kxPs+/eSBYG+iRpPvVo=; b=RBcG2CDXQcuogJoiSGj4
 f8tjchtRcakGYc9EBiiqIetbnGCmzyORwlxJpOsF2WVY/es2dZ10j5YbqbxPo9j1Wut/AbOPjL8RU
 VPZWbM0rBPO19nNWtfUkNxSQFwrSXmK7pnxdd4mdMappUWbLECPpPLSyYZQkC2Nyv9VL6R29x7bNF
 QLmkkHgm/LxnKscrh8O1lWGcn3DIjoaEQ8FHEudoWOyiAHGXyfa8QAdMuhY7uL6alNRqrRaUf7nF0
 lFejBP1L4CvgXvkNhTXPl/2vIVYjYBw6jKf0mBLmtagAevx4DY1LrWPZakHOqoPg3Acjq+PGYiEaj
 yqr6ZhV7JMvYww==;
Received: from [193.50.110.209] (port=34820 helo=ribbon)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludo@gnu.org>)
 id 1okSz6-0000iK-DF; Mon, 17 Oct 2022 12:29:03 -0400
From: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@gnu.org>
References: <87k053sxur.fsf@gnu.org> <87zgdzat99.fsf@trop.in>
 <87zgdxgx0l.fsf@taiju.info>
X-URL: http://www.fdn.fr/~lcourtes/
X-Revolutionary-Date: Sextidi 26 =?UTF-8?Q?Vend=C3=A9miaire?= an 231 de la
 =?UTF-8?Q?R=C3=A9volution,?= jour de l'Aubergine
X-PGP-Key-ID: 0x090B11993D9AEBB5
X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc
X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4  0CFB 090B 1199 3D9A EBB5
X-OS: x86_64-pc-linux-gnu
Date: Mon, 17 Oct 2022 18:28:58 +0200
In-Reply-To: <87zgdxgx0l.fsf@taiju.info> (Taiju HIGASHI's message of "Sat, 15
 Oct 2022 20:13:30 +0900")
Message-ID: <875ygiqur9.fsf@gnu.org>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
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-Country: US
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org;
	s=key1; t=1666024211;
	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=AnEdja1o4zzTxK5C6FMciPz0kxPs+/eSBYG+iRpPvVo=;
	b=laa9Z65tK7XiGc7rd8UAbeXXXUKpJRg79qZPR9t4IYYIyiCCPCOyYgGhWTRb9cvZKXLpzq
	QQzXdxBHOEW/8iLMH6EPkgoqVTDirAmQ2CRh7bdHT9e1tzhjdOZXzfOrPmZ5boldVexGKS
	dXtupnkWz7pqFSitf3fYghj4sOWyNEP6BkRZOmj/B3ctKqaw8al7AsERMifift/LY4Ne7a
	xNaV/Qbn7MHxB+xylmiKW3SdwzJXJekxYAMwlCELQYsTBBOeikLhvQkf99+pcaCvVCYRIs
	dXAhKM6tcO5KLpDtcYnBnMuqUp/bQYUniBteVAhXTR5pkP8VuTSxqB9yzC2UoA==
ARC-Seal: i=1; s=key1; d=yhetil.org; t=1666024211; a=rsa-sha256; cv=none;
	b=aLyDD1Ax/wEdaeNB3ivUPwUb6P5fPgH0ap9/ioh4YrNWhdsCpEdbF7R/upxvJRShs8BieM
	EpVCDkGHavljT77S1YzPdomCOqcR/4f63yzhi2ZaSszmNPlQz/ZPWMINZ0lFrmyKix2hVX
	35Sd0Jnb0J/ZoBMoCz20ez28IqG2owOz7TPYXGP6e4K6kP8dfr7T3H2a7d4JmObFBulobB
	I9fIN+3slGWI70mZz3PE/VrIb6DMgmItE03k3SDXyG+mVu9S3828QU0YaUWLs0OUBCn4JQ
	nRapHqa+xmz6c2pkXEmZ+chLIQiN/GpXKHPit4aGd6tHlLh2v7p+Ko8jMhMD6w==
ARC-Authentication-Results: i=1;
	aspmx1.migadu.com;
	dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=RBcG2CDX;
	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-Migadu-Spam-Score: -1.62
Authentication-Results: aspmx1.migadu.com;
	dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=RBcG2CDX;
	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-Migadu-Queue-Id: 62994269D1
X-Spam-Score: -1.62
X-Migadu-Scanner: scn0.migadu.com
X-TUID: CtNsHla641Ue

Hi,

Taiju HIGASHI <higashi@taiju.info> skribis:

> Andrew Tropin <andrew@trop.in> writes:

[...]

>>> Andrew Tropin <andrew@trop.in> skribis:
>>>
>>>> If serialization would support G-exps, we could write
>>>>
>>>> (list #~"RAW_XML_HERE")
>>>
>>> There=E2=80=99s a one-to-one lossless mapping between XML and SXML, so =
I don=E2=80=99t
>>> think it makes sense to support XML-in-strings when we have SXML.
>>>
>>> The only thing it would give us, as I see it, is the ability to generate
>>> syntactically-invalid XML.  Maybe we can live without it?  :-)
>>
>> Of course we can :), but we won't be able:
>>
>> 1. To take already existing xml config and use it without rewriting.
>
> I find it surprisingly important to be able to simply copy and paste
> settings without having to rewrite existing settings or those listed on
> a web page somewhere.  I know we can easily convert from XML to SXML,
> but those unfamiliar with SXML may find it a bothering task.

OK, that makes sense.

But then, let=E2=80=99s not allow users to intersperse XML-in-strings in the
middle of XML.  It should be either a user-provided file/string or the
generated config, but not a mixture of both; that=E2=80=99d be a recipe for
confusion.

How about this: the service takes either a <fontconfig-configuration>
record or a file-like object?

(We can even have a =E2=80=9Cgexp compiler=E2=80=9D for <fontconfig-configu=
ration> to
make that transparent.)

Thanks,
Ludo=E2=80=99.