unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: jgart <jgart@dismail.de>
To: "(" <paren@disroot.org>
Cc: Guix Help <help-guix@gnu.org>
Subject: Re: How can I install an emacs package with Guix without restarting emacs
Date: Sat, 27 Aug 2022 17:45:22 -0500	[thread overview]
Message-ID: <20220827174522.GB3398@gac> (raw)
In-Reply-To: <CMH3TPVC1HA7.1KMPVHTBUVA7N@guix-aspire>

On Sat, 27 Aug 2022 21:47:23 +0100 "(" <paren@disroot.org> 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")))


      reply	other threads:[~2022-08-27 22:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-27 18:50 How can I install an emacs package with Guix without restarting emacs jgart
2022-08-27 20:47 ` (
2022-08-27 22:45   ` jgart [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220827174522.GB3398@gac \
    --to=jgart@dismail.de \
    --cc=help-guix@gnu.org \
    --cc=paren@disroot.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).