From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id 6GMROUTbHGXcTQAAauVa8A:P1 (envelope-from ) for ; Wed, 04 Oct 2023 05:25:57 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 6GMROUTbHGXcTQAAauVa8A (envelope-from ) for ; Wed, 04 Oct 2023 05:25:57 +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 AB04038A87 for ; Wed, 4 Oct 2023 05:25:56 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=Ycf9Gi2h; 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 (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1696389956; 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-to: 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=fSWe+sGOCH91PTWzkguk82YOXH0h/gN+IcGb2PlTQio=; b=fjRlVjcoUMiUYL3mfqTo+fdlwlPTrC0BY8ADQQdz9SrzialPkQjvwA72IRfXVT2sAhxA2A 3EoEaV+99w/LyuZzDqGoxlOuho7MPSTWuyKzsmwAIgTxWkBzxSxmN7qOxJff/PxQ/Q9/UQ j64SRQfLxjYqSrHcFqB+4JGBVgKNkIx2hyX/iANn+CA3SpwrlM0pRgU4+22aK+8MqZTbpi 2t0nXP5ENSmajs6fw1nUqGRJr3T3qGWk/SEtcRdaKgeHIxsp9wG5dW/Cmt7IHvRAkLj6jB mAfbIngIIHt8yU9vbzmykBB+WbUo6yHPTY0eqvd31nHFnfCfLT0gvwNQCUWcQg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=Ycf9Gi2h; 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 (relaxed)" header.from=gmail.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1696389956; a=rsa-sha256; cv=none; b=fIuGjVBdcTzi7FQIGR/ljoQ+FYBQdyMtQqepYHe2v1v2Qo9dFmmiwJoaniI2Sp4xAHwLLH IveJgO0NOuVZdMvtc1D9yU8hx9oUPyJJFcK7EHTdd1ya7Tr0AwJN2gJI4DbclgvyA2s2nu GAF4jRSInYiijtZa8mRQkQERlzSnXFiLgjv8p24shg3X3lN4pS6E25wvjP4gBvev1v+4Bj y7okSYjfPci6B1xjE8G6yvD0bTIq7+g69QJyyIEGiO+sFzqCYK0iXOakz6f8isHtWeiDs3 BLukjjuwMED18o7aRTKw/M+qnLsrKnqea9ffGmlGHU7gFYb6NGGafdhcH7y0zw== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qnsWB-0001pM-Ow; Tue, 03 Oct 2023 23:25:47 -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 1qnsW9-0001oU-UI for bug-guix@gnu.org; Tue, 03 Oct 2023 23:25:45 -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 1qnsW8-0000ur-MG for bug-guix@gnu.org; Tue, 03 Oct 2023 23:25:44 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qnsWP-0004CY-Uo for bug-guix@gnu.org; Tue, 03 Oct 2023 23:26:01 -0400 Subject: bug#51460: emacs-magit: path error during commit Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Date: Wed, 04 Oct 2023 03:26:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 51460 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Christopher Howard Cc: 51460-done@debbugs.gnu.org Mail-Followup-To: 51460@debbugs.gnu.org, maxim.cournoyer@gmail.com, christopher@librehacker.com Received: via spool by 51460-done@debbugs.gnu.org id=D51460.169638990516064 (code D ref 51460); Wed, 04 Oct 2023 03:26:01 +0000 Received: (at 51460-done) by debbugs.gnu.org; 4 Oct 2023 03:25:05 +0000 Received: from localhost ([127.0.0.1]:41105 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qnsVV-0004B1-3l for submit@debbugs.gnu.org; Tue, 03 Oct 2023 23:25:05 -0400 Received: from mail-qv1-xf29.google.com ([2607:f8b0:4864:20::f29]:54423) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qnsVS-0004AS-9K for 51460-done@debbugs.gnu.org; Tue, 03 Oct 2023 23:25:03 -0400 Received: by mail-qv1-xf29.google.com with SMTP id 6a1803df08f44-65b0dad1f98so10648886d6.0 for <51460-done@debbugs.gnu.org>; Tue, 03 Oct 2023 20:24:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696389879; x=1696994679; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to; bh=fSWe+sGOCH91PTWzkguk82YOXH0h/gN+IcGb2PlTQio=; b=Ycf9Gi2hKAXyv/PZXCrz5po0mzPy1HF9kG4ImT85IgR8R96QqH8MEtCXJQBwzyE5Zf Uaya6h68iBhUXdMC8LOeifkCRc8yy7KtYHo1onQwTNgQjq787Co/Tz1k5dA98O4p1krE t7O2xHaYvqaMLhFKP3J9hURpObgs3AGqP8bEn4NSa7nGgzHuFZSC7Yt1rAKOfHeN4XiA 9jftEhXogYmTEOLMOjaMPNyOUEABdoSkl28wKL0VnePeYSjYVO+zUIZhSK+5Yr6ECiWJ 6c0exdszYBp/SVPNHY8gdGtL0AEUd26pY/PfZWk/0rP6cII+Gi1JkK/36GvJq9neezo6 hs8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696389879; x=1696994679; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=fSWe+sGOCH91PTWzkguk82YOXH0h/gN+IcGb2PlTQio=; b=HIPfPFgkL9odMc2CPWaYvbGk4uEj5/gTR/NHGnufAsiQrdoij1MkHtV6LDmJ7l0Tt+ AYJa2VH+peY9dZ0jJsxLio/9w9ev5RcSoPs6kABJTsJvSiNfmCkce/gaYpoRgJO8OlCk nsaizY7Zk3YNkLS1ZeUfc1KUi689rc/pj9gvye45LcWEHQlZmRuNx7mDZPcOxGQje7wv OpyW8VOCmYlsvU884zqbAW059l7LJ9P08S1W7DNhrhEjxeWaqir9BA8haGu0i8yUE19d TpaPv04YFV2GLcxx9G9k7SQUlcglXhMY6rq8YF9VwIN8wwEXZL62Xcgp8wT8Diulv+hL j2MA== X-Gm-Message-State: AOJu0YzFyc/anBzohARcXeSq6CBTJylijfTbbvfWEq4vPTA/YdAcVrZG 3waAJGPxtk9y0j0qzTpaOmAysWSN7FCwUA== X-Google-Smtp-Source: AGHT+IH/sFD1RMhOSv/1UvmJF6GScAv5yD6TIdbJbEhrFZn0zr9Awi+pFg4JA8ysXIgfgSDWimiVaA== X-Received: by 2002:a0c:d641:0:b0:663:95d0:a50b with SMTP id e1-20020a0cd641000000b0066395d0a50bmr1099690qvj.30.1696389878831; Tue, 03 Oct 2023 20:24:38 -0700 (PDT) Received: from hurd (dsl-141-24.b2b2c.ca. [66.158.141.24]) by smtp.gmail.com with ESMTPSA id g19-20020a0caad3000000b0065afa589bbdsm1004686qvb.66.2023.10.03.20.24.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Oct 2023 20:24:38 -0700 (PDT) From: Maxim Cournoyer References: <068232bf9c2157d6b8636615b361398cac4470c1.camel@librehacker.com> <871quq8l4y.fsf@gmail.com> Date: Tue, 03 Oct 2023 23:24:37 -0400 In-Reply-To: <871quq8l4y.fsf@gmail.com> (Maxim Cournoyer's message of "Tue, 12 Jul 2022 10:23:57 -0400") Message-ID: <871qeb3w96.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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-Migadu-Spam-Score: -5.09 X-Migadu-Scanner: mx2.migadu.com X-Migadu-Queue-Id: AB04038A87 X-Spam-Score: -5.09 X-TUID: DdP/oxiZOsFZ Hi, Maxim Cournoyer writes: > Hi Christopher, > > Christopher Howard writes: > >> Hello, for a long time I've struggled with getting a path error when I >> try to do a commit using emacs-magit. Here is an example log copied from >> the magit-process buffer: >> >> ``` >> 0 git =E2=80=A6 add -u -- Genesis/gen_1.org >> 1 git =E2=80=A6 commit -- >> hint: Waiting for your editor to close the file... >> Waiting for Emacs... >> *ERROR*: Searching for program: No such file or directory, git >> error: There was a problem with the editor >> '/gnu/store/dpky3z5844bclhswdk69z90vayy65b58-emacs-27.2/bin/emacsclient >> --socket-name=3D/run/user/1000/emacs/server'. >> Please supply the message using either -m or -F option. >> ``` > > One thing I can think about is that emacs-magit doesn't refer to git > directly: > > $ guix gc -R /gnu/store/xd1bvmac1p4gjxb90m875r15xna52jyr-emacs-magit-3.3.0 > /gnu/store/720rj90bch716isd8z7lcwrnvz28ap4y-bash-static-5.1.8 > /gnu/store/vqdsrvs9jbn0ix2a58s99jwkh74124y5-coreutils-minimal-8.32 > /gnu/store/5h2w4qi9hk1qzzgi1w83220ydslinr4s-glibc-2.33 > /gnu/store/4y5m9lb8k3qkb1y9m02sw9w9a6hacd16-bash-minimal-5.1.8 > /gnu/store/094bbaq6glba86h1d4cj16xhdi6fk2jl-gcc-10.3.0-lib > /gnu/store/hy6abswwv4d89zp464fw52z65fkzr7h5-perl-5.34.0 > /gnu/store/xd1bvmac1p4gjxb90m875r15xna52jyr-emacs-magit-3.3.0 > > So it needs to be on your PATH. For me, the value returned by 'C-h v > magit-git-executable' is "git". One thing we could do is patch the > default value of this Elisp variable in our emacs-magit package to git, > so that users wouldn't need installing git manually. Commit b59b033af3957e0de9a44733e26cbcc7114a4dfb ("gnu: emacs-magit: Substitute git executable path.") should prevent such a situation from occurring. --=20 Thanks, Maxim