From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Kost Subject: Re: Emacs autoloads Date: Fri, 03 Mar 2017 00:33:40 +0300 Message-ID: <871suf9xe3.fsf@gmail.com> References: <87innrn6no.fsf@lupo.i-did-not-set--mail-host-address--so-tickle-me> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58620) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cjYM6-0001BE-Dn for help-guix@gnu.org; Thu, 02 Mar 2017 16:33:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cjYM3-0003jo-Aa for help-guix@gnu.org; Thu, 02 Mar 2017 16:33:46 -0500 Received: from mail-lf0-x244.google.com ([2a00:1450:4010:c07::244]:35463) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cjYM3-0003j3-3H for help-guix@gnu.org; Thu, 02 Mar 2017 16:33:43 -0500 Received: by mail-lf0-x244.google.com with SMTP id v2so442010lfi.2 for ; Thu, 02 Mar 2017 13:33:42 -0800 (PST) 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") List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Federico Beffa Cc: help-guix Federico Beffa (2017-03-02 14:35 +0100) wrote: > Catonano 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' . -- Alex