From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id WFiTDNdPtWTWogAASxT56A (envelope-from ) for ; Mon, 17 Jul 2023 16:27:35 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id gOCXDNdPtWQUYQAA9RJhRA (envelope-from ) for ; Mon, 17 Jul 2023 16:27:35 +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 AB23648E5B for ; Mon, 17 Jul 2023 16:27:34 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.org header.s=2017 header.b=La8vajS3; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.org (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1689604055; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=2Kn+YPxGFeMPr5n/YL8BIn/ej8TDnBGKlKMyPDiVgW0=; b=NhOfJUr9I/+7DDhDHN7cJMKMXcOptLm60+lAKeuW3qgfFpyC99NDK4bsEQKdpPSS2PdB0I gcrQZTcxER0lCzjVVtsBwEf6mUQDYId4+nYRO/V+MVNhpz0B89HDMtYnFwupRdmDzeVQMA l4Pmm3oaPrzjRC8863Xyusoh6yZ5a3ekxqfsGUHRpgUFgQrffDJtpa7XytqLUBb+r+tZ72 FYPDVohvVegVPWlngATqehe6p4bl73cv//tPXb1wgHzqKeIFcGR9DF7v3P9FT8zSqtkq6S JyDrOtE2Yat43owP/SCdcJy+dlMS6g78JnpTJdJ7CxtkuZT+AH/GEQmzYo/KEg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.org header.s=2017 header.b=La8vajS3; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.org (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1689604055; a=rsa-sha256; cv=none; b=BX3tro8Wzrz9UW8urFy2MzfJAx5bYwToaXZki/SmeBY94DJ6stj/JaZQfH2K8cbos1YTqm HXSxaS5SDgM5QQtzV1VbW1FM/mqHejU0YN1zSSeZd3MNio/PmfpajSJoICjtHPE535OFv1 IaKku574pY/pbYoyutP2zPeOLpZDnqqHAti9UR18DLOxlLxqgKpBg4q7bQekA2R0Slc34/ ljcNOU4b37DnymsrUA294eMNfIOlWRxY7i/x+e5hLd3ZzzKzY6by1vT7fCQdWBYA/1FRcg WtbFENYBELKZk59gesy/Y5ZOtHwjJOeC3nLUfY5uktT4kPWsk2XKlHZ38M7w9w== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qLPBs-0002U8-Gr; Mon, 17 Jul 2023 10:27:08 -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 1qLPBo-0002TW-UP for bug-guix@gnu.org; Mon, 17 Jul 2023 10:27:05 -0400 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 1qLPBl-0004o3-Vo for bug-guix@gnu.org; Mon, 17 Jul 2023 10:27:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qLPBl-00075x-O2 for bug-guix@gnu.org; Mon, 17 Jul 2023 10:27:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#64644: emacs-next eshell-tramp not working when ssh to non Guix System Resent-From: =?UTF-8?Q?Mois=C3=A9s_?= =?UTF-8?Q?Sim=C3=B3n?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 17 Jul 2023 14:27:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64644 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 64644@debbugs.gnu.org Received: via spool by 64644-submit@debbugs.gnu.org id=B64644.168960396227191 (code B ref 64644); Mon, 17 Jul 2023 14:27:01 +0000 Received: (at 64644) by debbugs.gnu.org; 17 Jul 2023 14:26:02 +0000 Received: from localhost ([127.0.0.1]:50764 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qLPAn-00074N-8v for submit@debbugs.gnu.org; Mon, 17 Jul 2023 10:26:02 -0400 Received: from mout01.posteo.de ([185.67.36.65]:55641) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qLNS6-00040E-FY for 64644@debbugs.gnu.org; Mon, 17 Jul 2023 08:35:49 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id B625B240027 for <64644@debbugs.gnu.org>; Mon, 17 Jul 2023 14:35:40 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.org; s=2017; t=1689597340; bh=/FwVU+wl6UEclErsUqyLhcmSKx5TmQfUmHJke/MZ4xY=; h=From:To:Subject:Date:Message-ID:MIME-Version:From; b=La8vajS3XCIAEHzxPf5lvX3hHQ7zp3o4wD63haYIBCmiYa6Wx8kQbrTcUBbltTtrD PYZYtaVsQChWsmq5ZTiZucW5F1xEtjpn5+BpyFnxLsSs2+4VhAbQsPp6sTCHV9Ks1I IUy1UG1fpMpNnfXB8amqMsD/q/vzuIgUfFkjoxek+zFzGj2MovQGza78EB5fJ9Fcm3 nAOPebP4lOJ0Nv+K2qRQQitpNbraUuzym8+bsdCn7u8Ehqca0wRgvR6y0uz3jtQ9Aw 84gjIXuEkee99qNdDQYrDHoZY/BRCm0b+AxkNnNZ18w51ELR7ns9TocmNM8hLrNMSG dWHUK41I6fV6A== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4R4M4X1Mxvz9rxN for <64644@debbugs.gnu.org>; Mon, 17 Jul 2023 14:35:40 +0200 (CEST) From: =?UTF-8?Q?Mois=C3=A9s_?= =?UTF-8?Q?Sim=C3=B3n?= In-Reply-To: <87cz0tedp3.fsf@posteo.org> ("=?UTF-8?Q?Mois=C3=A9s_?= =?UTF-8?Q?Sim=C3=B3n?="'s message of "Sat, 15 Jul 2023 09:17:28 +0000") References: <87cz0tedp3.fsf@posteo.org> Date: Mon, 17 Jul 2023 12:35:39 +0000 Message-ID: <87mszusokk.fsf@posteo.org> MIME-Version: 1.0 Content-Type: text/plain X-Mailman-Approved-At: Mon, 17 Jul 2023 10:26:00 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Spam-Score: 2.65 X-Migadu-Queue-Id: AB23648E5B X-Migadu-Spam-Score: 2.65 X-Migadu-Scanner: mx0.migadu.com X-TUID: eRJQ3gwhwpVq the Emacs commit that broke eshell/tramp on Guix is cee1cbfd54375cdece23d4741ced6b0c7091f6d9 output fo magit bisect follows: --8<---------------cut here---------------start------------->8--- Head: cee1cbfd543 Improve handling of $PATH in Eshell for remote directories Tags: emacs-28.2 (159665), emacs-29.0.90 (4434) cee1cbfd54375cdece23d4741ced6b0c7091f6d9 is the first bad commit commit cee1cbfd54375cdece23d4741ced6b0c7091f6d9 Author: Jim Porter Date: Thu Sep 15 12:24:37 2022 -0700 Improve handling of $PATH in Eshell for remote directories * lisp/eshell/esh-util.el (eshell-path-env, eshell-parse-colon-path): Make obsolete. (eshell-path-env-list): New variable. (eshell-connection-default-profile): New connection-local profile. (eshell-get-path): Reimplement using 'eshell-path-env-list'; add LITERAL-P argument. (eshell-set-path): New function. * lisp/eshell/esh-var.el (eshell-variable-aliases-list): Add entry for $PATH. (eshell-var-initialize): Add 'eshell-path-env-list' to 'eshell-subcommand-bindings'. * lisp/eshell/esh-ext.el (eshell-search-path): Use 'file-name-concat' instead of 'concat'. (eshell/addpath): Use 'eshell-get-path' and 'eshell-set-path'. * lisp/net/tramp-integration.el: Only apply Eshell hooks when 'eshell-path-env-list' is unbound. * test/lisp/eshell/esh-var-tests.el (esh-var-test/path-var/local-directory) (esh-var-test/path-var/remote-directory, esh-var-test/path-var/set) (esh-var-test/path-var/set-locally) (esh-var-test/path-var-preserve-across-hosts): New tests. * test/lisp/eshell/esh-ext-tests.el: New file. * test/lisp/eshell/eshell-tests-helpers.el (with-temp-eshell): Set 'eshell-last-dir-ring-file-name' to nil. (eshell-tests-remote-accessible-p, eshell-last-input) (eshell-last-output): New functions. (eshell-match-output, eshell-match-output--explainer): Use 'eshell-last-input' and 'eshell-last-output'. * doc/misc/eshell.texi (Variables): Document $PATH. * etc/NEWS: Announce this change (bug#57556). doc/misc/eshell.texi | 10 +++++ etc/NEWS | 5 +++ lisp/eshell/esh-ext.el | 23 +++++----- lisp/eshell/esh-util.el | 55 ++++++++++++++++++++--- lisp/eshell/esh-var.el | 12 ++++- lisp/net/tramp-integration.el | 21 ++++----- test/lisp/eshell/esh-ext-tests.el | 76 ++++++++++++++++++++++++++++++++ test/lisp/eshell/esh-var-tests.el | 60 +++++++++++++++++++++++++ test/lisp/eshell/eshell-tests-helpers.el | 32 +++++++++++--- 9 files changed, 257 insertions(+), 37 deletions(-) create mode 100644 test/lisp/eshell/esh-ext-tests.el Bisect Rest (1) cee1cbfd543 * @ Improve handling of $PATH in Eshell for remote directories Bisect Log (20) git bisect start 'emacs-29.0.91' 'd9732425a6b339d83332f265da32fc3802357701' 3aef46e466f bad Merge branch 'emacs-29' of git.sv.gnu.org:/srv/git/emacs into emacs-29 d9732425a6b good Don't create unused file rmail-loaddefs.el git bisect skip 2eb2eb0c9ead205935be58ce9bb54465d48b20c8 2eb2eb0c9ea skip ; * emoji.el (emoji--define-transient): Adapt to recent changes in transient. git bisect skip 8b8038494ce8354a3e2cfffebba40dbd1328ebb9 8b8038494ce skip * src/gnutls.c (Fgnutls_available_p): Avoid duplicating capabilities. git bisect skip abfe41cc2c2932525844d9d1cef83bf877145bf4 abfe41cc2c2 skip Prepare to sumbit to gnu elpa git bisect good 8ec7f8f1699ca1ab4d1e75b369ea231f5802f0e3 8ec7f8f1699 good Update Unicode support to Unicode version 15.0.0 (bug#57846) git bisect skip f35dc7058b22a6c7bca23c6696b815f137427fb0 f35dc7058b2 skip Add sqlite library version string retrieval function (bug#58766) git bisect bad fafcf02c856ef8fd712ff75e8999dfb0f6d97f07 fafcf02c856 bad Fix syntax tables of tree-sitter modes (bug#59807) git bisect bad 8721e87a6ec0874057f83f54498a0e3a64475a53 8721e87a6ec bad ; * etc/ERC-NEWS: Mention move to erc-common.el. git bisect bad e08e9bc40f2c309bf119659a6496759493bd35e1 e08e9bc40f2 bad Remove modifications to the list of ignored files in source packages git bisect good abe83f76de36bc3922b410f9872065fc3903738b abe83f76de3 good Merge from origin/emacs-28 git bisect good 36ab1644964ae5a933bd9808536f60d4ae64c99f 36ab1644964 good Improve error message from sqlite-execute git bisect good b9aff5fdb89092b68ebd7782c8dc85e6daca14b2 b9aff5fdb89 good Fix spurious "Compilation finished" native-comp messages git bisect good 1a5e705dda54b74686cdc31543e4783a1f3337e1 1a5e705dda5 good ; * lisp/vc/vc-cvs.el (vc-cvs-clone): Remove function git bisect skip 86581698acc1a0991592e018c1ba749f3ded21be 86581698acc skip Fix faulty loaddefs detection git bisect bad 254536e41bf5fb62263206edb3c2d734f9cd50ef 254536e41bf bad Regenerated ldefs-boot.el git bisect good 1beb389e472ab8132b478c9f24dd0ab6b7398670 1beb389e472 good ; Remove over-quoting of :application values in connection-local variables git bisect bad 0954689cb3243e3af4b0c12c08bdcad608fd8433 0954689cb32 bad ; Fix some invalid Eshell syntax in an example git bisect good 7c41016fca5ab0638f1e2fed260e2ee41f3400c2 7c41016fca5 good Allow setting the values of variable aliases in Eshell git bisect bad cee1cbfd54375cdece23d4741ced6b0c7091f6d9 cee1cbfd543 bad Improve handling of $PATH in Eshell for remote directories cee1cbfd54375cdece23d4741ced6b0c7091f6d9 is the first bad commit --8<---------------cut here---------------end--------------->8---