From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Donald Curtis Newsgroups: gmane.emacs.devel Subject: pkg-autoloads.el no longer `provides' anything? Date: Mon, 18 Nov 2013 11:33:15 -0800 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11336d90eec4a004eb78a02c X-Trace: ger.gmane.org 1384803237 7322 80.91.229.3 (18 Nov 2013 19:33:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 18 Nov 2013 19:33:57 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 18 20:34:02 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ViUaA-0003Ot-Ky for ged-emacs-devel@m.gmane.org; Mon, 18 Nov 2013 20:34:02 +0100 Original-Received: from localhost ([::1]:45563 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ViUaA-0004Dx-9K for ged-emacs-devel@m.gmane.org; Mon, 18 Nov 2013 14:34:02 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55757) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ViUa6-0004Dn-LR for emacs-devel@gnu.org; Mon, 18 Nov 2013 14:33:59 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ViUa5-0005V7-Ou for emacs-devel@gnu.org; Mon, 18 Nov 2013 14:33:58 -0500 Original-Received: from mail-la0-x231.google.com ([2a00:1450:4010:c03::231]:33306) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ViUa5-0005UQ-GZ for emacs-devel@gnu.org; Mon, 18 Nov 2013 14:33:57 -0500 Original-Received: by mail-la0-f49.google.com with SMTP id er20so5235209lab.36 for ; Mon, 18 Nov 2013 11:33:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:from:date:message-id:subject:to:content-type; bh=MO6cylpOdmGF3Nd9KRZCDfq5W61DAAiwiypbL6kiJj4=; b=iFD4mhBDK6jqmwgqY2MacZ1sa3NtPBWWhMD8t+eId2IoB8Nkga5uJdLxRx3n9krTC+ 4WkU6zhvN73Oi8H88sa7WX3c1ViD6kgJUWpty7wp5SI0/l5KUke23dPkDCTGJgemJgKI jHP1utD7B9GrYdjmdl+z00GsafLP7/1FTBZTNR5Xpb66ZUCzYkcUtb+qtNMPvQrAvVxx CUkQDio1KyBYIqJx817A0U+KPJ5/l/RoSb8Au0AHxZrIWfD0/50hEFDJCdMkpUoQPwyh 9ZmEd25SvTd2CgXqB98VgX6iS3GePWPEmSwcvsoyIsFoqqe5dp22CXVLDMO+zrO4q/dS ZyNQ== X-Received: by 10.152.163.69 with SMTP id yg5mr2610179lab.33.1384803235445; Mon, 18 Nov 2013 11:33:55 -0800 (PST) Original-Received: by 10.112.255.11 with HTTP; Mon, 18 Nov 2013 11:33:15 -0800 (PST) X-Google-Sender-Auth: a0J3IaQY9EVNKbLmSwL0qqegMhY X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c03::231 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:165336 Archived-At: --001a11336d90eec4a004eb78a02c Content-Type: text/plain; charset=UTF-8 I haven't been monitoring the mailing list but I noticed a lot of new changes to package.el. One is that now the generated *-autoloads.el file doesn't contain (provides 'pkg-autoloads). Was this something that was intentional or something that got lost along the way. I like having this because it allows me to use (eval-after-load 'pkg-autoloads ...) in my init.el and only conditionally evaluate code when a package is actually installed. I realize I can now use (when (package-installed-p 'pkg) ..) now but the nice thing about the `eval-after-load` is that it evaluates when I install the package from list-packages. If it is an optimization for load time I am happy to work around it but if it was unintended I can file a bug and maybe we can get it back. --001a11336d90eec4a004eb78a02c Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I haven't been monitoring the mailing list but I notic= ed a lot of new changes to package.el. One is that now the generated *-auto= loads.el file doesn't contain (provides 'pkg-autoloads). =C2=A0Was = this something that was intentional or something that got lost along the wa= y.

I like having this because it allows me to use (eval-after-l= oad 'pkg-autoloads ...) in my init.el and only conditionally evaluate c= ode when a package is actually installed. I realize I can now use (when (pa= ckage-installed-p 'pkg) ..) now but the nice thing about the `eval-afte= r-load` is that it evaluates when I install the package from list-packages.=

If it is an optimization for load time I am happy to wo= rk around it but if it was unintended I can file a bug and maybe we can get= it back.
--001a11336d90eec4a004eb78a02c--