From debbugs-submit-bounces@debbugs.gnu.org Fri May 07 15:20:24 2021 Received: (at 48223) by debbugs.gnu.org; 7 May 2021 19:20:24 +0000 Received: from localhost ([127.0.0.1]:45511 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lf61M-0002CB-52 for submit@debbugs.gnu.org; Fri, 07 May 2021 15:20:24 -0400 Received: from eggs.gnu.org ([209.51.188.92]:58780) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lf61I-0002Bz-UF for 48223@debbugs.gnu.org; Fri, 07 May 2021 15:20:19 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:49110) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lf61C-0004lM-FD; Fri, 07 May 2021 15:20:10 -0400 Received: from [2001:980:1b4f:1:42d2:832d:bb59:862] (port=33184 helo=dundal.janneke.lilypond.org) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lf613-0000Qk-KQ; Fri, 07 May 2021 15:20:01 -0400 From: janneke@gnu.org To: Leo Prikler Subject: Re: bug#48223: EXWM knows nothing about Guix profiles In-Reply-To: <42353788fa03581cdb87da7d1fdea1c8cf0a0682.camel@student.tugraz.at> (Leo Prikler's message of "Tue, 04 May 2021 13:37:18 +0200") Date: Fri, 07 May 2021 21:15:17 +0200 Message-ID: <875yzuwe2i.fsf@gnu.org> References: <42353788fa03581cdb87da7d1fdea1c8cf0a0682.camel@student.tugraz.at> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 48223 Cc: 48223@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Leo Prikler writes: Hello Leo, > I just recently helped someone debug an issue they encountered when > using EXWM. It turned out their EMACSLOADPATH was set to > "/run/current-system/profile/share/emacs/site- > lisp:/gnu/store/1zszglsxl4zxy9alcwxjwj26d30qmyv9-emacs- > 27.2/share/emacs/27.2/lisp" =E2=80=93 quite notably, "$HOME/share/emacs/s= ite- > lisp" was missing. Wow, I just hit this problem too. Your message helped me finding the problem right away. My system which includes EXWM was still at emacs-27.1, while I upgraded my profile to emacs-27.2. > I think the launcher that we install in the install-xsession does not > do sufficient work to set up the environment variables of the session > appropriately. In particular, I think it should source /etc/profile > prior to running Emacs. > > WDYT? I think this is a very good idea. Greetings, Janneke --=20 Jan Nieuwenhuizen | GNU LilyPond http://lilypond.org Freelance IT http://JoyofSource.com | Avatar=C2=AE http://AvatarAcademy.com