unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Liliana Marie Prikler <liliana.prikler@gmail.com>
To: Zelphir Kaltstahl <zelphirkaltstahl@posteo.de>
Cc: guix-devel@gnu.org
Subject: Re: Missing dependency for emacs-magit
Date: Tue, 22 Feb 2022 11:39:49 +0100	[thread overview]
Message-ID: <c73639888c2c6e2dd118d8bf92157efdfe8fd4e9.camel@gmail.com> (raw)
In-Reply-To: <984e38b3-4bb5-87b0-e0c8-f7801c26d35c@posteo.de>

Hi Zelphir,

Am Dienstag, dem 22.02.2022 um 09:34 +0000 schrieb Zelphir Kaltstahl:
> However, I have now found out, that the `-C` flag is `--container`,
> which I am not using! So I tried to use `--container` with the `guix
> shell` command and, what a surprise, the error in Emacs disappeared!
> Now of course the question is, how does `--container` affect the
> `emacs-magit` package? What is Emacs reading, that affects Magit and
> even prevents it from loading the dependency `git-commit`?
> If I find out more, I'll let you know.
> Best regards and thanks for the patience,
Hi Zelphir,

inside --container, the shell only has access to the current working
directory (as well as potentially other directories you share), and a
limited set of environment variables.  Your shell rc files are still
sourced, but some commands they invoke may fail to have any side
effects (note that shell rc files are often evil when it comes to
normal invocations of `guix environment' or `guix shell', hence why we
now warn about `guix shell --check').  W.r.t. Emacs in particular, any
parts of EMACSLOADPATH coming from outside `guix shell' are now gone. 
These should not have any effect on your Emacs whatsoever given the way
things are ordered, but there might be some weird fringe case that is
not accounted for.

I suggest trying magit with different values of EMACSLOADPATH and
seeing what happens.  I'll try to recreate your results using a --pure
shell and sourcing a profile within that, but I'm not sure whether
it'll be reproducible.

Cheers


      reply	other threads:[~2022-02-22 10:41 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-13 23:51 Missing dependency for emacs-magit Zelphir Kaltstahl
2022-02-14  2:50 ` Michael Rohleder
2022-02-14 18:41   ` Zelphir Kaltstahl
2022-02-14 19:33     ` Liliana Marie Prikler
2022-02-15  9:45       ` Zelphir Kaltstahl
2022-02-15 19:54         ` Liliana Marie Prikler
2022-02-16 22:23           ` Zelphir Kaltstahl
2022-02-17 17:49             ` Liliana Marie Prikler
2022-02-17 19:26               ` Ricardo Wurmus
2022-02-18  1:10               ` Zelphir Kaltstahl
2022-02-18  4:51                 ` Liliana Marie Prikler
2022-02-19  2:34                   ` Zelphir Kaltstahl
2022-02-19  7:30                     ` Liliana Marie Prikler
2022-02-19 15:43                       ` Zelphir Kaltstahl
2022-02-19 16:04                         ` Liliana Marie Prikler
2022-02-22  9:34                       ` Zelphir Kaltstahl
2022-02-22 10:39                         ` Liliana Marie Prikler [this message]

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=c73639888c2c6e2dd118d8bf92157efdfe8fd4e9.camel@gmail.com \
    --to=liliana.prikler@gmail.com \
    --cc=guix-devel@gnu.org \
    --cc=zelphirkaltstahl@posteo.de \
    /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).