From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id KOK4HndZlmBPWAAAgWs5BA (envelope-from ) for ; Sat, 08 May 2021 11:27:19 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id ECB0GndZlmDrGAAA1q6Kng (envelope-from ) for ; Sat, 08 May 2021 09:27:19 +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 C08A52EDDC for ; Sat, 8 May 2021 11:27:18 +0200 (CEST) Received: from localhost ([::1]:51792 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lfJEy-0004g3-40 for larch@yhetil.org; Sat, 08 May 2021 05:27:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47872) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lfJEl-0004eL-7a for bug-guix@gnu.org; Sat, 08 May 2021 05:27:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:37522) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lfJEk-0002a9-69 for bug-guix@gnu.org; Sat, 08 May 2021 05:27:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lfJEk-0002Og-39 for bug-guix@gnu.org; Sat, 08 May 2021 05:27:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#48223: EXWM knows nothing about Guix profiles Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 08 May 2021 09:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48223 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Jan Nieuwenhuizen Received: via spool by 48223-submit@debbugs.gnu.org id=B48223.16204659959205 (code B ref 48223); Sat, 08 May 2021 09:27:02 +0000 Received: (at 48223) by debbugs.gnu.org; 8 May 2021 09:26:35 +0000 Received: from localhost ([127.0.0.1]:49067 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lfJEJ-0002OP-5a for submit@debbugs.gnu.org; Sat, 08 May 2021 05:26:35 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:52419) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lfJEG-0002OJ-TD for 48223@debbugs.gnu.org; Sat, 08 May 2021 05:26:34 -0400 Received: from [10.0.0.4] (91-114-247-246.adsl.highway.telekom.at [91.114.247.246]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4FchlT1Zdfz3xnR; Sat, 8 May 2021 11:26:28 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1620465989; bh=1UlCcNVam5D/7ofHsts7OjBskuswC+BEiV0bC6M98G0=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=UnxwGE5GX9HdFpG9gVaGUHx3aQgJDe+8j3iXFIoJRTtFCpcX93DJFR2hKSdv2t9Oc VCOrgul5r2eRFpEoidVCAtFNeQxQ/vWmSxp8OI3U9iYfyz17l+rbQEjIegDcgMfhR2 E4UwT7bY6oy1ofNXsQ4IuwZbsScj4Tm/RDROc+64= Message-ID: <4112dadd777b8e2eb86d7b871b35971a4666619e.camel@student.tugraz.at> From: Leo Prikler Date: Sat, 08 May 2021 11:26:03 +0200 In-Reply-To: <875yzt7geo.fsf@gnu.org> References: <42353788fa03581cdb87da7d1fdea1c8cf0a0682.camel@student.tugraz.at> <875yzuwe2i.fsf@gnu.org> <875yzt7geo.fsf@gnu.org> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Spam-Scanner: SpamAssassin 3.003001 X-Spam-Score-relay: -1.9 X-Scanned-By: MIMEDefang 2.74 on 129.27.10.117 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: , Cc: 48223@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1620466039; 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-cc: 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=1UlCcNVam5D/7ofHsts7OjBskuswC+BEiV0bC6M98G0=; b=p+xcL2Pah9rLdfTImvKgCxuD2IyeWF7o35K+sDtC53MnjPYU9b9ZLkVYnCxMgM6Nssi5tA rZfcEHJUdH38v2cz3LI/X4/fTMLcCiaZjyHzIaD3kP6SeHfIHaRqN5KUV4nGT62UQfTy2T tMSKXxDTOydoY+8nnbT/JOxgcWMc7+ijqrYIhn1BeR6bu3lUBpyJIldtW7HA0CRDw6hdvK ckgO509TxFKx43vx2l9fQCTS19CBhTONK3lw1LOAFHzZyq2cUPniXRa1SHLHbH2BILKqPT 63siCc94on/CBJ9+9FWqZqpGv2WzWlQQEmOrC/tTvUWil3jAAlMlMlB4AEg/hQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1620466039; a=rsa-sha256; cv=none; b=EoFc6FZsTfcAjnG4tEWV4jCpGIfwScKmSzvsPmsg+utceUdQHe3xWKtQWUqOYQ9hG2nYEe HhO0nqeV+Vy6ZsgwA7W4WUxrD47MM7umw7kDYt21KDb/iQUxU6x/jyM8XD8g3+06oYoEWU BnuAdOwiX7P+KpCTXPwow579TczsH0FA1qlFEopSAviPz7Es+Op/+tdozlP1sy5eXBX3a5 e/7DlKoNGfKFyLrvbC3ZsYubst5Cy2YdRSx3VqYRUnow2HxzoQoJxo6yoc2yuhqTdxavD3 RKGxKqhq/P2gMBg6u+Cm5peYTMdTb0BCKKVyzqoZaxQuUg+0tQCn1LDGfer6Mw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tugraz.at header.s=mailrelay header.b=UnxwGE5G; dmarc=fail reason="SPF not aligned (relaxed)" header.from=student.tugraz.at (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: -1.35 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tugraz.at header.s=mailrelay header.b=UnxwGE5G; dmarc=fail reason="SPF not aligned (relaxed)" header.from=student.tugraz.at (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: C08A52EDDC X-Spam-Score: -1.35 X-Migadu-Scanner: scn0.migadu.com X-TUID: 07EFe0Xy1kBt Hi, Am Samstag, den 08.05.2021, 10:56 +0200 schrieb Jan Nieuwenhuizen: > > Leo Prikler writes: > > Hello again, > > > > 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. > > To follow-up on this: at first glance sourcing /etc/profile seemed to > fix my problem. However, I am calling some scripts from Emacs that > need > my ~/.bash_profile to be sourced too. I don't think sourcing ~/.bash_profile will be portable. As a zsh user, I'm putting stuff in .zprofile instead, so all my hacks will be obsoleted if we start mandating bash_profile. The "portable" alternative, that is $HOME/.profile does not exist in our current skeletons. Putting this aside, I think it'd also be possible to duplicate whatever settings you might have put into ~/.bash_profile in ~/.exwm. > So this got me wondering, something has definately changed here. > Before, this used to work OOTB. Any ideas what may have changed? One thing, that changed is Emacs itself. In particular, we reverted to ELPA sub-directories for structure, but keeping a hopefully backwards- compatible hack in subdirs.el However, I doubt, that this is the only thing making a difference between now and then. Since EMACSLOADPATH is wrong, it would seem, that there is no profile evaluation whatsoever going on, and I'd argue this has already been the case before, I just don't know when it changed or whether things just happened to work "OOTB" despite this. I also think, that any session should be run under the user's shell with --login. As far as I can tell, that happens for GNOME under GDM – executing getenv for a variable that I only set in my .zprofile I see the correct value – why does it not happen for EXWM under slim? Greetings, Leo