all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Suhail Singh <suhailsingh247@gmail.com>
To: Christopher Howard <christopher@librehacker.com>
Cc: Suhail Singh <suhailsingh247@gmail.com>, 74250@debbugs.gnu.org
Subject: bug#74250: emacs-guix: guix-pull invalid input error
Date: Wed, 20 Nov 2024 14:50:42 -0500	[thread overview]
Message-ID: <87r075wup9.fsf@gmail.com> (raw)
In-Reply-To: <87ttc1hfpk.fsf@librehacker.com> (Christopher Howard's message of "Wed, 20 Nov 2024 10:23:35 -0900")

Christopher Howard <christopher@librehacker.com> writes:

> Hi, this is a little confusing since my example involved working outside
> of Emacs, running Scheme from the guix repl.

I am confused (as well).  I thought you were running the command via the
"*Guix REPL*" buffer created by emacs-guix.  Perhaps not?  I'll share
below some thoughts as well as reasons for my curiosity.  Please use
your judgment in determining whether or not they are applicable to your
situation.

It's possible that I'm mistaken, but my understanding of emacs-guix was
that it invoked a Guile REPL (even though it refers to it as a Guix
REPL).  This can be confirmed by evaluating "(command-line)" in the
"*Guix REPL*" buffer (which on my machine, on a foreign distro, shows
guile).

> Are you wanting this elisp code run before/after emacs-guix.el is
> loaded in Emacs?

As long as emacs-guix is not modifying the GUILE_LOAD_PATH environment
variable, it didn't matter when the code was evaluated.

> Anyhow, if I just execute (eval-last-sexp) the code you sent, I get
> this error:

The error you encountered could be due to a difference in %load-path
between the emacs-guix "*Guix REPL*" buffer vs %load-path when one runs
"guix repl" directly on the shell.  The "guix-module-union" entry may be
of interest.

On my machine, I have to take some extra steps to ensure that said entry
exists in GUILE_LOAD_PATH (i.e., the %load-path when one loads the guile
repl).

-- 
Suhail




  reply	other threads:[~2024-11-20 19:53 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-07 22:53 bug#74250: emacs-guix: guix-pull invalid input error Christopher Howard
2024-11-19 20:55 ` Christopher Howard
2024-11-20 18:30   ` Christopher Howard
2024-11-20 19:06     ` Suhail Singh
2024-11-20 19:23       ` Christopher Howard
2024-11-20 19:50         ` Suhail Singh [this message]
2024-11-20 20:37 ` Christopher Howard
2024-11-20 21:33   ` Suhail Singh

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

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

  git send-email \
    --in-reply-to=87r075wup9.fsf@gmail.com \
    --to=suhailsingh247@gmail.com \
    --cc=74250@debbugs.gnu.org \
    --cc=christopher@librehacker.com \
    /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.
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.