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 UKX3K9sdU2P5MwEAbAwnHQ (envelope-from ) for ; Sat, 22 Oct 2022 00:31:55 +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 4IjpKtsdU2NmTQAAG6o9tA (envelope-from ) for ; Sat, 22 Oct 2022 00:31:55 +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 70ED038E45 for ; Sat, 22 Oct 2022 00:31:55 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1om0CA-00045W-3K; Fri, 21 Oct 2022 18:08:50 -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 1olxcg-0001oI-P6 for guix-patches@gnu.org; Fri, 21 Oct 2022 15:24:03 -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 1olxcg-0004ZU-Hs for guix-patches@gnu.org; Fri, 21 Oct 2022 15:24:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1olxcg-00044R-55 for guix-patches@gnu.org; Fri, 21 Oct 2022 15:24:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#58693] [PATCH 0/1] gnu: home: Add home-emacs-service-type. Resent-From: "(" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 21 Oct 2022 19:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 58693 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 58693@debbugs.gnu.org Cc: "\(" X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.166638022615624 (code B ref -1); Fri, 21 Oct 2022 19:24:02 +0000 Received: (at submit) by debbugs.gnu.org; 21 Oct 2022 19:23:46 +0000 Received: from localhost ([127.0.0.1]:39055 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1olxcQ-00043w-AQ for submit@debbugs.gnu.org; Fri, 21 Oct 2022 15:23:46 -0400 Received: from lists.gnu.org ([209.51.188.17]:57846) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1olxcO-00043p-Nz for submit@debbugs.gnu.org; Fri, 21 Oct 2022 15:23:45 -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 1olxcK-0001f8-Q0 for guix-patches@gnu.org; Fri, 21 Oct 2022 15:23:43 -0400 Received: from knopi.disroot.org ([178.21.23.139]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1olxcJ-0004Y4-2E for guix-patches@gnu.org; Fri, 21 Oct 2022 15:23:40 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 960FD4E856; Fri, 21 Oct 2022 21:23:34 +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 dYVkWGumlTT0; Fri, 21 Oct 2022 21:23:33 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1666380213; bh=9ENGgeFPpdfSiUnDZD8K2pULwN1wcOpTN2d+ZGShm7E=; h=From:To:Cc:Subject:Date; b=l5vdP8xoyZvmGHgDeZQ+FZVbz7BZFhc9Koa/waKKBf6W5aFfKEvcmdGCafkIZs4tI uEMmEPuSCjaoPZxfjXDhS0a+jt8G1FOTTtskuzvDVjBTzZ+5tQL8cj1hcyNQXmpiLS Sy19n+XJXX9eCU8nD6gDxyWMUwbuSkuCQJXVwqPjJO3ISAKsa0QnqMeviuvg+VlCOX 6oROmyPPI6B8iajmrm8DPlMqKKJrboH46/bxrLXJxhES7ilk9g8UPMnaxHMfMo3Ei9 kjAjvjXtObqHy3dJ7uxhKxs3KnuagBLqOA/UUODlMPkkF2TnHaE0RSxa1yJD0lRfTY MMWD0L4G3QSXg== Date: Fri, 21 Oct 2022 20:23:28 +0100 Message-Id: <20221021192328.4833-1-paren@disroot.org> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=178.21.23.139; envelope-from=paren@disroot.org; helo=knopi.disroot.org 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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: , Sender: "Guix-patches" Reply-to: "\(" X-ACL-Warn: , "\( via Guix-patches" From: "\( via Guix-patches" via Errors-To: 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=1666391515; 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:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=z2FOO7+POhXhiiD2fdtfdpKcLXN7lPsSolu/9Pl1XW0=; b=oF0/xKkxzv6B9t2MPgx9WEQw0UNYXKIfwxg1CvDSHn6Brblfar4W2e95T43gPTDDW/3Aj6 SlHE5anuzyx53Z8Bv4VWv3irm00YsArKA0kVnH+RpJxfropjWqpO+iYy+QP/fnzpXr1HxZ Wj6SNXVWVN5nzOecBI3BdxZXCVkn3/SqPaOA8/NIP8xlX4BwzOiFrDAofsOc3aJ3IsgBCC 3C4B1ZVCBgjKPZhkOSLBtFrkviRoan0ADQ446GRQET01xcF5Y4iorDqZGvvl8pdIUy7ad9 KkXF4m5d0xknOkPKnejdU3uRgVHwNtcrcMqh7oUDELRLHDSBmvsxVZ2lPB8izQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1666391515; a=rsa-sha256; cv=none; b=iP2NdWrMNUe3Hw2bh3x9yNCXlvTYqdEkGzdeRtwT61ewfCDlqa37y+J/NMYY074V0CIOPa gRDy2oIK/04rpenzsj0fUw+0weQr6M6rGopqctGCEHewtfBRlyDSm0gpQ3bKC0H91J69bP pHzt5NQC2LblT0Rmk34Hv+fnQRh0n15d9/lEEM1iSavujeyarODc3s2p2/afwnDWikBST3 0Y2x+EOjf0d7mGL4rJPopMgK0WAKK7AnKml2m8/XvUBjDfLyJz/9ycIcIT2jQ36UrbyhFY QUHg980SMxffxvVOyj3UKmLVM7nCbjlA1NRYzVWBAWl7saRzmqSTP9Vh2tcsiA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=l5vdP8xo; 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.14 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=l5vdP8xo; 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: 70ED038E45 X-Spam-Score: -1.14 X-Migadu-Scanner: scn1.migadu.com X-TUID: C6JaPEDXZPJ1 Hey Guix! This patch finally adds a home-emacs-service-type, which supports: - Setting up the ``init.el'' and ``early-init.el'' files. - Automatically running the Emacs daemon. - Natively compiling the given Emacs packages if ``native-compile?'' is enabled. - Loading the given Emacs packages *without* installing them into the profile, by setting EMACSLOADPATH and EMACSNATIVELOADPATH appropriately before launching the daemon. - Enabling ``--debug-init''. I hope it'll see plenty of use :) ( (1): gnu: home: Add home-emacs-service-type. doc/guix.texi | 51 ++++++++++++ gnu/home/services/emacs.scm | 162 ++++++++++++++++++++++++++++++++++++ gnu/local.mk | 1 + 3 files changed, 214 insertions(+) create mode 100644 gnu/home/services/emacs.scm base-commit: 4716cea6256523a8ecf90a426d675bfb7620f3e4 -- 2.38.0