all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Alex Kost <alezost@gmail.com>
To: Federico Beffa <beffa@ieee.org>
Cc: help-guix <help-guix@gnu.org>
Subject: Re: Emacs autoloads
Date: Fri, 03 Mar 2017 00:33:40 +0300	[thread overview]
Message-ID: <871suf9xe3.fsf@gmail.com> (raw)
In-Reply-To: <87innrn6no.fsf@lupo.i-did-not-set--mail-host-address--so-tickle-me> (Federico Beffa's message of "Thu, 02 Mar 2017 14:35:07 +0100")

Federico Beffa (2017-03-02 14:35 +0100) wrote:

> Catonano <catonano@gmail.com> writes:
>
>> I installed emacs-debbugs
>>
>> But it doesn't get autoloaded, so I had to comment out this line in my .emacs file
>>
>> (add-to-list 'debbugs-gnu-all-packages "guix-patches")
>>
>> because otherwise when launching emacs it claims that "debbugs-gnu-all-packages" value is void
>
> If you put this
>
> (require 'debbugs-gnu)
>
> before '(add-to-list ...)' is should work.

No, no, do not require packages if you can avoid it!  This will really
slow emacs start time.  Well, of course, you are free to do whatever you
want, but I just can't see all the useless "require"s people have in
their configs.

Instead you can use 'with-eval-after-load' or 'eval-after-load' or
'use-package' <https://github.com/jwiegley/use-package>.

-- 
Alex

  parent reply	other threads:[~2017-03-02 21:33 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-02 11:51 Emacs autoloads Catonano
2017-03-02 13:13 ` Thomas Danckaert
2017-03-02 21:31   ` Alex Kost
2017-03-02 13:35 ` Federico Beffa
2017-03-02 14:42   ` Catonano
2017-03-02 17:55     ` Federico Beffa
2017-03-02 21:33   ` Alex Kost [this message]
2017-03-02 21:30 ` Alex Kost
2017-03-02 23:49   ` Catonano

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=871suf9xe3.fsf@gmail.com \
    --to=alezost@gmail.com \
    --cc=beffa@ieee.org \
    --cc=help-guix@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.