From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pierre Neidhardt Subject: Re: Emacs in multiple profiles Date: Sat, 19 Oct 2019 10:57:25 +0200 Message-ID: <87sgnpi03u.fsf@ambrevar.xyz> References: <9c395fd0-9458-7894-af8b-9294d212c60b@fastmail.net> <878tajzu03.fsf@gmail.com> <87a7uyd7qy.fsf@gmail.com> <874ll51mq3.fsf@gmail.com> <87zi2t4jgh.fsf@gmail.com> <877ep4z44b.fsf@gmail.com> <87tv88ihzc.fsf@ambrevar.xyz> <87o8yela1u.fsf@ambrevar.xyz> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:41172) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iLkYG-00057J-5p for help-guix@gnu.org; Sat, 19 Oct 2019 04:57:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iLkYE-0003cn-06 for help-guix@gnu.org; Sat, 19 Oct 2019 04:57:32 -0400 Received: from relay5-d.mail.gandi.net ([217.70.183.197]:39453) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iLkYD-0003cS-Ph for help-guix@gnu.org; Sat, 19 Oct 2019 04:57:29 -0400 In-Reply-To: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: George Clemmer Cc: Alex Kost , help-guix@gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable George Clemmer writes: > I provided an example of how I use emacs and the _non-default behavior_ > of non-default profiles that I find particularly powerful in Guix. Of > course it's not the only way to go, but I thought it might be of > interest for your article. Indeed, good point! >> The problem I'm trying to address here is that of the default behaviour >> of non-default profiles (actually: profiles in general). > > It wasn't clear until the sentence above that you are limiting the > article to _default behaviour_. IMO, this is selling non-default > profiles short. E.G. kinda like writing a blog about 'guix environment' > without mentioning '--pure'. This is a good point. Would you have example use cases that cannot be done using the "profile default behaviour"? (Beside Emacs) With regard to the case of Emacs, I believe that if we fix multi-profile support, your script could be replace with a simple =2D-8<---------------cut here---------------start------------->8--- GUIX_PROFILE=3Dfoo && . $GUIX_PROFILE/etc/profile && emacs =2D-8<---------------cut here---------------end--------------->8--- Cool, nah? :) =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl2qz/UACgkQm9z0l6S7 zH92RQf7BLqeHUirmYGJNApY1h2jigIHj3OLW9uKLE25G1yR3bkpaRmu7RIMbGrv EHfyLlnawjf16palIGfXtSRfQCSNOp/odS+slwQkWlhzXPDbKtFbBaYdJERcSD50 CSu0ttLyr4ZYUgQENUyCZ6Kua9qSt/c4tsyOTJcM9UmY/X/mon/tQy52eUbiWLzS vIgGaYiFGcowZ9Z2zzcocE/6LUHK69V7ZeerF6ptZkhZStnaTxj9+YujgQZftB7P DTpdeHbGVlXiGHZ+l3KNrRWDrAm8uA1dzf4TC7OVhwYi9oGGDDmt+Vp9NSN1zzKR famAmn4+AFGGTcDIs00S9A0d/xNlcw== =dRyt -----END PGP SIGNATURE----- --=-=-=--