all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Cayetano Santos via Bug reports for GNU Guix <bug-guix@gnu.org>
To: Suhail Singh <suhailsingh247@gmail.com>
Cc: rekado@elephly.net, g@xelera.eu, rprior@protonmail.com,
	55013@debbugs.gnu.org, janneke@gnu.org
Subject: bug#55013: Guix-emacs doesn't work
Date: Fri, 29 Nov 2024 21:12:24 +0100	[thread overview]
Message-ID: <874j3p240n.fsf@inventati.org> (raw)
In-Reply-To: <87h67qrrjm.fsf@gmail.com> (Suhail Singh's message of "Fri, 29 Nov 2024 10:25:01 -0500")


>ven. 29 nov. 2024 at 10:25, Suhail Singh <suhailsingh247@gmail.com> wrote:

> 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

So  this works:

  guix shell --pure -CPWN emacs emacs-guix guile

with a ‘emacs -q -nw’ followed by a M-x guix-packages-by-name

But this fails:

  guix shell --pure -CPWN emacs emacs-guix

Guile is not propagated in the emacs-guix package definition, is this
the problem ?

--
Cayetano Santos




  reply	other threads:[~2024-11-29 20:13 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
2024-11-29 20:12               ` Cayetano Santos via Bug reports for GNU Guix [this message]
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

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

  git send-email \
    --in-reply-to=874j3p240n.fsf@inventati.org \
    --to=bug-guix@gnu.org \
    --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 \
    --cc=suhailsingh247@gmail.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.