unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Alex Kost <alezost@gmail.com>
Cc: guix-devel@gnu.org
Subject: Re: [PATCH] doc: Fix 'geiser-guile-load-path' example.
Date: Tue, 17 Nov 2015 17:16:57 +0100	[thread overview]
Message-ID: <877flg7g92.fsf@gnu.org> (raw)
In-Reply-To: <87egfp1282.fsf@gmail.com> (Alex Kost's message of "Tue, 17 Nov 2015 11:04:13 +0300")

Alex Kost <alezost@gmail.com> skribis:

> 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.

Agreed, I was just making sure I understood the issue at hand.

The patch you sent looks good to me then.

Thanks!

Ludo’.

  reply	other threads:[~2015-11-17 16:17 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
2015-11-17 16:16     ` Ludovic Courtès [this message]
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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=877flg7g92.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=alezost@gmail.com \
    --cc=guix-devel@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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).