From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id CLpBFUojZ2ckdQAAe85BDQ:P1 (envelope-from ) for ; Sat, 21 Dec 2024 20:21:30 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id CLpBFUojZ2ckdQAAe85BDQ (envelope-from ) for ; Sat, 21 Dec 2024 21:21:30 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=CZbdkrHu; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=kmnli7Sw; 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=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1734812490; 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=Gafh6IQ8ff3wE+5URf16lRMk0PzlRyMXgTdmo1g3q7E=; b=qLL2GC1xT6oQuvij/A+/NSnpEYOdLkRRhqb+sD+44C3oSfEGxwDqmdUEho8cPeWnEwBI5C UUI6WhtV6j2+teKeUmUdBSLGNrKSPf7k4L5+PCUFCKLzG6XjUr/8W/ZWnaReq5JcV9NDtX 6sgCw2s9rn/69OHboquvgAtdvtInxulQzLdkhwjtKzzOmYZMHKT/oBqLqBToGG/oKPSPeY X2oL9wecv8YSvW9UMnaJpkdZw2BpTA8imLNlQbjWwq47WlegWhSVzfuNh1Ojyt2/lBF5c8 SmLlQ660BaavgvBxJ29X2d1ZdqIK26tqRACZkO796+DuBE0uWUrt9wG6AdlEYw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=CZbdkrHu; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=kmnli7Sw; 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=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1734812490; a=rsa-sha256; cv=none; b=SPt5TNEvgIWwcq783De2OcWcCcAPAbdbmCqHcHHeDJ5fM680YwkP61wXX0Qv91F50l4RpD xZY/0TKoxCGwMYnai8xofpIp9ZdlWAgAE3VOhgizegZtDUnw7KN7UJ5obbMZq8ciHtSFFT QZ2XCb4SgrgXviDPtXFiDjtPmjlrA5O1gznyHyG+CFP5utjkKtC13UbCJi1hee8/Cq9Ph4 xRG7u7fme0V2C0TnhvXvHubaIWPqt0nfW0Au8aEODG4Ac7cndAaoKiXgOnc9qhxPFx6o1D RjckSoCGl9nf+A3Q+4b7imf5HGq/NZu57PFLXxGremGEDe9UV9OZi7a9Rprolg== 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 EAA6711C8 for ; Sat, 21 Dec 2024 21:21:29 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tP5yD-00034q-Lx; Sat, 21 Dec 2024 15:21:05 -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 1tP5yC-00034Q-45 for guix-patches@gnu.org; Sat, 21 Dec 2024 15:21:04 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tP5yB-00018j-Rm for guix-patches@gnu.org; Sat, 21 Dec 2024 15:21:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=Gafh6IQ8ff3wE+5URf16lRMk0PzlRyMXgTdmo1g3q7E=; b=CZbdkrHuBrzIN48Ri1bSoXdYt14p7Rh9zdlXZbTa3unHHDDvaLvSW9AJ+pXhGLoghM5sCjvCw2p0/oHhvrxdyxRjxtVFBmyNyuR7yFFRUMVPE9zDoAs3CGcJCJbDibkFx5d6cvVon4PFDLfGP5YU69rer4F4gELA4RaErslpAEbBeDyKosVKEGzCcm+jNBPqFpIsm+I7aMGZHQUViRjLT5mjrIqAerr13xP+pJGs0MCvpLSKudrY/Wl8egZu/PVwdhqo4/vezCnldd81tRhijhxI8qGoDjRwftYVXwW5aJe+84L/RPJ7XT1hIUj+Z3fTjWKDgzul8aQHXnVwkzjADA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tP5yB-0006Dt-Cy for guix-patches@gnu.org; Sat, 21 Dec 2024 15:21:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#72994] manifest.scm and emacs-specific things Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 21 Dec 2024 20:21:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72994 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Danny Milosavljevic , ludo@gnu.org Cc: cox.katherine.e+guix@gmail.com, 72994@debbugs.gnu.org, dannym@friendly-machines.com, andrew@trop.in Received: via spool by 72994-submit@debbugs.gnu.org id=B72994.173481246123877 (code B ref 72994); Sat, 21 Dec 2024 20:21:03 +0000 Received: (at 72994) by debbugs.gnu.org; 21 Dec 2024 20:21:01 +0000 Received: from localhost ([127.0.0.1]:47794 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tP5y9-0006D3-1T for submit@debbugs.gnu.org; Sat, 21 Dec 2024 15:21:01 -0500 Received: from mail-wm1-f66.google.com ([209.85.128.66]:49434) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tP5y6-0006Cp-Nc for 72994@debbugs.gnu.org; Sat, 21 Dec 2024 15:20:59 -0500 Received: by mail-wm1-f66.google.com with SMTP id 5b1f17b1804b1-4361e89b6daso20523355e9.3 for <72994@debbugs.gnu.org>; Sat, 21 Dec 2024 12:20:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1734812393; x=1735417193; darn=debbugs.gnu.org; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:from:to:cc:subject :date:message-id:reply-to; bh=Gafh6IQ8ff3wE+5URf16lRMk0PzlRyMXgTdmo1g3q7E=; b=kmnli7Sw2eN5/D2mXVi4djn8gSPj5sEFYlPHtLpiKIjAAen7YWAxY3mGwvzz7Cxcbi 9KTZONKYOf7S54szW8cK3YDd1jcPeAreuj+ltuSkJWTkats2SvplMMUEYdmQp9g+fd+T RH2wDALa35pf2tD2cfWgM2W2HXNggdqDeD6gozAE/X/rf/zpes9jGARIEsQJ/0kJ4l9m 9OOKyZPWhoUfS9kWzN2/4X4m3jclwtT8PJpLwQ7nv8pWGS4BmpsUxEFtA3s3AD4MEu4o eAMgGdQVvODHT9Oq7xdPyWfzwA/uS2okn6X/pjQDnjOL1xncJxgeOkMi+KS/jGrieVXf NXNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734812393; x=1735417193; 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:message-id:reply-to; bh=Gafh6IQ8ff3wE+5URf16lRMk0PzlRyMXgTdmo1g3q7E=; b=W8tn2cejyMTv/nRElHOicyjeTUFQosVJLAichc4J8Hb+L8n2ZNxPBDgPR+dQ9XhvJP ytfIzWJiGLN8cL/efJcmriJFYX7ewLjlaqpVohaUHYOAfeWtkISip7QjGAPl0BFw0Pvz JnU+6iRc1khPRwUi6gdRS3FboEC8I6odfXnbuo3O6cv1hnxu+eEnb7f/E0DCTpvK7FRi HNeAY1y0GAY9RJtAMQbTmQWfEbKpkR4IQQwDI9A/skqy7yvRIcW9QG+ZlX/DlkyL9mjK 9qSeNuDRzKxMXLaE9C1ZvQZuhdarZuoWxTHyHNEwbHnvC/6soVJI4WDUmGW/uH0H5wrq omyg== X-Forwarded-Encrypted: i=1; AJvYcCWzpbk1t1QF5xFduZ6GLt1hEftTY9AbBSWdDpV/wH0IRf1iZNe66336p8r02+D9ZPMP+8kx3Q==@debbugs.gnu.org X-Gm-Message-State: AOJu0Yzr7tmUhSR4onsQa8R1q5PWI/vfqvGxVDWDjHHhMKqWxwFot2HN PhXgENmjHVc2LlDqgrYmHNDf89vdeQmVij80l05yi908s65RJl4q X-Gm-Gg: ASbGncu4IFmT+FahcM8a8ErBADbnhAeifYWdhv35L2Lt7BwaV2avp64wjAjCjkdDszK pIRQHRhPoAVafaV5z8BqzppsdkD9It7AkDizxJsm5s2wKgSTxGlk5xNQWBPXaAkFjtTvYlGdz9t /iw1GYl/oLDU67z2pqda4ySs87aRDFHPgTOlLUzLbfEl8Fdgh204uKXZ8kihiHa7lHnrfzhdBUZ MiedKQJaGk3bcgMI+3k3Ps6hl6Iy4OJsUIdmnEiBp3qQyhy/2fLm/cR9/4sIh9TWYHTbOBnmsrM Qbuyw7iYDkoG734hKTB5irp9msacIBHa X-Google-Smtp-Source: AGHT+IH9Ym+dpIiJF1T2uPg4DJY2yMJOc4sptBhmSPaNSqTVz7mwCYi0PlDC6yFTjLw/SkV7Ab/wqw== X-Received: by 2002:a05:600c:35c9:b0:434:f1e9:afb3 with SMTP id 5b1f17b1804b1-43668548499mr67214765e9.3.1734812392544; Sat, 21 Dec 2024 12:19:52 -0800 (PST) Received: from lumine.fritz.box (85-127-114-32.dsl.dynamic.surfer.at. [85.127.114.32]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4364b14f241sm127965965e9.1.2024.12.21.12.19.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 21 Dec 2024 12:19:52 -0800 (PST) Message-ID: <6913205399a12a20587ef1826a7fa44cc01d8b2a.camel@gmail.com> From: Liliana Marie Prikler Date: Sat, 21 Dec 2024 21:20:51 +0100 In-Reply-To: <20241221183335.2740D1120E20@dd30410.kasserver.com> References: <58ce361528f55e5ad76ed7da4123525a9e9375e5.1725319687.git.dannym@friendly-machines.com> <87cyl49fbv.fsf@gnu.org> <63bc7d0629493cca55ee2d2b8623c7bd6d18995b.camel@gmail.com> <87zfn3rx8q.fsf@gnu.org> <20241221183335.2740D1120E20@dd30410.kasserver.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.48.4 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: 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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: 0.61 X-Spam-Score: 0.61 X-Migadu-Queue-Id: EAA6711C8 X-TUID: 1Y1+KQJaUFRj Hi, Am Samstag, dem 21.12.2024 um 19:33 +0100 schrieb Danny Milosavljevic: > I think making a public package "julia-emacs-toolchain" would be less > weird. >=20 > (define-public julia-emacs-toolchain > =C2=A0 (package > =C2=A0=C2=A0=C2=A0 ... > =C2=A0=C2=A0=C2=A0 (propagated-inputs (list julia julia-cstparser julia-t= okenize)))) >=20 > Like that? >=20 > Which variant exactly do we want? Do we want end users to create > "manifest.scm"s like that, i.e. should those "xxx-emacs-toolchain" > package names be part of a Guix stable interface ? >=20 > emacs-julia-snail would not propagate julia-emacs-toolchain > then? Or would it? Weird naming choice aside (commented upon below), I don't think it would even be an input to emacs-julia-snail, much less a propagated one. The package, if we need one at all, would need to be public so that users can actually use it. I don't think referring to a manifest as necessarily "manifest.scm" helps us here. If you only have one "guix.scm" and one "manifest.scm" at most, then yes, whatever you need for your hacking setup to work will have to bleed into the latter. But it wouldn't be too weird putting emacs, emacs-snail, julia, julia-cstparser and julia-tokenize into one "snail-manifest.scm", that you can reuse for multiple projects. If you want to look at a comparable situation, look at emacs-geiser and its implementations like emacs-geiser-guile. Here, the reference to guile in geiser is patched to point at the correct guile =E2=80=93 load pat= hs pose no issue. If we can do something similar for julia, that'd be great, but=E2=80=A6 I think leaking cstparser might be a no-no, would it? > (Personally, I think in an ideal world, *emacs* would run in its own > guix profile and when you do M-x list-packages in emacs and install > a package it would just install it into its emacs profile using > "guix package"[1]. Somehow, the emacs environment so configured > should not bleed into processes started by the user inside emacs. > But that's a long way off maybe and not sure whether it would be > a good idea. In any case it should be *almost* independent of this > here) I mean, you could start pure guix shells as emacs subprocesses. I think there are also packages from setting emacs internals within some specified scope =E2=80=93 such as buffer-env. "something-emacs-toolchain" = is imho a weird name for a(n implied) dependency for a particular emacs package. =C2=A0 Other than that you could also spawn a special emacs for julia development from its own manifest. Would be a separate emacs process, sure, but helps isolation :) Cheers