From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id uJpPHKLCZ1/HBAAA0tVLHw (envelope-from ) for ; Sun, 20 Sep 2020 20:59:14 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id mKMaGKLCZ1+weQAAbx9fmQ (envelope-from ) for ; Sun, 20 Sep 2020 20:59:14 +0000 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 EA107940239 for ; Sun, 20 Sep 2020 20:59:13 +0000 (UTC) Received: from localhost ([::1]:33344 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kK6QR-0003xO-Mg for larch@yhetil.org; Sun, 20 Sep 2020 16:59:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52954) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kK6QJ-0003x9-3x for guix-patches@gnu.org; Sun, 20 Sep 2020 16:59:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41253) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kK6QI-0007cB-3x for guix-patches@gnu.org; Sun, 20 Sep 2020 16:59:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kK6QI-0005qd-33 for guix-patches@gnu.org; Sun, 20 Sep 2020 16:59:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#43539] [PATCH] gnu: vim: Automatically find vim plugins. Resent-From: Efraim Flashner Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 20 Sep 2020 20:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43539 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ricardo Wurmus Cc: 43539@debbugs.gnu.org X-Debbugs-Original-Cc: guix-patches@gnu.org, 43539@debbugs.gnu.org Received: via spool by 43539-submit@debbugs.gnu.org id=B43539.160063553222454 (code B ref 43539); Sun, 20 Sep 2020 20:59:02 +0000 Received: (at 43539) by debbugs.gnu.org; 20 Sep 2020 20:58:52 +0000 Received: from localhost ([127.0.0.1]:52798 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kK6Q7-0005q6-Q5 for submit@debbugs.gnu.org; Sun, 20 Sep 2020 16:58:52 -0400 Received: from flashner.co.il ([178.62.234.194]:43444) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kK6Q3-0005pc-Ek for 43539@debbugs.gnu.org; Sun, 20 Sep 2020 16:58:50 -0400 Received: from localhost (unknown [31.210.181.177]) by flashner.co.il (Postfix) with ESMTPSA id 75E7D40313; Sun, 20 Sep 2020 20:58:41 +0000 (UTC) Date: Sun, 20 Sep 2020 23:57:58 +0300 From: Efraim Flashner Message-ID: <20200920205758.GD6984@E5400> References: <20200920191523.6871-1-efraim@flashner.co.il> <87bli0tffs.fsf@elephly.net> <20200920193215.GA6984@E5400> <875z88teh7.fsf@elephly.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="tNQTSEo8WG/FKZ8E" Content-Disposition: inline In-Reply-To: <875z88teh7.fsf@elephly.net> X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: -1.11 X-TUID: akBEAUk39Jqh --tNQTSEo8WG/FKZ8E Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Sep 20, 2020 at 09:50:12PM +0200, Ricardo Wurmus wrote: >=20 > Efraim Flashner writes: >=20 > > On Sun, Sep 20, 2020 at 09:29:27PM +0200, Ricardo Wurmus wrote: > >>=20 > >> Efraim Flashner writes: > >>=20 > >> > diff --git a/gnu/packages/aux-files/guix.vim b/gnu/packages/aux-file= s/guix.vim > >> > new file mode 100644 > >> > index 0000000000..ca97f451d8 > >> > --- /dev/null > >> > +++ b/gnu/packages/aux-files/guix.vim > >> > @@ -0,0 +1,7 @@ > >> > +" This appends all of the vim plugins to the end of Vim's runtimepa= th. > >> > +for directory in ["/run/current-system/profile", $HOME . "/.guix-pr= ofile", $GUIX_ENVIRONMENT] > >>=20 > >> How about using $GUIX_PROFILE as well or instead of $HOME/.guix-profil= e? > >> This would allow users to keep a separate profile for Vim things. > > > > That was the one part I didn't really like about my patch. Unfortunately > > I don't seem to have $GUIX_PROFILE set on my machine. > > > > (ins)efraim@E5400 ~$ echo $GUIX_PROFILE > > > > (ins)efraim@E5400 ~$ >=20 > Me neither! But when loading profiles we suggest this approach: >=20 > export GUIX_PROFILE=3D/the/location/of/the/.guix-profile > source $GUIX_PROFILE/etc/profile >=20 > The variable is set in that case, because that affects whether absolute > store file names are used or the symlink > =E2=80=9C/the/location/of/the/.guix-profile=E2=80=9D. It seems to be the case for the default profile. And in Guix System. I could also just add $GUIX_PROFILE as another location in the list of directories to search. --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --tNQTSEo8WG/FKZ8E Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAl9nwlUACgkQQarn3Mo9 g1Ev2Q/8CKDe701tcSRVBT/XgcZywmFDfzVsxFtzXLYiXixwo62I8GaPSe8ha46v E8R3Ewgr/P2sXbOAlj7OS/Am2cGHeYiKgOk8PXkVaxBBxhHH3KkSAE/5962MwBR1 MhZUeIhy9Pkrgh4yihD2lDELFjIer01q+dkieEPeev9/CA9+XxpsoCaByi1UA8b8 nbnkjVbxeEzwKTF2hHWH0EW3xdCMvkJm+CEA4fi9FM4AH5yAQ5iwcvte895PHIF6 +f/aBIq7XppOmS8GCmyRVeX6+eIwpHUraOcuG2Ps0Bq/lxHNVHIZ4IYZtJ9ykU4u GrHfk6r7L2wRK7fOTtyoZPcz2noD8rM6AYICr3oBBVhVOGT1rdMrE2mmWlELUoVU VA9EXP7W4x4pMyHlLXrIiQoqmNwRbK0OtrWsGBhIDm2Qsq7n7aHOOXcXwIXygy/w 2Ky7rxTs7ZE7dwkJO2BxVa7vhp9yo/ENSR70yOzXtceGhqRlNI1odjYQG72DCTUL y7zNsjE9j887yuvvwbubI3gfyg8wuqSXM3RC6inTRtPLv0GYwRm7siJ2qVJdjwut 84c6qAH6YST/N7iPy9r3Twdhz+lOODrXp6ODYpUCQZuGlaHMUsJtU/CoHHYFz8yX QEjoAJnjNS0kwvYXFkmTdvkik9/h0OdHHsXYxvMz+OpXA2R3GBQ= =eDb4 -----END PGP SIGNATURE----- --tNQTSEo8WG/FKZ8E--