From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:47429) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1izSJ9-0005c8-Mq for guix-patches@gnu.org; Wed, 05 Feb 2020 16:34:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1izSJ8-0006RF-Ge for guix-patches@gnu.org; Wed, 05 Feb 2020 16:34:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:40913) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1izSJ8-0006Qo-Bu for guix-patches@gnu.org; Wed, 05 Feb 2020 16:34:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1izSJ8-0000Vs-7d for guix-patches@gnu.org; Wed, 05 Feb 2020 16:34:02 -0500 Subject: [bug#39384] [PATCH] gnu: Add emacs-rg. Resent-Message-ID: From: Marius Bakke In-Reply-To: <87mu9xspd0.fsf@lafreniere.xyz> References: <87v9oqrr0q.fsf@lafreniere.xyz> <878slmc640.fsf@nicolasgoaziou.fr> <87pnexrrwf.fsf@lafreniere.xyz> <20200202184757.GH9517@E5400> <87o8ugs5fu.fsf@lafreniere.xyz> <20200204095851.GA19864@E5400> <87mu9xspd0.fsf@lafreniere.xyz> Date: Wed, 05 Feb 2020 22:33:26 +0100 Message-ID: <87lfpg4t3t.fsf@devup.no> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: "LaFreniere, Joseph" , Efraim Flashner Cc: 39384@debbugs.gnu.org, Nicolas Goaziou --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable "LaFreniere\, Joseph" writes: > Efraim Flashner writes: >> We want to have ripgrep as a regular input, so at the point in=20 >> the code >> where it searches through PATH for the rg binary we patch it to=20 >> refer to >> the specific binary. One example of this is in (gnu packages=20 >> emacs-xyz), >> with emacs-nov-el. > > Ah, I see what you mean now. But wouldn't hard-coding the path to=20 > ripgrep in that way prevent the package from being able to use=20 > remote systems' ripgrep binaries when running over TRAMP? Perhaps we could patch it to do both? Use the store prefix if it exists, and fall back to searching in PATH? --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl47NKcACgkQoqBt8qM6 VPrJmgf/cDeRvpBwGA2GkAreu4xBplIl8OfUJrfuKgJyh6fpK7rC7Za3bP9oR+Lm QHcYeWbBq91ibqVSFLeHt/81GfkCfpCN/A02HVMM405zKCyhM0Y2BgMNVkAfnbKu 5tpLVh4WcQ13BxZ3FJdS3E1B5n3HP9zrBpkTSJxzeKcSAV2+nOKyHlmlB95Pjm5I xKSuNEqGhJtCtgMUWGGvY63pyP9BgcM93lNUjVwp3sG+JeaouN9GBJIHOmyq2xc3 HLq0gNvYnw7aHec8PKTgDypHDDK1GC/4qI+zpcI6Q6mFVAZ/4lCHhUCm9GqT6A30 pLzQpcyKa86bg5wlhYmIZUSDe1XNSg== =9YYu -----END PGP SIGNATURE----- --=-=-=--