GNU bug report logs - #55013
Guix-emacs doesn't work

Previous Next

Package: guix;

Reported by: Ryan Prior <rprior <at> protonmail.com>

Date: Mon, 18 Apr 2022 23:47:01 UTC

Severity: normal

Full log


Message #62 received at 55013 <at> debbugs.gnu.org (full text, mbox):

From: Suhail Singh <suhailsingh247 <at> gmail.com>
To: Suhail Singh <suhailsingh247 <at> gmail.com>
Cc: g <at> xelera.eu, rprior <at> protonmail.com, csantosb <at> inventati.org,
 rekado <at> elephly.net, 55013 <at> debbugs.gnu.org, janneke <at> gnu.org
Subject: Re: bug#55013: Guix-emacs doesn't work
Date: Fri, 29 Nov 2024 10:25:01 -0500
Suhail Singh <suhailsingh247 <at> gmail.com> writes:

> #+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

Apologies for missing the reference to undefined functions in the above.
For present purposes, gx_shell can be simplified as follows:

#+begin_src example
  $> type gx_shell
  gx_shell is a function
  gx_shell ()
  {
      local preserve='.*GTK.*|.*XDG.*|.*DISPLAY.*|TERM|INSIDE_EMACS';
      guix shell --pure -CPWN -E "${preserve}" "${@}"
  }
#+end_src

-- 
Suhail




This bug report was last modified 196 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.