all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Alex Kost <alezost@gmail.com>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: guix-devel@gnu.org
Subject: Re: [PATCH] doc: Fix 'geiser-guile-load-path' example.
Date: Tue, 17 Nov 2015 11:04:13 +0300	[thread overview]
Message-ID: <87egfp1282.fsf@gmail.com> (raw)
In-Reply-To: <87y4dztb1g.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Sun, 15 Nov 2015 18:41:47 +0100")

Ludovic Courtès (2015-11-15 20:41 +0300) wrote:

> Alex Kost <alezost@gmail.com> 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’s because (require 'guix-init) doesn’t
> 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.

-- 
Alex

  reply	other threads:[~2015-11-17  8:04 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-14 18:56 [PATCH] doc: Fix 'geiser-guile-load-path' example Alex Kost
2015-11-15 17:41 ` Ludovic Courtès
2015-11-17  8:04   ` Alex Kost [this message]
2015-11-17 16:16     ` Ludovic Courtès
2015-11-17 17:22       ` Alex Kost
2015-11-17 21:40         ` Ludovic Courtès
2015-11-18 17:26           ` Alex Kost
2015-11-18 21:36             ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87egfp1282.fsf@gmail.com \
    --to=alezost@gmail.com \
    --cc=guix-devel@gnu.org \
    --cc=ludo@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.