From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.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 iHPoKnNkxmPzVAAAbAwnHQ (envelope-from ) for ; Tue, 17 Jan 2023 10:03:47 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 2J3DKnNkxmPUSAEAauVa8A (envelope-from ) for ; Tue, 17 Jan 2023 10:03:47 +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 7209710953 for ; Tue, 17 Jan 2023 10:03:47 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pHhsW-0007XY-Lw; Tue, 17 Jan 2023 04:03:36 -0500 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 1pHhry-0007WZ-Cv for guix-patches@gnu.org; Tue, 17 Jan 2023 04:03:06 -0500 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 1pHhry-00021T-3i for guix-patches@gnu.org; Tue, 17 Jan 2023 04:03:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pHhrx-00085p-UY for guix-patches@gnu.org; Tue, 17 Jan 2023 04:03:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60753] [PATCH] gnu: home: Add home-emacs-service-type. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 17 Jan 2023 09:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60753 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Andrew Tropin Cc: "\(" , David Wilson , 60753@debbugs.gnu.org Received: via spool by 60753-submit@debbugs.gnu.org id=B60753.167394617531098 (code B ref 60753); Tue, 17 Jan 2023 09:03:01 +0000 Received: (at 60753) by debbugs.gnu.org; 17 Jan 2023 09:02:55 +0000 Received: from localhost ([127.0.0.1]:35645 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pHhrr-00085U-4G for submit@debbugs.gnu.org; Tue, 17 Jan 2023 04:02:55 -0500 Received: from eggs.gnu.org ([209.51.188.92]:56636) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pHhrp-00085I-JU for 60753@debbugs.gnu.org; Tue, 17 Jan 2023 04:02:53 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pHhrj-0001yB-91; Tue, 17 Jan 2023 04:02:47 -0500 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=LDc/b6n3GiL6lzs55cHyRKKdYnKOOQmmR1G+312Fx9w=; b=ChlISk2H5gIEBasuzP/d 4e3H2gMVApTeQ93BEuJ7FfA4ucdO2/DI+nyeZ0v8844DGbuixfstDOuBEFLleKdmdkrbNML0I75wl yyY7lHf9V/LlUB8/lqC5RR+CNtdo8P9kf9AF2mu07XBHhoPfwnf85YrOY4GWom5ASKUME2ivMuHWm yTCtVg0mPq/dia1t9Sonz/DYrOCpZRV7Q6xYhedGupOdcWews5Mus9GkbGWcuu5R84I33vUt81nCr zm4xcDYIoAtY3Ue+/xmNSaqjrLqG57IFnvH6ZPWUEEhXLzPlUlKsmEwFQG+VPfmf66utjyqBppzVw /eed1GAqJ7rCig==; Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pHhrU-0005sW-2U; Tue, 17 Jan 2023 04:02:36 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87edrzzw9w.fsf@daviwil.com> <87v8lby7jq.fsf@daviwil.com> <87k01p8086.fsf_-_@gnu.org> <87cz7g2pkz.fsf@trop.in> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Octidi 28 =?UTF-8?Q?Niv=C3=B4se?= an 231 de la =?UTF-8?Q?R=C3=A9volution,?= jour du Zinc 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: Tue, 17 Jan 2023 10:02:30 +0100 In-Reply-To: <87cz7g2pkz.fsf@trop.in> (Andrew Tropin's message of "Sun, 15 Jan 2023 12:02:04 +0400") Message-ID: <87mt6hjzyx.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (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: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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=1673946227; a=rsa-sha256; cv=none; b=jqq1ZdWN/ZmvINO71odW11bJjk8yMTqx2SUTuxT4RZeWig3KcvqcHvTRVzM4SVWN0z0CGQ QUnm673UgTMQfFly0Azv9gDnbU4wKBBaD+CvwaDfAyThTCgYiTA1EUZq99Qu9y5QpMxaCH ppsTqpLPLP+RaAnLPI3eFda66TVx6ZHbnQxMr5keU7G/ZakDOKblWXNvJH5/nvy6k2dJxY d9WJN1Rwp0gkBCe6sh9m3LZ1b95wX+KyQbY5AyBeFwhiJTGgEqLnJTdawAktUAlMsRa7qo /wYs2fxLW7lgfCIb/JDNkxVmC9m5PoqzEmfj7AwHUjAVI2h1WBjAaJWquglAig== 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=ChlISk2H; 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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1673946227; 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=LDc/b6n3GiL6lzs55cHyRKKdYnKOOQmmR1G+312Fx9w=; b=rp6PudUVvSLwdNmnqJoOoh3AtJneaV9PeDXQ6pW5nFGD/zt3Fofe0d8CJyqaW17xlHvl7d nDkqM4FBIl05vacon4HH0NURaIs2FehudWNy7783IxGwvBnycYA1m6y0jr7aiiJvyhvhcS MNITnzqI60Yw7BeDIeRO+mr+Bz28XT2SizFvng/DQ3pG7MDssbP4pE6hbDs7yrlKGJtfli IiBKPKRdn8svOgsuS8Mt8/uJiqP0RwMP8f+KXeL7nx2ve3IcYbrWh2OI/zSg+/HWmIXE4B zeg3eayFZcVJ5Opxoc1iWtjwUPNLuhxmk9TWZoSMVi2ThwW3R+JT7uCPUAQE0Q== X-Migadu-Spam-Score: -4.03 X-Spam-Score: -4.03 X-Migadu-Queue-Id: 7209710953 X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=ChlISk2H; 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"; dmarc=pass (policy=none) header.from=gnu.org X-TUID: ZeIH+uGp1MM9 Hi, Andrew Tropin skribis: >> What about accepting sexps (or gexps) instead of strings? As in: >> >> (init-file '((require 'whatever) (setq something t))) > > A quick minor note on this approach: it won't be possible to use > #'elisp-function inside such configuration because it will be > interpreted by guile reader, but actually rde lives without this > functionality completely ok. Specifically: (write '#'x) |=3D (syntax x) But we can use (guix read-print) and ensure that it prints #'. > Do we want something like this possible? > > (init-file `((require 'whatever) > (setq something t) > (load ,(local-file "old-init.el"))) It=E2=80=99d be nice. In that case, we=E2=80=99ll want it to be a gexp tho= ugh: #~((require 'whatever) (load #$(local-file =E2=80=A6))) Thanks, Ludo=E2=80=99.