From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Artur Malabarba Newsgroups: gmane.emacs.devel Subject: Re: Calling (package-initialize) sooner during initialization Date: Sun, 12 Apr 2015 17:23:06 +0100 Message-ID: References: <87sic5csuq.fsf@linux.vnet.ibm.com> Reply-To: bruce.connor.am@gmail.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11c364a69bf2c7051389690a X-Trace: ger.gmane.org 1428855805 17059 80.91.229.3 (12 Apr 2015 16:23:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 12 Apr 2015 16:23:25 +0000 (UTC) Cc: =?UTF-8?Q?Jorgen_Sch=C3=A4fer?= , Vasilij Schneidermann , emacs-devel To: "Aneesh Kumar K.V" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Apr 12 18:23:24 2015 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 1YhKfL-0007zc-OR for ged-emacs-devel@m.gmane.org; Sun, 12 Apr 2015 18:23:24 +0200 Original-Received: from localhost ([::1]:45805 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YhKfK-00089Q-Km for ged-emacs-devel@m.gmane.org; Sun, 12 Apr 2015 12:23:22 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57451) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YhKf7-000899-8z for emacs-devel@gnu.org; Sun, 12 Apr 2015 12:23:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YhKf5-0000Vk-Ph for emacs-devel@gnu.org; Sun, 12 Apr 2015 12:23:09 -0400 Original-Received: from mail-lb0-x22c.google.com ([2a00:1450:4010:c04::22c]:35673) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YhKf5-0000Vd-Hy for emacs-devel@gnu.org; Sun, 12 Apr 2015 12:23:07 -0400 Original-Received: by lbbuc2 with SMTP id uc2so43152750lbb.2 for ; Sun, 12 Apr 2015 09:23:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:sender:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=eStOaikZwWdA8vHwekKubF6HhAfJithoBp7LHGyieX0=; b=vJ2LuvGWMwOXXsMIQWkphDuFFO2xyryLr1HHnzgMv7Qnwn4d1uMjxXY+YPQjJJ8uK+ oCt0Xfgg8Bayr38wdk04qUQ2q52qNDjNduYJrcJGwHObXiFeeu810cI6oQpDP2+gJ4GS UUG45lZW7s9U379zgnFhhCxQxMZoHiSXWL68YbaVKMp84gM7P3eV0XBqcCsb5A9vE8br uLOXv2op2uZwP56OmnEWV08EJHR2TfiluhbSfuLbGALiDQ3YHxJNF4q+2RDnAZwZna3G 7+hjqDucV+aFa7SEJL5MzzgBh/FIiH5L3mmn8bbYsYvEqiDXjlAQc3ow5n9dh+vndlk6 AoVg== X-Received: by 10.152.87.204 with SMTP id ba12mr9865314lab.35.1428855786826; Sun, 12 Apr 2015 09:23:06 -0700 (PDT) Original-Received: by 10.25.150.131 with HTTP; Sun, 12 Apr 2015 09:23:06 -0700 (PDT) In-Reply-To: <87sic5csuq.fsf@linux.vnet.ibm.com> X-Google-Sender-Auth: Gb4ijekTTLL5ibWMPcFjJf0TxMI X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c04::22c 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:185347 Archived-At: --001a11c364a69bf2c7051389690a Content-Type: text/plain; charset=UTF-8 > I ran into an issue with using package.el along with use-package.el. I > had most of the packages installed via package.el . One of the main > benefit of using elpa is the easy upgrade of packages that elpa > offers. So it would be nice to have a facility that enables to add all > the installed packages to the load-path (dolist (it (directory-files package-user-dir 'full "^[^\\.].*-")) (when (file-directory-p it) (push it load-path))) --001a11c364a69bf2c7051389690a Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

> I ran into an issue with using package= .el along with use-package.el. I
> had most of the packages installed via package.el . One of the main > benefit of using elpa is the easy upgrade of packages that elpa
> offers. So it would be nice to have a facility that enables to add all=
> the installed packages to the load-path

(dolist (it = (directory-files package-user-dir 'full "^[^\\.].*-"))
=C2= =A0 (when (file-directory-p it)
=C2=A0=C2=A0=C2=A0 (push it load-path)))=

--001a11c364a69bf2c7051389690a--