Subject: bug#55013: Guix-emacs doesn't work

From: Suhail Singh <[email-masked]>
Date: Fri, 29 Nov 2024 09:55:08 -0500

Cayetano Santos via Bug reports for GNU Guix <[email-masked]> writes:

> No problem here. So the issue is related with the guix shell container,
> in my opinion (unless there is something else in my default profile).
>
> Could someone confirm ?

M-x guix-packages-by-name works fine in a guix shell container.  I.e., I
am unable to reproduce any issue.  See details below:

#+begin_src example
  $> gx_shell bash-minimal coreutils-minimal emacs emacs-guix guix guile
  [env]$> emacs

  ....

  $> type gx_shell
  gx_shell is a function
  gx_shell ()
  {
      if ob_shell_session_p; then
          local ps12='|PS1|PS2';
      else
          local ps12='';
      fi;
      ps12='|obsh_PS1|obsh_PS2'"${ps12}";
      local preserve='.*GTK.*|.*XDG.*|.*DISPLAY.*|TERM|INSIDE_EMACS'"${ps12}";
      guix shell --pure -CPWN -E "${preserve}" "${@}"
  }
#+end_src

The output of guix describe is as follows:

#+begin_src example
  guix 0de7842
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: master
    commit: 0de78424bd27ec97633401c735e0a766a79b2eee
#+end_src

-- 
Suhail