unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Suhail Singh <suhailsingh247@gmail.com>
To: Suhail Singh <suhailsingh247@gmail.com>
Cc: g@xelera.eu, rprior@protonmail.com, csantosb@inventati.org,
	rekado@elephly.net, 55013@debbugs.gnu.org, janneke@gnu.org
Subject: bug#55013: Guix-emacs doesn't work
Date: Fri, 29 Nov 2024 10:25:01 -0500	[thread overview]
Message-ID: <87h67qrrjm.fsf@gmail.com> (raw)
In-Reply-To: <87plmersxf.fsf@gmail.com> (Suhail Singh's message of "Fri, 29 Nov 2024 09:55:08 -0500")

Suhail Singh <suhailsingh247@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




  reply	other threads:[~2024-11-29 15:32 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-18 23:46 bug#55013: Guix-emacs doesn't work Ryan Prior via Bug reports for GNU Guix
2022-04-21  9:50 ` Giovanni Biscuolo
2022-04-21 14:17   ` Giovanni Biscuolo
2022-04-22  5:27     ` Jan Nieuwenhuizen
2022-04-27  9:13       ` Giovanni Biscuolo
2022-04-27  9:16     ` Giovanni Biscuolo
2023-03-20 19:09 ` Ricardo Wurmus
2023-03-22  6:51   ` Giovanni Biscuolo
2023-03-23 13:32   ` Giovanni Biscuolo
2023-03-23 14:10     ` Giovanni Biscuolo
2023-03-23 14:11     ` Giovanni Biscuolo
2023-03-23 16:31       ` Ricardo Wurmus
2023-03-23 17:06         ` Giovanni Biscuolo
2023-03-25 21:00   ` Ryan Prior via Bug reports for GNU Guix
2023-03-25 22:46     ` Ricardo Wurmus
2024-11-29 10:38       ` Cayetano Santos via Bug reports for GNU Guix
2024-11-29 11:01         ` Cayetano Santos via Bug reports for GNU Guix
2024-11-29 14:55           ` Suhail Singh
2024-11-29 15:25             ` Suhail Singh [this message]
2024-11-29 20:12               ` Cayetano Santos via Bug reports for GNU Guix
2024-11-29 22:06                 ` Ryan Prior via Bug reports for GNU Guix

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=87h67qrrjm.fsf@gmail.com \
    --to=suhailsingh247@gmail.com \
    --cc=55013@debbugs.gnu.org \
    --cc=csantosb@inventati.org \
    --cc=g@xelera.eu \
    --cc=janneke@gnu.org \
    --cc=rekado@elephly.net \
    --cc=rprior@protonmail.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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).