From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id cJvuKJmeCmPBbAAAbAwnHQ (envelope-from ) for ; Sun, 28 Aug 2022 00:45:45 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id mIU8KJmeCmOWEAAAG6o9tA (envelope-from ) for ; Sun, 28 Aug 2022 00:45:45 +0200 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 427E517FCB for ; Sun, 28 Aug 2022 00:45:45 +0200 (CEST) Received: from localhost ([::1]:46346 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oS4Yh-0003Af-Mj for larch@yhetil.org; Sat, 27 Aug 2022 18:45:43 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58142) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oS4YO-0003AG-25 for help-guix@gnu.org; Sat, 27 Aug 2022 18:45:24 -0400 Received: from mx1.dismail.de ([78.46.223.134]:19456) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oS4YL-0000Et-Nc for help-guix@gnu.org; Sat, 27 Aug 2022 18:45:23 -0400 Received: from mx1.dismail.de (localhost [127.0.0.1]) by mx1.dismail.de (OpenSMTPD) with ESMTP id 7cbb2786; Sun, 28 Aug 2022 00:45:18 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=dismail.de; h=date :message-id:from:to:cc:subject:in-reply-to:references :mime-version:content-type:content-transfer-encoding; s= 20190914; bh=pqAushY9sqOJX7QIY1Ashom3dI+5HPdxzMAIapOJMFo=; b=PX6 rvRXZwttxA6kSQ0hxe/EwzIxvFH1s/kHO21YGT9uu/QAA3VxjzQhF7nJhI/FQi6o Tkd5IphxvEIRA9rocmoh3zFCoprf8c2vsD4PZ55KFsJhJJNLJuwNdnLPMS7Yv8AK t0ANcgUN65EgtLYWWH3CsPW5UJgWZhkATizKPGA09EXLDFwGPUezjhAyiGrMsmS2 VlXJvu8YWmiVVYyZl/s6F3rujbc3gKHv3xS6mrqGWY0yXGO4EYvNWP4T8XTyGxrt V3JEtQjQGJ0PWuuOGZAGXlk7RHlw/TqYbQnvg2XTDqR3wyjg2GezxesDYqt7hB+N sOxgrPs/GqZ8zgd9g/A== Received: from smtp1.dismail.de ( [10.240.26.11]) by mx1.dismail.de (OpenSMTPD) with ESMTP id 6195836d; Sun, 28 Aug 2022 00:45:18 +0200 (CEST) Received: from smtp1.dismail.de (localhost [127.0.0.1]) by smtp1.dismail.de (OpenSMTPD) with ESMTP id bd50ebdf; Sun, 28 Aug 2022 00:45:18 +0200 (CEST) Received: by dismail.de (OpenSMTPD) with ESMTPSA id 7aa3b3c0 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Sun, 28 Aug 2022 00:45:18 +0200 (CEST) Date: Sat, 27 Aug 2022 17:45:22 -0500 Message-ID: <20220827174522.GB3398@gac> From: jgart To: "(" Cc: Guix Help Subject: Re: How can I install an emacs package with Guix without restarting emacs In-Reply-To: References: <20220827135045.GB32562@gac> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=78.46.223.134; envelope-from=jgart@dismail.de; helo=mx1.dismail.de X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1661640345; 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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=k/tpDgttRjZQZXGiLmViEGbxq6hob7zEjSwyWSFJeLU=; b=MRfnL35GFSkWh+kXzfn9Uyz81jr+eV60VVHXgV6HuhDEmMh1Yhv4AUOcxnso701U1+QDk3 9cho/sloOGWVzCpjXB7R72cLgjL0HPA2WnQf8XrGIFsJIyVBKwpyICMm6wDmlUUO6eDEcz Izkt83iO3DuuTYpZ6pEl4rGwAk+KYhhS3xVSwjWNOrOmlkgnPRcTDyZuo80vFagW0pLqRW 9IYcnXwwdMOGhIKs6qEw188Z7kL+hRqno5iW51H6EEEYw+dStico1fupOaIqXvQzNSoD+Z uxScyvpyU8jc8z++dlA4/zl/a21kOxxzC20cMwZ34AeXU/yQWyowGYSVB+Pc0w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1661640345; a=rsa-sha256; cv=none; b=i92bewhVfbOzYMBPXpjL6ruhnYy9xteuly1CkvG1s07BoOUmnMPcKGXyhbjoMAGWy2O4aQ lvqVGr+Ns80KwK79tfuyPiw54Ao1W4SbRTOw2JRQNIjog+k9x5LVK12ajc+os/3Ag1BAxL 8jmYN5vJHhS2RBiQLRJmFCa4Wdt1D0pf+9bX/PKrCoJG7q9TP1/4VfN3MAzROTxlWcW+Mp WM45PZR3NTZbqirBBFzhSLvmz1pjhdhFuZDLxUMfYgCTAOUxTPxCnxcFAPvlOe12kPORge tjmZrxm4unlz3zUd38fb2nePF76eKX2evQuGFgEsfGr90AT+9GM3xrj65jXtrQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=dismail.de header.s=20190914 header.b="PX6 rvRX"; dmarc=pass (policy=reject) header.from=dismail.de; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -2.90 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=dismail.de header.s=20190914 header.b="PX6 rvRX"; dmarc=pass (policy=reject) header.from=dismail.de; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 427E517FCB X-Spam-Score: -2.90 X-Migadu-Scanner: scn1.migadu.com X-TUID: 5T9gYi/kMkDg On Sat, 27 Aug 2022 21:47:23 +0100 "(" wrote: > On Sat Aug 27, 2022 at 7:50 PM BST, jgart wrote: > > Should I use emacs-exec-path-from-shell? > > > > Or, is there some other way? > > I just load-file the new `~/.guix-home/profile/share/emacs/site-lisp` files. > Ideally emacs-guix would be able to do that automatically, though it doesn't > seem to have any feature like that at the moment. > > -- ( wdyt of https://github.com/purcell/exec-path-from-shell for this use case? or writing a function to load the environment variables on a keybinding? or bloat? just use (load-file "~/.guix-home/profile/share/emacs/site-lisp") and bind it? (define-key global-key-map (kdb "C-S-foo") #'(lambda () (load-file "~/.guix-home/profile/share/emacs/site-lisp")))