guile-studio cannot open file

  • Open
  • quality assurance status badge
Details
One participant
  • Stefan
Owner
unassigned
Submitted by
Stefan
Severity
normal
S
S
Stefan wrote on 12 Dec 2020 18:59
(address . bug-guix@gnu.org)
6B1D9C23-2CC8-442A-91D7-C842F4AF62D0@vodafonemail.de
Hi!

These two commands reproduce an error in guile-studio/emacs, which prevents it from opening the file argument:

stefan@guix ~/development/guix$ guix environment --pure --ad-hoc guile-studio
stefan@guix ~/development/guix [env]$ guile-studio README

This is the error in emacs’ Messages buffer:

Loading /gnu/store/2z03mc1hyq8ii0w7n5ggwf4j5qb8kfyq-emacs-27.1/share/emacs/site-lisp/guix-emacs.el (source)...done
eval-buffer: Cannot open load file: No such file or directory, company

The passed file README will not be opened.


Bye

Stefan
S
S
Stefan wrote on 27 Feb 2021 16:34
01DE174C-D227-44B5-9B98-627D7DEC95C3@vodafonemail.de
Hi!

It is possible to work around this error https://debbugs.gnu.org/cgi/bugreport.cgi?bug=45196 by installing emacs as well.

Another workaround is to start guile-studio with EMACSLOADPATH preset to:

EMACSLOADPATH=/gnu/store/…-emacs-27.1/share/emacs/27.1/site-lisp guile-studio

It seems to me that this /gnu/store/…-emacs-27.1/share/emacs/27.1/site-lisp path is missing in the guile-studio shell script, which only uses tis path from the emacs package: /gnu/store/…-emacs-27.1/share/emacs/site-lisp.


Bye

Stefan
?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send an email to 45196@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 45196
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch