From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: [PATCH] doc: Fix 'geiser-guile-load-path' example. Date: Tue, 17 Nov 2015 17:16:57 +0100 Message-ID: <877flg7g92.fsf@gnu.org> References: <87k2pkl8a6.fsf@gmail.com> <87y4dztb1g.fsf@gnu.org> <87egfp1282.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]:51819) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZyiwL-0005PO-DR for guix-devel@gnu.org; Tue, 17 Nov 2015 11:17:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZyiwF-0007Ot-Os for guix-devel@gnu.org; Tue, 17 Nov 2015 11:17:05 -0500 In-Reply-To: <87egfp1282.fsf@gmail.com> (Alex Kost's message of "Tue, 17 Nov 2015 11:04:13 +0300") 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@gnu.org Alex Kost skribis: > Ludovic Court=C3=A8s (2015-11-15 20:41 +0300) wrote: > >> Alex Kost skribis: >> >>> (add-to-list 'geiser-guile-load-path 'foo) errors if "geiser-guile.el" >>> is not loaded yet, so I think it's better to put it inside >>> 'with-eval-after-load', WDYT? >> >> Sounds good. I guess that=E2=80=99s because (require 'guix-init) doesn= =E2=80=99t >> require 'geiser? > > "guix-init.el" shouldn't require geiser. IMO it should load as less > code as possible, because it will increase the Emacs start time. > > In general I think requiring/loading packages is evil (as it slows down > starting Emacs), so I avoid 'require'-s when possible in my init file. Agreed, I was just making sure I understood the issue at hand. The patch you sent looks good to me then. Thanks! Ludo=E2=80=99.