all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* How can I install an emacs package with Guix without restarting emacs
@ 2022-08-27 18:50 jgart
  2022-08-27 20:47 ` (
  0 siblings, 1 reply; 3+ messages in thread
From: jgart @ 2022-08-27 18:50 UTC (permalink / raw)
  To: Guix Help

Should I use emacs-exec-path-from-shell?

Or, is there some other way?



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: How can I install an emacs package with Guix without restarting emacs
  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
  0 siblings, 1 reply; 3+ messages in thread
From: ( @ 2022-08-27 20:47 UTC (permalink / raw)
  To: jgart, Guix Help

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.

    -- (


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: How can I install an emacs package with Guix without restarting emacs
  2022-08-27 20:47 ` (
@ 2022-08-27 22:45   ` jgart
  0 siblings, 0 replies; 3+ messages in thread
From: jgart @ 2022-08-27 22:45 UTC (permalink / raw)
  To: (; +Cc: Guix Help

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")))


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-08-27 22:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.