From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kyle Meyer Subject: Re: Should guix-emacs-autoload-packages use GUIX_ENVIRONMENT? Date: Mon, 24 Jul 2017 18:25:31 -0400 Message-ID: <87h8y1jwv8.fsf@kyleam.com> References: <87zibwlymy.fsf@kyleam.com> <87eft6j1s3.fsf@gmail.com> <87379mpz1a.fsf@kyleam.com> <87379l1qip.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48096) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dZlnF-0001XZ-Ue for guix-devel@gnu.org; Mon, 24 Jul 2017 18:25:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dZlnC-0002NO-MP for guix-devel@gnu.org; Mon, 24 Jul 2017 18:25:37 -0400 Received: from pb-smtp2.pobox.com ([64.147.108.71]:54932 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dZlnC-0002Mq-3S for guix-devel@gnu.org; Mon, 24 Jul 2017 18:25:34 -0400 In-Reply-To: <87379l1qip.fsf@gmail.com> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Alex Kost Cc: guix-devel Alex Kost 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