From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id IG2qCT6nqWS0bwEASxT56A (envelope-from ) for ; Sat, 08 Jul 2023 20:13:18 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id aHjBCD6nqWTeeAEAG6o9tA (envelope-from ) for ; Sat, 08 Jul 2023 20:13:18 +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 B8AE96DB0 for ; Sat, 8 Jul 2023 20:13:17 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qICQa-0006W0-Pf; Sat, 08 Jul 2023 14:13:04 -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 1qICQZ-0006Vn-Ba for bug-guix@gnu.org; Sat, 08 Jul 2023 14:13: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 1qICQZ-0005Rz-2B for bug-guix@gnu.org; Sat, 08 Jul 2023 14:13:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qICQY-0000ko-Km for bug-guix@gnu.org; Sat, 08 Jul 2023 14:13:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#64534: emacs tramp-remote-path does not include guix home Resent-From: Zacchaeus Scheffer Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 08 Jul 2023 18:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 64534 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 64534@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16888399502809 (code B ref -1); Sat, 08 Jul 2023 18:13:02 +0000 Received: (at submit) by debbugs.gnu.org; 8 Jul 2023 18:12:30 +0000 Received: from localhost ([127.0.0.1]:45171 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qICQ2-0000jF-EH for submit@debbugs.gnu.org; Sat, 08 Jul 2023 14:12:30 -0400 Received: from lists.gnu.org ([209.51.188.17]:34608) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qICQ0-0000j4-KC for submit@debbugs.gnu.org; Sat, 08 Jul 2023 14:12:29 -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 1qICQ0-0006UY-9w for bug-guix@gnu.org; Sat, 08 Jul 2023 14:12:28 -0400 Received: from mail-pf1-x42a.google.com ([2607:f8b0:4864:20::42a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qICPy-0005GT-R9 for bug-guix@gnu.org; Sat, 08 Jul 2023 14:12:28 -0400 Received: by mail-pf1-x42a.google.com with SMTP id d2e1a72fcca58-666ed230c81so2538383b3a.0 for ; Sat, 08 Jul 2023 11:12:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1688839945; x=1691431945; h=mime-version:message-id:date:subject:to:from:from:to:cc:subject :date:message-id:reply-to; bh=T+tIRTCcz2fzEBR9IItjWfLhShcb7O52BOcgJ8G2pPM=; b=anj2qDGn0c38YbK9VhIZ8fN5HE6jWEFDlJ5Lo9QF4F7mJ4Mi/l4Ln2tBvbX5N8VvAV Jr5HfXbKFF8Oe0iYf8aVFmi75AMIoDABo421LlPJ6t8pakMfoD2QbioFm95A/9O1g7ol TF51VtR6EtLch7CKFKgKA0b72xm2Vjdjp39ZO6/dzxqmGzReJps8kcwPbGkW20/rmOiZ Ofjph9KCSEvXrhicLmww7u5g+jpxxaPTEMqCACFzbA4vSCgXHefTGr8ZzH5+hyCsFDNA HdP9oJiRQJC4z3ZvoyM9nXShL6BAFi6M1mYMzE7EbdCUgMNbp8ZBV+aUZMKvtG6+EORw orNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688839945; x=1691431945; h=mime-version:message-id:date:subject:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=T+tIRTCcz2fzEBR9IItjWfLhShcb7O52BOcgJ8G2pPM=; b=Vk25o97QOEPWmlUPIK7x/0kaJzLQ5xsglE54j7lJPYfXFG58/7qaRZtVeahSJd7fEl U3nAfXG/b89g/2L2DuCXOMoOQU97xBaE8BZU45WCwT/Pw/rJXqYGjQrFk8HrlA0DPSja zT+tDqr3ZEg34bcK7iziQANGP5pv+koeVmBje37cVU/2cADM+tLjrbZK2Avrqi+V38ui 5GECyxbZ9ye4AGhgbgGQzK1m1OdNSiiX1R3wfVfMSzrKvBGxJnrk6R6aDRYJXO2OXgF6 RFeSR8U8Z/H0mPfruS8t/XRy6EoAoFHlhKx2ze5Ty1gSKZZOLZx8OLSRgfyYXwAT636n 1t3g== X-Gm-Message-State: ABy/qLZJDwJewYH6QhjL/LnlyGUUIqVaC9Riq2dq2SvvqM5H789Pmcsp 8nFxYlHTyrWrGXmAHonbNxqY7fV8Vc0= X-Google-Smtp-Source: APBJJlGKdQnkMB0JVNXUZX9aZ6gAQ/a1uwnl5l8u7jSE6YbYk+07oT1O/A6uyosh0r4EPK+La8D+fw== X-Received: by 2002:a05:6a00:2e96:b0:67a:b045:e290 with SMTP id fd22-20020a056a002e9600b0067ab045e290mr11386268pfb.4.1688839944654; Sat, 08 Jul 2023 11:12:24 -0700 (PDT) Received: from l5u ([2601:646:8200:1ec0::e818]) by smtp.gmail.com with ESMTPSA id i129-20020a636d87000000b0050fa6546a45sm4626774pgc.6.2023.07.08.11.12.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 08 Jul 2023 11:12:24 -0700 (PDT) From: Zacchaeus Scheffer Date: Sat, 08 Jul 2023 11:12:05 -0700 Message-ID: <87edli2ryi.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::42a; envelope-from=zaccysc@gmail.com; helo=mail-pf1-x42a.google.com 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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: 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-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1688839997; a=rsa-sha256; cv=none; b=E3kKFI+bVrC9h2kFbYToYROUEPSzAIt7Z9hCxLOkfL8RMfqBVc8QjlY2f9uSwQLPPPWC3V ng+2H/Us2RyPdWlOqTbijUpViLx0TAFVQRuyPeF2ndEpPz2WsepppkDTHNc+6EIJ/ZOWw6 LTGtCKE5QEW4H5y62SSk0wTR8vib3KQPl55bKg76cF16Wbvx0qy27x193bHVxPn291toAl VtBk4m3BJHtF10cQT4qwu393IW8JNz4YVGTw6emOUvzFE7CH9NUp1POw9/TvzpLqa7UveU chqklzfMATt7pQmbj36IqbulsiOsgZLdULINwtY8JFmHx16WOhlPFu2re4S/aw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=anj2qDGn; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1688839997; 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:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=T+tIRTCcz2fzEBR9IItjWfLhShcb7O52BOcgJ8G2pPM=; b=tjrioECmCbr27pnwLJKqe2r0MVSnhsMu5yf0in8UXLOAYqJSN5fNnyhHxA0JYyT1iCXaen tNmJRBtvkqiLfQ72SH3iQqH32f8Gj7DKpIAgeiTr89vqgmlDuycY2dmlYjFD8bnNcEObeL EToMjhGuUIH4LYHw6YU6awrXDdCrlIb6OrY9lqXrdzPhDtRtR3RbcjjH3+y3IuucLIJQai 1lfNZD6zdz2ttrk/WT5px+cienqWGxllFnOmedS9YBNZDygV634toyWFEnt7f0pvubLEoG mqJ4PNt7Tcu0WSnIz7GE2Y1YnkAoKrK3RPommIHjpAYyniYImk8SOCi7gYWMVw== Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=anj2qDGn; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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" X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -2.38 X-Spam-Score: -2.38 X-Migadu-Queue-Id: B8AE96DB0 X-TUID: RSitnuA6QT5g Hi Guix! I noticed that the emacs package has the following value for tramp-remote-path out of the box: (tramp-default-remote-path "~/.guix-profile/bin" "~/.guix-profile/sbin" "/run/current-system/profile/bin" "/run/current-system/profile/sbin" "/bin" "/usr/bin" "/sbin" "/usr/sbin" "/usr/local/bin" ...) This does not seem to include guix home bin dirs. Indeed, when I connect to my remote machine via tramp, and try to run "git", I get: git: command not found This can be fixed by evaluating: (setq tramp-remote-path (-cons* "~/.guix-home/profile/bin" "~/.guix-home/profile/sbin" tramp-remote-path)) (tramp-cleanup-all-connections) In which case, running "git" in a remote shell gives the expected git help message. Is there a reason guix home bin dirs are omitted? -Zacchae