From: Philip Kaludercic <philipk@posteo.net>
To: "Thompson, David" <dthompson2@worcester.edu>
Cc: guix-devel <guix-devel@gnu.org>
Subject: Re: Emacs integration for 'guix shell'
Date: Sat, 01 Oct 2022 14:38:16 +0000 [thread overview]
Message-ID: <871qrry5gn.fsf@posteo.net> (raw)
In-Reply-To: <CAJ=RwfZkH_FbyKHARu--UQcQP=npWfxb54_FMDTO1ChiieSBng@mail.gmail.com> (David Thompson's message of "Sat, 1 Oct 2022 07:58:37 -0400")
"Thompson, David" <dthompson2@worcester.edu> writes:
> Hi Philip,
>
> On Sat, Oct 1, 2022 at 4:22 AM Philip Kaludercic <philipk@posteo.net> wrote:
>
>> I haven't used direnv, but how does it compare to buffer-env? I worked
>> on the Guix integration a few months ago and it has been working really
>> well for me.
>
> Oh, I didn't realize buffer-env had Guix integration. My little
> project may be completely unnecessary, then. When I looked at it I
> noticed that it still used .envrc files and wasn't fully compatible
> with direnv so it didn't seem as good compared to something that just
> directly invoked 'guix shell'. Will buffer-env automatically invoke
> 'guix shell' without the presence of a .envrc file?
Yes, you configure what file it should use to collect modified
environment variables (called `buffer-env-script-name'), and then
depending on the file name it will run a command. E.g. if you want to
use manifest.scm files and a manifest.scm file is found, it will run
guix shell -D -f \"path/to/mainfest.scm\" -- env -0
> And does it
> integrate with project.el?
No, instead it just looks for the guix.scm or manifest.scm file in a
"dominating directory" (the current working directory or anything
above). Project.el integration would be trivial to add though.
> I guess I can answer these myself by
> trying it out. If it does both of these things then I can happily
> switch over to it.
>
> Thanks for the pointer!
I wrote about it in some more detail here:
https://amodernist.com/texts/emacs-guix.html, but the post didn't
attract much attention.
> - Dave
next prev parent reply other threads:[~2022-10-01 14:46 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-26 17:48 Emacs integration for 'guix shell' Thompson, David
2022-09-26 18:30 ` Olivier Dion via Development of GNU Guix and the GNU System distribution.
2022-09-27 2:44 ` Maxim Cournoyer
2022-09-27 11:13 ` Thompson, David
2022-09-28 14:11 ` Maxim Cournoyer
2022-09-27 9:15 ` zimoun
2022-09-27 12:06 ` Olivier Dion via Development of GNU Guix and the GNU System distribution.
2022-09-27 14:39 ` zimoun
2022-09-26 18:58 ` pinoaffe
2022-09-28 7:36 ` Efraim Flashner
2022-09-28 12:42 ` Efraim Flashner
2022-10-01 4:47 ` James Thomas
2022-10-01 8:22 ` Philip Kaludercic
2022-10-01 11:58 ` Thompson, David
2022-10-01 14:38 ` Philip Kaludercic [this message]
2022-12-06 14:59 ` [EXT] " Thompson, David
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=871qrry5gn.fsf@posteo.net \
--to=philipk@posteo.net \
--cc=dthompson2@worcester.edu \
--cc=guix-devel@gnu.org \
/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).