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