From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id WCQ3AcyqS2XQVwAAauVa8A:P1 (envelope-from ) for ; Wed, 08 Nov 2023 16:35:40 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id WCQ3AcyqS2XQVwAAauVa8A (envelope-from ) for ; Wed, 08 Nov 2023 16:35:40 +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 9031C26864 for ; Wed, 8 Nov 2023 16:35:39 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mailbox.org header.s=mail20150812 header.b=VyjwhcLH; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1699457740; a=rsa-sha256; cv=none; b=m/hvBYkrP71uZX5QFptLoLGycPMOwnRtIEAHge+8C7X1Z43S9tolmHNfoBaBVJZidHSyg4 H1lEMefe3U829WZApqMpxyQHwIalZqW2NmgpGX7wHYK+XTbQjHR4YEVdgdFZPJeqGtdxzi TZXt8eHppKTpxof5xTeT8WIVKcvGgNQoEnlbDS+gKCJeVe/EVOgjmApF/NcACLGhxlRhp+ Vkdkkg/mKafW1/3hr239P1ZBUh+6YFPDwzt7nFIQbL8AtBvXN2Cof8ES6eE2VGmXMBC+55 /fKv1KN11yQz827fcM2+yh3FSAXdDrVIRnr/JHO1PdesQdFUZll9fHH3gn4izg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mailbox.org header.s=mail20150812 header.b=VyjwhcLH; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1699457740; 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-type:content-type: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=YxN+Si7RI6/LOaj0k7qHtlP/zui4kCtGOgTtUaQGF7o=; b=rmnHw+vCtw4g8yhjvf+2H7TEKio/XqnTzd1Q2Tj6zdp7auj9UAAhbbuyVIxYQiJZSy3Rdr E+aaaMPp7CcvHLEUG1n4Mt+cuohEk8K13+t5Nftkw1/QxLUd6u57kSQwRt57cY6z5H8WXZ DclbEpcx7NQFe/8vC1rr5WHEDnq4qapPKhx4/2/EuKo9dRYQMCdqz6Z4cCxL7Hs9zXXbZi Wp8FhG+WhZS0GxI58gTkr0GEK+1dnZZPFe5W14Yq1nrFoEjtZZ0buBFi9k10NfaPKFcb5U e2hjy9zW5W+R1trRF/DwxZt9KdBIYJY6Zhxp6cdbEcXeW9syvh+DS4btPWcPdQ== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r0kaa-0000Oi-KT; Wed, 08 Nov 2023 10:35:32 -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 1r0kaS-0000JU-H2 for guix-patches@gnu.org; Wed, 08 Nov 2023 10:35:28 -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 1r0kaS-0002t2-0D for guix-patches@gnu.org; Wed, 08 Nov 2023 10:35:24 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1r0kb4-0004J6-J5 for guix-patches@gnu.org; Wed, 08 Nov 2023 10:36:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#62848] [PATCH v2] environment: Add --remote option and emacsclient-eshell backend. Resent-From: Antero Mejr Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 08 Nov 2023 15:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62848 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: moreinfo patch To: Liliana Marie Prikler Cc: 62848@debbugs.gnu.org, maxim.cournoyer@gmail.com Received: via spool by 62848-submit@debbugs.gnu.org id=B62848.169945772116501 (code B ref 62848); Wed, 08 Nov 2023 15:36:02 +0000 Received: (at 62848) by debbugs.gnu.org; 8 Nov 2023 15:35:21 +0000 Received: from localhost ([127.0.0.1]:46153 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r0kaP-0004I4-4N for submit@debbugs.gnu.org; Wed, 08 Nov 2023 10:35:21 -0500 Received: from mout-p-201.mailbox.org ([80.241.56.171]:42812) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r0kaM-0004Hq-Cb for 62848@debbugs.gnu.org; Wed, 08 Nov 2023 10:35:19 -0500 Received: from smtp2.mailbox.org (smtp2.mailbox.org [10.196.197.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-201.mailbox.org (Postfix) with ESMTPS id 4SQTfJ08Wcz9sbg; Wed, 8 Nov 2023 16:34:32 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1699457672; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=YxN+Si7RI6/LOaj0k7qHtlP/zui4kCtGOgTtUaQGF7o=; b=VyjwhcLHMw+oWkwLwWb7pUm5TNECL8aYUGcm5/ssnf9niWH6S5zdHdZbb3BsxjB68htenB 817aZEzKuMBsT+9QLZiEkRkzlW48/V5WzAYSG+Hd3KFVyWMxp2QpPw4PK/7rKRl5vae+Ce hRI/pjTzE0LmQ6H33rbYla+h/i4cpy2D30kXkW7rN179oQ7OWwhYl3tPQx1iparZf56Z8c M9pkhxWO+rlanqh2RnBiZRIeUd24SkbboS7Fneb8jSU41FDyEXpcYIX4e0JqSLTGJWRIRa L5unpUd/+2UOFJs4GGnTbPgjeO0hjTakBrDjOiZ5Bq4OJEG2+V56/7S1HqZ9hQ== In-Reply-To: <16e985a5a6cc331daecfb58a1a737e6c6f76fa32.camel@gmail.com> (Liliana Marie Prikler's message of "Wed, 08 Nov 2023 06:29:03 +0100") References: <87msvpmc2e.fsf@mailbox.org> <16e985a5a6cc331daecfb58a1a737e6c6f76fa32.camel@gmail.com> Date: Wed, 08 Nov 2023 15:34:28 +0000 Message-ID: <87h6lwuum3.fsf@mailbox.org> MIME-Version: 1.0 Content-Type: text/plain X-MBO-RS-ID: 498f108245ec7363add X-MBO-RS-META: kada1pxefiripqsu74rfkeqeip35kwfj 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: , Reply-to: Antero Mejr X-ACL-Warn: , Antero Mejr via Guix-patches From: Antero Mejr via Guix-patches via 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-Queue-Id: 9031C26864 X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -6.71 X-Spam-Score: -6.71 X-TUID: Kc/JVjfSSLXx Liliana Marie Prikler writes: > You have merged two changes into one patch imho. I think it'd be > better if you swapped the wording first and then added the emacsclient > code. Fixed in updated patch set. > Interestingly, this still won't support emacs sans client IIUC as we > anyhow have to spawn a new process. Can we (perhaps in cooperation > with guix-emacs) make it so that 'guix shell' spawned from eshell does > "the right thing"? Not 100% sure what you mean, but I do not think it is possible to start eshell (or interact with an existing eshell) without using emacsclient or starting a new emacs process. Starting a new emacs process is cumbersome and doesn't make sense to me - I wouldn't want to start another instance of emacs just to use a guix shell environment. Currently, running guix shell in eshellwill invoke $SHELL, which seems like the "right thing" but isn't very useful, since then you lose all the eshell features. The intention of this patch is that the user will have an emacs server already running, via the forthcoming 'home-emacs-service-type' service or some other method. Then guix shell can communicate with that server to set up the environment in a new eshell buffer.