guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Should guix-emacs-autoload-packages use GUIX_ENVIRONMENT?


From: Kyle Meyer
Subject: Re: Should guix-emacs-autoload-packages use GUIX_ENVIRONMENT?
Date: Mon, 24 Jul 2017 18:25:31 -0400

Alex Kost <address@hidden> writes:

[...]

>> Maybe I'm underestimating all the ways people use "guix environment".
>> When I use it, I'm interested in getting an isolated environment,
>> usually for testing, and in this case I don't want the Emacs packages
>> from my profile.
>
> OK, now I understand your point and I don't object against your patch.
> OTOH I'm pretty sure there are people who will be surprised that when
> emacs is started under "guix environment", it ignores packages from the
> "~/guix-profile".

OK, given that many (all other? :]) users would expect a different
behavior ...

>>> However, I agree that GUIX_ENVIRONMENT should be honored, but as I wrote
>>> *not instead* but *along with* the default profiles.  So if you start
>>> emacs like this:
>>>
>>>   guix environment --ad-hoc emacs emacs-wget -- emacs
>>>
>>> it should contain emacs-wget in its load-path.  WDYT?
>>
>> I certainly agree with that load-path should include emacs-wget.  I'm
>> just not sure I agree with the "along with".
>
> Now I'm also not sure if "along with" or "instead" is better.  I don't
> have a preference, so I agree with any choice :-)

... I'd say "along with" is better.

As I said in my previous post, it's quite easy for me to get the
behavior I want, so I'd prefer to go with your gut feeling about the
expected behavior.

-- 
Kyle



reply via email to

[Prev in Thread] Current Thread [Next in Thread]