From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pierre Neidhardt Subject: Re: Emacs in multiple profiles Date: Tue, 29 Oct 2019 11:44:49 +0100 Message-ID: <87eeyvespq.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> <878spgo7ex.fsf@gmail.com> <87o8yccwtq.fsf@ambrevar.xyz> <871rv1ed8v.fsf@gmail.com> <87mudpm5nt.fsf@ambrevar.xyz> <874kzscpgs.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]:60838) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iPOzg-0003IE-US for help-guix@gnu.org; Tue, 29 Oct 2019 06:45:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iPOze-0000mh-Pl for help-guix@gnu.org; Tue, 29 Oct 2019 06:44:56 -0400 Received: from relay11.mail.gandi.net ([217.70.178.231]:42571) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iPOzd-0000jR-Gp for help-guix@gnu.org; Tue, 29 Oct 2019 06:44:54 -0400 In-Reply-To: <874kzscpgs.fsf@gmail.com> 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: Alex Kost , myglc2@gmail.com, help-guix@gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Great work, looks like you are getting close to the finish line! :) > I'll rework the 'gnu: emacs: Remove custom guix-emacs code.' patch, as > removing it means losing having the autoloads definitions loaded. > Someone in the #emacs channel suggested making use of the builtin > package.el code to take care of this. To be continued :-) Indeed, this is the normal workflow using package.el. See https://melpa.org/: the user is expected to call `package-initialize` from their init file. So the solution is quite simple I believe: add =2D-8<---------------cut here---------------start------------->8--- (require 'package) (package-initialize) =2D-8<---------------cut here---------------end--------------->8--- to site-start.el. Cheers! =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl24GCEACgkQm9z0l6S7 zH9ajwgAiJyIS+V9LnWyFrWO5+rrzUjzzAJ+TiwEuSmaBnP+MOrZ+dM4vNhxYGFL OtsXqYRy9mVj+kTIiukPHXhA9lsW16LSp8UlkPlHVRdh8TDTuhcSbWCThWvn8Vcj B4Rb7BJPKydNVUd7Shtowaw1Mqz413fOT7/Y1EnNPlOUjgJs7kfEw7AjztxquGVh HcMnLZ7oz/JQqU4EU78hMlc9dZgTV4KQlKa0MY/dtm0cowGkLbxUsG/embtnm+Y8 P80L/8DxBPfX2VcijMmjx2D8BqkGBMZ5OOb7b4GEkX5xUYy8itsa0W+Oubo5Ou4A +qQkTHHJsTlVE4F2EDtGQZIP7W9spg== =7TL7 -----END PGP SIGNATURE----- --=-=-=--