From mboxrd@z Thu Jan 1 00:00:00 1970 From: Federico Beffa Subject: Re: Emacs load path Date: Wed, 30 Dec 2015 23:18:30 +0100 Message-ID: References: <87h9j2jk2t.fsf@gmail.com> <87r3i3lq9z.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51964) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aEP4i-0000cY-78 for guix-devel@gnu.org; Wed, 30 Dec 2015 17:18:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aEP4h-00054M-Bd for guix-devel@gnu.org; Wed, 30 Dec 2015 17:18:32 -0500 In-Reply-To: <87r3i3lq9z.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-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Alex Kost Cc: Guix-devel , KAction@gnu.org On Wed, Dec 30, 2015 at 7:55 PM, Alex Kost wrote: >> A useful approach would be to fix the problem such that if a user >> installs emacs with guix the above steps happen automatically without >> any user intervention. > > Yeah, it would probably be a good default, but only if this default can > be changed. I mean if I didn't install emacs packages with guix, I would > like to avoid loading an additional code for that. In GuixSD I can do > it with "export EMACSLOADPATH=3D", so if our Emacs package will somehow > "automagically" look at "~/.guix-profile/share/emacs/site-lisp/guix.d/=E2= =80=A6" > directories, I want to have a way to disable this feature. I would mimic the emacs package system: The packages are loaded after loading the init file. To disable automatic package loading, you can change the variable =E2=80=98package-enable-at-startup=E2=80=99 to =E2=80= =98nil=E2=80=99. Regards, Fede