From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id zEohM1SyZ185XwAA0tVLHw (envelope-from ) for ; Sun, 20 Sep 2020 19:49:40 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 0EaXLlSyZ1/4OgAA1q6Kng (envelope-from ) for ; Sun, 20 Sep 2020 19:49:40 +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 B8F379402A7 for ; Sun, 20 Sep 2020 19:49:39 +0000 (UTC) Received: from localhost ([::1]:53588 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kK5L8-0001FH-JE for larch@yhetil.org; Sun, 20 Sep 2020 15:49:38 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41100) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kK5KY-0001F7-FK for guix-patches@gnu.org; Sun, 20 Sep 2020 15:49:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41175) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kK5KY-0007bK-4a for guix-patches@gnu.org; Sun, 20 Sep 2020 15:49:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kK5KY-00021q-3Z for guix-patches@gnu.org; Sun, 20 Sep 2020 15:49:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#43539] [PATCH] gnu: vim: Automatically find vim plugins. Resent-From: Ricardo Wurmus Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 20 Sep 2020 19:49: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: Efraim Flashner 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.16006313417795 (code B ref 43539); Sun, 20 Sep 2020 19:49:02 +0000 Received: (at 43539) by debbugs.gnu.org; 20 Sep 2020 19:49:01 +0000 Received: from localhost ([127.0.0.1]:52721 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kK5KX-00021b-7w for submit@debbugs.gnu.org; Sun, 20 Sep 2020 15:49:01 -0400 Received: from sender4-of-o51.zoho.com ([136.143.188.51]:21145) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kK5KV-00021S-AJ for 43539@debbugs.gnu.org; Sun, 20 Sep 2020 15:48:59 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1600631332; cv=none; d=zohomail.com; s=zohoarc; b=hZzv+bzckPpCX8kGPHYio6q6KRn4HiMqP580fdIc4ot/UsDR5tT14dtuhPSnazDJYVm6kpQZYKBwMu3CA4mshQ63TI9xG0wlJiQZhw/SPGZ93SELNDkIOm+63Cka5xVkZFgSkiv3luZfnOj2d3QgLV3oseAYTNznrFly2OqLUCc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1600631332; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=m7tlNZ08SEGqF9vNESwTJjBzvesqsWQYhK4n1enKNx8=; b=EBBY4wPT80HsxyzO+xAyzyHtNqnnDxEKP9y7Cc9r63/WavQbNp2PbBMfOJ2EdI83hQ25y4vE+OOm/6ITdtU4fJYKBvj74vLpYgq8cA6xqu9D8imu2hi9euduIsw78EO+lrg013av7Bd8YW9IwCXVugMPWN//MjhHaf73wDld3Hg= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1600631332; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:To:Cc:Subject:In-reply-to:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; bh=m7tlNZ08SEGqF9vNESwTJjBzvesqsWQYhK4n1enKNx8=; b=HdofUpyk+Fo1bEPu5vIA1DE+Ewmn4mLvfvJ4m6WfmHvnBfz3GxO47BOC/PgQz178 dV/rcZC7Gvi1WMA8sR8LY2wYV/YbsQxhvyAYpAww9qecJFfBiMaTZyBp2aiBreiKb4g GT8YMm1amq9G0rJMViZThm2sXZ6Si1XX6nAP4DDE= Received: from localhost (p54ad419e.dip0.t-ipconnect.de [84.173.65.158]) by mx.zohomail.com with SMTPS id 1600631329795541.4628580624499; Sun, 20 Sep 2020 12:48:49 -0700 (PDT) References: <20200920191523.6871-1-efraim@flashner.co.il> <87bli0tffs.fsf@elephly.net> <20200920193215.GA6984@E5400> User-agent: mu4e 1.4.13; emacs 27.1 From: Ricardo Wurmus In-reply-to: <20200920193215.GA6984@E5400> X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Sun, 20 Sep 2020 21:50:12 +0200 Message-ID: <875z88teh7.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External 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=fail (rsa verify failed) header.d=elephly.net header.s=zoho header.b=HdofUpyk; 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.99 X-TUID: eMf0qvzT2eBX Efraim Flashner writes: > 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-files/= 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 runtimepath. >> > +for directory in ["/run/current-system/profile", $HOME . "/.guix-prof= ile", $GUIX_ENVIRONMENT] >>=20 >> How about using $GUIX_PROFILE as well or instead of $HOME/.guix-profile? >> 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 ~$ Me neither! But when loading profiles we suggest this approach: export GUIX_PROFILE=3D/the/location/of/the/.guix-profile source $GUIX_PROFILE/etc/profile 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. --=20 Ricardo