From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id qHseHYTQ2GLTWAAAbAwnHQ (envelope-from ) for ; Thu, 21 Jul 2022 06:05:24 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id mKgQHYTQ2GIKsgAA9RJhRA (envelope-from ) for ; Thu, 21 Jul 2022 06:05:24 +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 27443318C9 for ; Thu, 21 Jul 2022 06:05:24 +0200 (CEST) Received: from localhost ([::1]:34896 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oENRD-0004FA-8E for larch@yhetil.org; Thu, 21 Jul 2022 00:05:23 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59220) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oENQs-0004D3-CC for bug-guix@gnu.org; Thu, 21 Jul 2022 00:05:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:46645) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oENQs-00008K-2f for bug-guix@gnu.org; Thu, 21 Jul 2022 00:05:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oENQr-0000m0-Tp for bug-guix@gnu.org; Thu, 21 Jul 2022 00:05:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#30434: magit =?UTF-8?Q?won=E2=80=99t?= work over TRAMP Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 21 Jul 2022 04:05:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30434 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Maxime Devos Cc: 30434@debbugs.gnu.org Received: via spool by 30434-submit@debbugs.gnu.org id=B30434.16583762602914 (code B ref 30434); Thu, 21 Jul 2022 04:05:01 +0000 Received: (at 30434) by debbugs.gnu.org; 21 Jul 2022 04:04:20 +0000 Received: from localhost ([127.0.0.1]:36392 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oENQB-0000kw-UO for submit@debbugs.gnu.org; Thu, 21 Jul 2022 00:04:20 -0400 Received: from mail-qk1-f174.google.com ([209.85.222.174]:42974) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oENQ5-0000kd-Rg for 30434@debbugs.gnu.org; Thu, 21 Jul 2022 00:04:18 -0400 Received: by mail-qk1-f174.google.com with SMTP id o1so476495qkg.9 for <30434@debbugs.gnu.org>; Wed, 20 Jul 2022 21:04:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=XCCwsV5Upik5EIaSGommEmVaJtN3ZP4oSfjI1u1PkL4=; b=C/6i+SMjAQmAGXcbrs7SIn91vjzrmthdJksDMfboOGL94/fdoQCS/kKE31WcN0HsK2 N2JLfZDV1PVkUhM60j5I/dy6PQlt0kFq3MZ/z/Io9ww1rQGLqx9ZNkccXQcb7npsQ6IN a3CRszFiLAtyn5U0MKvlsBZVGOPFIPLj1YzcxL2VGLgUYfBrqOQJEmYFyX2QhwsokX1n yC69lKTObALoxXmKkeFyuZMjVV36ch9H38ZyZQTDlIQkstSm+dD5TUBB9mpMU28Z5snK nyob73A9hkmmCYmdM6YGBP99MkOGyspgsRrMNaCI1lF8otCXM2j/dUGwog06PCTytSeU AeQg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=XCCwsV5Upik5EIaSGommEmVaJtN3ZP4oSfjI1u1PkL4=; b=pfANFOOLa1QP6b1+mPnMRrpeZhc8cJEqtpw1Jq8wvYgw0vPXqTiCxO8rwXA5G1XGXH hcLwQawQ6dnkcqOpyXSApUO0108ViEq2imKmNbappFyY9Yi0v/wsIvP8Qop/w7LxjZ6X aYuK6v/19B2qy9WdcKi4ymFkcM+tCV/G7eOC+439eIHR38BZyawybrHiy3wCuvYwNrqY QlI2v7kAhRamD1esoNEAqMRcb9/GdlqBU7IjdU8aHYUfd2PvpcjZEf2UPZU3D3BjrwMS 4LGF8oQssmmusA/9ZR9PTp5+Q1s1F4s5vywzPIF0bObGiKy0gIljbkSIPPANQw0y9d4O JFug== X-Gm-Message-State: AJIora9mNrNwsgrqBPMW8emf4IsaVK252TCKvZqWc4jMzMjVwQ+drcjf b086Zn7dPohgYYs/M4sU1EupLzSOQVI= X-Google-Smtp-Source: AGRyM1snvssIgNWr4AhGYTm6dnb8I82f8Y63d06Ijkd+9ksA9xmIlItxIDYJvzFHRTaz94uVy8czCw== X-Received: by 2002:a05:620a:2681:b0:6b5:b60c:1e66 with SMTP id c1-20020a05620a268100b006b5b60c1e66mr26900157qkp.99.1658376247889; Wed, 20 Jul 2022 21:04:07 -0700 (PDT) Received: from hurd (dsl-10-148-92.b2b2c.ca. [72.10.148.92]) by smtp.gmail.com with ESMTPSA id k21-20020a05620a415500b006b5ed1eccc5sm817852qko.44.2022.07.20.21.04.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Jul 2022 21:04:07 -0700 (PDT) From: Maxim Cournoyer References: <365299e60040c03a84cbb7770adb3f94349dd2ed.camel@telenet.be> <87lgfyl67x.fsf@elephly.net> <77826704875d168a2f7c608e146d9d5b09e7588c.camel@telenet.be> <87zghd18du.fsf_-_@gmail.com> Date: Thu, 21 Jul 2022 00:04:06 -0400 In-Reply-To: (Maxime Devos's message of "Wed, 20 Jul 2022 17:42:51 +0200") Message-ID: <87v8rrqfgp.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain 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" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1658376324; 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: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=XCCwsV5Upik5EIaSGommEmVaJtN3ZP4oSfjI1u1PkL4=; b=aw6Qp0A02Nbjz2XdQJnfjAi0fY7olWv7KwjmoMWOpgzMi3pXRW/VlfNuJjitMPh2yIaqAf up0H7iTcRynjyDPA9rck2CZYjVNHz46J7LVuAx6pAOXoIFwzFQsaouZcCMMEg5hck+LlGz RaO05J0JRDrQqF5ECr5a1XWdTbE7b5gu0n+SHgRK2jMHyJoH0SsCFbFSJZwPdFPFQTUTcl zNf17zcA7K77TUrah5XvOsNqDb4G0LXvgpPXe8Wp16bvbHIUkqCBqLdfCmHRM+OY9imJZt fj88VvCeQUFMXEPZeTK1c1z/JvB+cW1lky4JhnDl8WLCH0heu/siH6D7bzun+g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1658376324; a=rsa-sha256; cv=none; b=QkQEI9R9kl4eUcmrBQr8T9tP5LUD3yyoBrjJLof6f2qhsDlDMKLq+sHphQjY3DtCn56kpi eORrRJ8yinf2fDeHF14RmcSQ4WBvvc0f34wSMFdFGFSv/2cK5vYkY93B063MLggnhqr431 h8pfVyYcjcWzOfT8fZ7JulXgkpd04WmgK/2NKnE/4Hw0itdX63B/F73S5/MZNNSGyxtDw/ cYkSw70FDIjA1Hnld7JKilSRuc19dmAV2lGwhhNZ5IyKSPuPdea3Wlui82p0AzBnVlN5xS xuMp/TZ5Fb//Ojvn8QZU8GluohBE/U38FhHnpjx49BwiWVEN3vkO75cHyWw0yw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b="C/6i+SMj"; 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-Spam-Score: 4.97 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b="C/6i+SMj"; 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-Queue-Id: 27443318C9 X-Spam-Score: 4.97 X-Migadu-Scanner: scn0.migadu.com X-TUID: 39AusA9DXvMN Hi Maxime, Maxime Devos writes: [...] >> Nowadays 'magit' has a separate magit-git-executable: >> >> "The Git executable used by Magit on the local host. >> On remote machines `magit-remote-git-executable' is used instead." >> >> and magit-remote-git-executable: >> >> (defcustom magit-remote-git-executable "git" >> "The Git executable used by Magit on remote machines. >> On the local host `magit-git-executable' is used instead. >> Consider customizing `tramp-remote-path' instead of this >> option." >> >> so maybe this patch can now be reversed, such that emacs-magit >> can be used without depending on the (possibly non-existent) 'git' in >> $PATH? Needs to be verified though. > > More concretely, try "guix shell emacs emacs-magit --pure -- emacs" > followed by "M-x magit-status" in a Git checkout, it will fail due to > not finding the 'git' executable. > > So my idea is to use the new magit changes to both make the remote > TRAMP work and _also_ make local things work in a pure environment, > undoing the regression that was caused by reverting the > git->/gnu/store/.../bin/git substitution without creating new > regressions. Sounds good to me! I'll be happy to review any patch implementing it. Maxim