From mboxrd@z Thu Jan 1 00:00:00 1970 From: Catonano Subject: Emacs autoloads Date: Thu, 2 Mar 2017 12:51:13 +0100 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=94eb2c1b45dcc56fa10549be0bf0 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42555) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cjPGP-00055m-SJ for help-guix@gnu.org; Thu, 02 Mar 2017 06:51:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cjPGO-0003lW-QT for help-guix@gnu.org; Thu, 02 Mar 2017 06:51:17 -0500 Received: from mail-wr0-x234.google.com ([2a00:1450:400c:c0c::234]:33209) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cjPGO-0003hr-J3 for help-guix@gnu.org; Thu, 02 Mar 2017 06:51:16 -0500 Received: by mail-wr0-x234.google.com with SMTP id u48so50235896wrc.0 for ; Thu, 02 Mar 2017 03:51:14 -0800 (PST) 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: help-guix --94eb2c1b45dcc56fa10549be0bf0 Content-Type: text/plain; charset=UTF-8 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 I have to manually launch debbugs and only after that I can manipulate said variable Not so with the Zenburn theme, though. That is available when .emacs is processed. Both are autoloaded, as you can see http://paste.lisp.org/display/340347 I know that Alex already discussed this but I can't find the email or maybe it was on the irc channel ? Sorry, I don't remember Thanks in advance --94eb2c1b45dcc56fa10549be0bf0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
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 "g= uix-patches")

because otherwise when launching emacs it c= laims that "debbugs-gnu-all-packages" value is void

= I have to manually launch debbugs and only after that I can manipulate said= variable

Not so with the Zenburn theme, though. That is = available when .emacs is processed.

Both are a= utoloaded, as you can see
http://paste.lisp.org/display/340347

I know= that Alex already discussed this but I can't find the email or maybe i= t was on the irc channel ? Sorry, I don't remember

Thanks = in advance
--94eb2c1b45dcc56fa10549be0bf0-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Federico Beffa Subject: Re: Emacs autoloads Date: Thu, 02 Mar 2017 14:35:07 +0100 Message-ID: <87innrn6no.fsf@lupo.i-did-not-set--mail-host-address--so-tickle-me> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56135) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cjQsz-0007s0-3l for help-guix@gnu.org; Thu, 02 Mar 2017 08:35:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cjQsy-00042b-8N for help-guix@gnu.org; Thu, 02 Mar 2017 08:35:13 -0500 Received: from mail-wm0-x232.google.com ([2a00:1450:400c:c09::232]:38727) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cjQsy-000412-3A for help-guix@gnu.org; Thu, 02 Mar 2017 08:35:12 -0500 Received: by mail-wm0-x232.google.com with SMTP id t193so11674906wmt.1 for ; Thu, 02 Mar 2017 05:35:10 -0800 (PST) In-Reply-To: (catonano@gmail.com's message of "Thu, 2 Mar 2017 12:51:13 +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: Catonano Cc: help-guix 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. From mboxrd@z Thu Jan 1 00:00:00 1970 From: Catonano Subject: Re: Emacs autoloads Date: Thu, 2 Mar 2017 15:42:06 +0100 Message-ID: References: <87innrn6no.fsf@lupo.i-did-not-set--mail-host-address--so-tickle-me> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=94eb2c1b45dceab00b0549c06e2e Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34144) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cjRvl-0002VP-6A for help-guix@gnu.org; Thu, 02 Mar 2017 09:42:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cjRvk-000590-BX for help-guix@gnu.org; Thu, 02 Mar 2017 09:42:09 -0500 Received: from mail-wr0-x22e.google.com ([2a00:1450:400c:c0c::22e]:35126) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cjRvk-00058Z-4H for help-guix@gnu.org; Thu, 02 Mar 2017 09:42:08 -0500 Received: by mail-wr0-x22e.google.com with SMTP id g10so53701785wrg.2 for ; Thu, 02 Mar 2017 06:42:07 -0800 (PST) In-Reply-To: <87innrn6no.fsf@lupo.i-did-not-set--mail-host-address--so-tickle-me> 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 , Thomas Danckaert Cc: help-guix --94eb2c1b45dceab00b0549c06e2e Content-Type: text/plain; charset=UTF-8 2017-03-02 14:35 GMT+01:00 Federico Beffa : > 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. > Thank you Federico Isn't the autoload machinery meant to avoid the explicit require ? Not that it bothers me that much, just saying Thanks again ! Ciao --94eb2c1b45dceab00b0549c06e2e Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
2017-03-02 14:35 GMT+01:00 Federico Beffa <beffa@ieee.org>:
Catonano <catonano@gmail.com> writes:

> I installed emacs-debbugs
>
> But it doesn't get autoloaded, so I had to comment out this line i= n my .emacs file
>
> (add-to-list 'debbugs-gnu-all-packages "guix-patches") >
> because otherwise when launching emacs it claims that "debbugs-gn= u-all-packages" value is void

If you put this

(require 'debbugs-gnu)

before '(add-to-list ...)' is should work.

Thank you Federico<= br>
Isn't the autoload machinery me= ant to avoid the explicit require ?

Not that it bothers me that muc= h, just saying

Thanks again !
<= /div>
Ciao
--94eb2c1b45dceab00b0549c06e2e-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Danckaert Subject: Re: Emacs autoloads Date: Thu, 02 Mar 2017 14:13:40 +0100 (CET) Message-ID: <20170302.141340.1232963915291160557.post@thomasdanckaert.be> References: Mime-Version: 1.0 Content-Type: Text/Plain; charset=utf-8; format=flowed Content-Transfer-Encoding: base64 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46288) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cjQYU-00020q-GO for help-guix@gnu.org; Thu, 02 Mar 2017 08:14:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cjQYQ-00084H-Hm for help-guix@gnu.org; Thu, 02 Mar 2017 08:14:02 -0500 Received: from s02-out.spamexperts.axc.nl ([185.175.200.125]:58217) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cjQYQ-0007zu-Bl for help-guix@gnu.org; Thu, 02 Mar 2017 08:13:58 -0500 In-Reply-To: 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: catonano@gmail.com Cc: help-guix@gnu.org RnJvbTogQ2F0b25hbm8gPGNhdG9uYW5vQGdtYWlsLmNvbT4NClN1YmplY3Q6IEVtYWNzIGF1dG9s b2Fkcw0KRGF0ZTogVGh1LCAyIE1hciAyMDE3IDEyOjUxOjEzICswMTAwDQoNCj4gSSBpbnN0YWxs ZWQgZW1hY3MtZGViYnVncw0KPg0KPiBCdXQgaXQgZG9lc24ndCBnZXQgYXV0b2xvYWRlZCwgc28g SSBoYWQgdG8gY29tbWVudCBvdXQgdGhpcyBsaW5lIGluDQo+IG15IC5lbWFjcyBmaWxlDQo+DQo+ IChhZGQtdG8tbGlzdCAnZGViYnVncy1nbnUtYWxsLXBhY2thZ2VzICJndWl4LXBhdGNoZXMiKQ0K Pg0KPiBiZWNhdXNlIG90aGVyd2lzZSB3aGVuIGxhdW5jaGluZyBlbWFjcyBpdCBjbGFpbXMgdGhh dA0KPiAiZGViYnVncy1nbnUtYWxsLXBhY2thZ2VzIiB2YWx1ZSBpcyB2b2lkDQoNCkkgaGFkIHRo ZSBzYW1lIGlzc3VlLCBzb2x2ZWQgaXQgdXNpbmcg4oCcd2l0aC1ldmFsLWFmdGVyLWxvYWTigJ0s IGxpa2UgDQp0aGlzOg0KDQood2l0aC1ldmFsLWFmdGVyLWxvYWQgJ2RlYmJ1Z3MtZ251DQogICAo YWRkLXRvLWxpc3QgJ2RlYmJ1Z3MtZ251LWFsbC1wYWNrYWdlcyAiZ3VpeC1wYXRjaGVzIikpDQoN CkluIGZhY3QgSSBzZW50IGEgbWVzc2FnZSB0byBndWl4LWRldmVsIGFib3V0IHRoaXMsIGJ1dCBp dCBuZXZlciBtYWRlIA0KaXQgdGhyb3VnaC4uLg0KDQpUaG9tYXMNCg== From mboxrd@z Thu Jan 1 00:00:00 1970 From: Federico Beffa Subject: Re: Emacs autoloads Date: Thu, 02 Mar 2017 18:55:31 +0100 Message-ID: <877f47sgvg.fsf@lupo.i-did-not-set--mail-host-address--so-tickle-me> 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]:56170) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cjUwx-0004Qz-Pw for help-guix@gnu.org; Thu, 02 Mar 2017 12:55:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cjUwx-00057E-0l for help-guix@gnu.org; Thu, 02 Mar 2017 12:55:35 -0500 Received: from mail-wm0-x22f.google.com ([2a00:1450:400c:c09::22f]:38819) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cjUww-00056u-RQ for help-guix@gnu.org; Thu, 02 Mar 2017 12:55:34 -0500 Received: by mail-wm0-x22f.google.com with SMTP id t193so18785764wmt.1 for ; Thu, 02 Mar 2017 09:55:34 -0800 (PST) In-Reply-To: (catonano@gmail.com's message of "Thu, 2 Mar 2017 15:42:06 +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: Catonano Cc: Thomas Danckaert , help-guix Catonano writes: > Isn't the autoload machinery meant to avoid the explicit require ? As far as I understand 'autoload' tells Emacs that a function does exit and where to find it, without Emacs having to load the whole file https://www.gnu.org/software/emacs/manual/elisp.html#Autoload. It is used to tell Emacs about the most important functions such as 'debbugs-gnu'. It doesn't know about 'debbugs-gnu-all-packages' because it is not autoloaded (see debbugs-gnu.el). Once you load the whole file, you will see everything. Regards, Fede From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Kost Subject: Re: Emacs autoloads Date: Fri, 03 Mar 2017 00:30:57 +0300 Message-ID: <874lzb9xim.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57840) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cjYJW-0000aB-Mh for help-guix@gnu.org; Thu, 02 Mar 2017 16:31:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cjYJT-0002UK-Hf for help-guix@gnu.org; Thu, 02 Mar 2017 16:31:06 -0500 Received: from mail-lf0-x241.google.com ([2a00:1450:4010:c07::241]:33111) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cjYJT-0002Sf-8H for help-guix@gnu.org; Thu, 02 Mar 2017 16:31:03 -0500 Received: by mail-lf0-x241.google.com with SMTP id r36so6686160lfi.0 for ; Thu, 02 Mar 2017 13:31:01 -0800 (PST) In-Reply-To: (catonano@gmail.com's message of "Thu, 2 Mar 2017 12:51:13 +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: Catonano Cc: help-guix Catonano (2017-03-02 12:51 +0100) wrote: > I installed emacs-debbugs > > But it doesn't get autoloaded It does! You probably think that all functions and variables are autoloaded, but it's not the case. Autoloads are generated only for those symbols (usually interactive commands) that have ";;;###autoload" cookies. For example, look at "M-x find-library debbugs-gnu" and search for ";;;###autoload" there. > 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 Yes, because this variable is void indeed when your emacs config is loaded. Wrap such configurations of external Emacs packages inside 'with-eval-after-load' as Thomas suggested. -- Alex From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Kost Subject: Re: Emacs autoloads Date: Fri, 03 Mar 2017 00:31:56 +0300 Message-ID: <8737ev9xgz.fsf@gmail.com> References: <20170302.141340.1232963915291160557.post@thomasdanckaert.be> 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]:58084) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cjYKQ-0000t3-SL for help-guix@gnu.org; Thu, 02 Mar 2017 16:32:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cjYKN-0002xF-Lm for help-guix@gnu.org; Thu, 02 Mar 2017 16:32:02 -0500 Received: from mail-lf0-x243.google.com ([2a00:1450:4010:c07::243]:35319) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cjYKN-0002vL-Eb for help-guix@gnu.org; Thu, 02 Mar 2017 16:31:59 -0500 Received: by mail-lf0-x243.google.com with SMTP id v2so439178lfi.2 for ; Thu, 02 Mar 2017 13:31:59 -0800 (PST) In-Reply-To: <20170302.141340.1232963915291160557.post@thomasdanckaert.be> (Thomas Danckaert's message of "Thu, 02 Mar 2017 14:13:40 +0100 (CET)") 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: Thomas Danckaert Cc: help-guix@gnu.org Thomas Danckaert (2017-03-02 14:13 +0100) wrote: > From: Catonano > Subject: Emacs autoloads > Date: Thu, 2 Mar 2017 12:51:13 +0100 > >> 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 > > I had the same issue, solved it using =E2=80=9Cwith-eval-after-load=E2=80= =9D, like this: This is not the issue, it is expected (see my answer to Catonano), and 'with-eval-after-load' is exactly what should be used in such cases. > (with-eval-after-load 'debbugs-gnu > (add-to-list 'debbugs-gnu-all-packages "guix-patches")) > > In fact I sent a message to guix-devel about this, but it never made it > through... --=20 Alex 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 From mboxrd@z Thu Jan 1 00:00:00 1970 From: Catonano Subject: Re: Emacs autoloads Date: Fri, 3 Mar 2017 00:49:44 +0100 Message-ID: References: <874lzb9xim.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a114245066d7e950549c81534 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34112) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cjaTj-00048f-Ce for help-guix@gnu.org; Thu, 02 Mar 2017 18:49:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cjaTi-00081m-Lr for help-guix@gnu.org; Thu, 02 Mar 2017 18:49:47 -0500 Received: from mail-wm0-x22f.google.com ([2a00:1450:400c:c09::22f]:38041) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cjaTi-00081E-EK for help-guix@gnu.org; Thu, 02 Mar 2017 18:49:46 -0500 Received: by mail-wm0-x22f.google.com with SMTP id t193so3704430wmt.1 for ; Thu, 02 Mar 2017 15:49:46 -0800 (PST) In-Reply-To: <874lzb9xim.fsf@gmail.com> 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: Alex Kost Cc: help-guix --001a114245066d7e950549c81534 Content-Type: text/plain; charset=UTF-8 2017-03-02 22:30 GMT+01:00 Alex Kost : > Catonano (2017-03-02 12:51 +0100) wrote: > > > I installed emacs-debbugs > > > > But it doesn't get autoloaded > > It does! You probably think that all functions and variables are > autoloaded, but it's not the case. Autoloads are generated only for > those symbols (usually interactive commands) that have ";;;###autoload" > cookies. For example, look at "M-x find-library debbugs-gnu" and search > for ";;;###autoload" there. > > > 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 > > Yes, because this variable is void indeed when your emacs config is > loaded. Wrap such configurations of external Emacs packages inside > 'with-eval-after-load' as Thomas suggested. > Thanks so much for clarifying, Alex --001a114245066d7e950549c81534 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
2017-03-02 22:30 GMT+01:00 Alex Kost <= ;alezost@gmail.com>:
Catonano (2017-03-02 12:51 +01= 00) wrote:

> I installed emacs-debbugs
>
> But it doesn't get autoloaded

It does!=C2=A0 You probably think that all functions and variables a= re
autoloaded, but it's not the case.=C2=A0 Autoloads are generated only f= or
those symbols (usually interactive commands) that have ";;;###autoload= "
cookies.=C2=A0 For example, look at "M-x find-library debbugs-gnu"= ; and search
for ";;;###autoload" there.

> 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

Yes, because this variable is void indeed when your emacs config is<= br> loaded.=C2=A0 Wrap such configurations of external Emacs packages inside 'with-eval-after-load' as Thomas suggested.<= font color=3D"#888888">

T= hanks so much for clarifying, Alex

--001a114245066d7e950549c81534--