From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:51890) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iUOW8-0005qx-0U for guix-patches@gnu.org; Tue, 12 Nov 2019 00:15:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iUOW6-0006z8-K5 for guix-patches@gnu.org; Tue, 12 Nov 2019 00:15:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:47437) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iUOW6-0006z2-HW for guix-patches@gnu.org; Tue, 12 Nov 2019 00:15:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iUOW6-0003yW-Ba for guix-patches@gnu.org; Tue, 12 Nov 2019 00:15:02 -0500 Subject: [bug#38015] Emacs in multiple profiles Resent-Message-ID: From: Chris Marusich 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> <878spgo7ex.fsf@gmail.com> <87o8yccwtq.fsf@ambrevar.xyz> <871rv1ed8v.fsf@gmail.com> <87mudpm5nt.fsf@ambrevar.xyz> <874kzscpgs.fsf@gmail.com> <87eeyvespq.fsf@ambrevar.xyz> <87zhhhbhzl.fsf@gmail.com> <877e4l5c9h.fsf@ambrevar.xyz> <87mudgb4v5.fsf@gmail.com> Date: Mon, 11 Nov 2019 21:14:24 -0800 In-Reply-To: <87mudgb4v5.fsf@gmail.com> (Maxim Cournoyer's message of "Fri, 01 Nov 2019 00:25:02 -0400") Message-ID: <875zjp1xsf.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Maxim Cournoyer Cc: myglc2@gmail.com, 38015@debbugs.gnu.org, mail@ambrevar.xyz, help-guix@gnu.org, Alex Kost --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Maxim Cournoyer writes: > [+ guix-patches] > > Hello! > > Pierre Neidhardt writes: > >> I've reviewed and tested the patch: >> >> - review: 5/5 stars :D >> - test: pass! >> >> I've tested the following: >> >> $ /home/ambrevar/projects/guix/pre-inst-env guix package -i emacs-2048-g= ame emacs -p ~/temp/foo >> $ cd ~/temp >> $ env -i $(which bash) --login --noprofile --norc >> bash-5.0$ /run/current-system/profile/bin/env DISPLAY=3D:1 emacs >> >> >> Content of *Messages*: >> >> Loading /gnu/store/ghdkfqnvrxipp4ikakags5rl7flywb72-profile/share/emacs/= site-lisp/guix.d/2048-game-20151026.1233/2048-game-autoloads.el (source)...= done >> For information about GNU Emacs and the GNU system, type C-h C-a. >> >> >> And=20 >> >> M-x 2048-game RET >> >> works! > > I'm glad it works and fixes your use case :-). > >> Can we merge this on master? We have some 700 emacs packages that are >> going to be rebuilt, but it's rather light for the build farm. What do >> you think? > > I'm not worried about the 700 Emacs packages that will need to be > rebuild, but I'd prefer to take a bit of time to let people comment on > this non-trivial change. > > The new behavior (of not always loading stuff from the user profile and > system profiles) is different and may break the flow of some people. > > For one, I think restarting my Emacs server (started at login) won't be > enough to discover newly installed packages to my profile. Emacs-Magit > may also be impacted, I haven't reviewed if it uses that autoload > function from site-start.el. > > Refreshing an environment variable value for a process (such as Emacs) > is not as convenient as re-scanning a directory. > > I'll let some time pass (2 weeks), and if nobody objects, I'll merge it > to master. > > Thanks for the review! > > Maxim I'd like to test this, but I can't build Guix, so I can't test it. I don't know when I'll be able to test it, since I don't know when I'll be able to build Guix: "configure: error: Guix requires zlib." https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D38175 Is there a specific commit that you can recommend I use when applying the patches? Perhaps one you built successfully yourself? If you could also give me your currently installed Guix version so I can "guix pull" to it, that would be helpful. =2D-=20 Chris --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEy/WXVcvn5+/vGD+x3UCaFdgiRp0FAl3KP7AACgkQ3UCaFdgi Rp3oKw//VhdEbci9C3MnoXglzlrLD/tyVnJeBMh2jGZQORoexWoavZXx22UlgVbY tZUCEmUeCGpj61Wtf1tORc+0IZN6JT7PlwAJ5WmM390lj0eKpp1jawWH60Ebnkd3 4QiSu278u5c8xkeLeiLSIE5BATUjsXDP7J6o/8evZZjw7pdVttPnyqYh6G7PTi+e iYTwkzMyylOR31nXFh+prQ0Lo7pw1O94Ewfo62U1l69FNL7KfctCc91nAaklCwpx T5w3TzBEkmVN9DGL1Y/+8B6uhCFZmifqNIAc9rozgo4uzp4lP9WwtpZMxhPGbyzO FFJ3KdfTSgXz1tjy/YAqHgtKw1/fXxMTCVeY/xYT5GR94hHseJJsOZkqizgbJ5L6 YI4YdUAAsfcxTRxlgRsgSb07x/J8avnmpi3XlKIylgiBkwCMQONDqtKgo5j2SgBI 5ajhQ6FptbGN0/4TAO1yV7rXNnUHc5T+Y8xHQ2bIwPUDz4vTk+tFXyon5cjVm30A MDqO3UJlZaTZN4iNLMqa+imMgO0evEE9xm/BeN68h4DaobNQI5JrDyL9UdT2UI0l qwN8WrppHmR2LRf9oON+vscsSwpxIRQlm1/SwzV1Tb6RA/3B2leqrQROqAgbI11l S7yEuDPBk2ID2E2V7tUKiTguCK0AivqxKOUFX3lGRYD/VdqvitI= =BY8e -----END PGP SIGNATURE----- --=-=-=-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Marusich Subject: Re: [bug#38015] Emacs in multiple profiles Date: Mon, 11 Nov 2019 21:14:24 -0800 Message-ID: <875zjp1xsf.fsf@gmail.com> 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> <878spgo7ex.fsf@gmail.com> <87o8yccwtq.fsf@ambrevar.xyz> <871rv1ed8v.fsf@gmail.com> <87mudpm5nt.fsf@ambrevar.xyz> <874kzscpgs.fsf@gmail.com> <87eeyvespq.fsf@ambrevar.xyz> <87zhhhbhzl.fsf@gmail.com> <877e4l5c9h.fsf@ambrevar.xyz> <87mudgb4v5.fsf@gmail.com> 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]:51868) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iUOVa-0005fS-Lx for help-guix@gnu.org; Tue, 12 Nov 2019 00:14:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iUOVZ-0006mg-Dl for help-guix@gnu.org; Tue, 12 Nov 2019 00:14:30 -0500 Received: from mail-pl1-x629.google.com ([2607:f8b0:4864:20::629]:46858) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iUOVZ-0006mP-7l for help-guix@gnu.org; Tue, 12 Nov 2019 00:14:29 -0500 Received: by mail-pl1-x629.google.com with SMTP id l4so8835959plt.13 for ; Mon, 11 Nov 2019 21:14:29 -0800 (PST) In-Reply-To: <87mudgb4v5.fsf@gmail.com> (Maxim Cournoyer's message of "Fri, 01 Nov 2019 00:25:02 -0400") 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: Maxim Cournoyer Cc: myglc2@gmail.com, 38015@debbugs.gnu.org, help-guix@gnu.org, Alex Kost --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Maxim Cournoyer writes: > [+ guix-patches] > > Hello! > > Pierre Neidhardt writes: > >> I've reviewed and tested the patch: >> >> - review: 5/5 stars :D >> - test: pass! >> >> I've tested the following: >> >> $ /home/ambrevar/projects/guix/pre-inst-env guix package -i emacs-2048-g= ame emacs -p ~/temp/foo >> $ cd ~/temp >> $ env -i $(which bash) --login --noprofile --norc >> bash-5.0$ /run/current-system/profile/bin/env DISPLAY=3D:1 emacs >> >> >> Content of *Messages*: >> >> Loading /gnu/store/ghdkfqnvrxipp4ikakags5rl7flywb72-profile/share/emacs/= site-lisp/guix.d/2048-game-20151026.1233/2048-game-autoloads.el (source)...= done >> For information about GNU Emacs and the GNU system, type C-h C-a. >> >> >> And=20 >> >> M-x 2048-game RET >> >> works! > > I'm glad it works and fixes your use case :-). > >> Can we merge this on master? We have some 700 emacs packages that are >> going to be rebuilt, but it's rather light for the build farm. What do >> you think? > > I'm not worried about the 700 Emacs packages that will need to be > rebuild, but I'd prefer to take a bit of time to let people comment on > this non-trivial change. > > The new behavior (of not always loading stuff from the user profile and > system profiles) is different and may break the flow of some people. > > For one, I think restarting my Emacs server (started at login) won't be > enough to discover newly installed packages to my profile. Emacs-Magit > may also be impacted, I haven't reviewed if it uses that autoload > function from site-start.el. > > Refreshing an environment variable value for a process (such as Emacs) > is not as convenient as re-scanning a directory. > > I'll let some time pass (2 weeks), and if nobody objects, I'll merge it > to master. > > Thanks for the review! > > Maxim I'd like to test this, but I can't build Guix, so I can't test it. I don't know when I'll be able to test it, since I don't know when I'll be able to build Guix: "configure: error: Guix requires zlib." https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D38175 Is there a specific commit that you can recommend I use when applying the patches? Perhaps one you built successfully yourself? If you could also give me your currently installed Guix version so I can "guix pull" to it, that would be helpful. =2D-=20 Chris --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEy/WXVcvn5+/vGD+x3UCaFdgiRp0FAl3KP7AACgkQ3UCaFdgi Rp3oKw//VhdEbci9C3MnoXglzlrLD/tyVnJeBMh2jGZQORoexWoavZXx22UlgVbY tZUCEmUeCGpj61Wtf1tORc+0IZN6JT7PlwAJ5WmM390lj0eKpp1jawWH60Ebnkd3 4QiSu278u5c8xkeLeiLSIE5BATUjsXDP7J6o/8evZZjw7pdVttPnyqYh6G7PTi+e iYTwkzMyylOR31nXFh+prQ0Lo7pw1O94Ewfo62U1l69FNL7KfctCc91nAaklCwpx T5w3TzBEkmVN9DGL1Y/+8B6uhCFZmifqNIAc9rozgo4uzp4lP9WwtpZMxhPGbyzO FFJ3KdfTSgXz1tjy/YAqHgtKw1/fXxMTCVeY/xYT5GR94hHseJJsOZkqizgbJ5L6 YI4YdUAAsfcxTRxlgRsgSb07x/J8avnmpi3XlKIylgiBkwCMQONDqtKgo5j2SgBI 5ajhQ6FptbGN0/4TAO1yV7rXNnUHc5T+Y8xHQ2bIwPUDz4vTk+tFXyon5cjVm30A MDqO3UJlZaTZN4iNLMqa+imMgO0evEE9xm/BeN68h4DaobNQI5JrDyL9UdT2UI0l qwN8WrppHmR2LRf9oON+vscsSwpxIRQlm1/SwzV1Tb6RA/3B2leqrQROqAgbI11l S7yEuDPBk2ID2E2V7tUKiTguCK0AivqxKOUFX3lGRYD/VdqvitI= =BY8e -----END PGP SIGNATURE----- --=-=-=--