From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Achim Gratz Newsgroups: gmane.emacs.devel Subject: Re: ELPA and core services Date: Tue, 22 Jan 2013 20:13:06 +0100 Organization: Linux Private Site Message-ID: <87k3r5ghfh.fsf@Rainer.invalid> References: <87vcij7rvi.fsf@mithlond.arda> <82d34r8ej9.fsf@gmail.com> <87r4t4zr9l@ch.ristopher.com> <87hau02alo.fsf@Rainer.invalid> <878vf0x63d.fsf@fleche.redhat.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1358882019 12256 80.91.229.3 (22 Jan 2013 19:13:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 22 Jan 2013 19:13:39 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jan 22 20:13:58 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 1TxjIB-0003gz-Qh for ged-emacs-devel@m.gmane.org; Tue, 22 Jan 2013 20:13:55 +0100 Original-Received: from localhost ([::1]:40689 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TxjHu-0001Ri-5a for ged-emacs-devel@m.gmane.org; Tue, 22 Jan 2013 14:13:38 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:54943) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TxjHo-0001R0-Vq for emacs-devel@gnu.org; Tue, 22 Jan 2013 14:13:35 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TxjHk-0002vL-IH for emacs-devel@gnu.org; Tue, 22 Jan 2013 14:13:32 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:44121) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TxjHk-0002uJ-BF for emacs-devel@gnu.org; Tue, 22 Jan 2013 14:13:28 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1TxjHy-0003UJ-Ba for emacs-devel@gnu.org; Tue, 22 Jan 2013 20:13:42 +0100 Original-Received: from pd9eb2f92.dip.t-dialin.net ([217.235.47.146]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 22 Jan 2013 20:13:42 +0100 Original-Received: from Stromeko by pd9eb2f92.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 22 Jan 2013 20:13:42 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 32 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: pd9eb2f92.dip.t-dialin.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.92 (gnu/linux) Cancel-Lock: sha1:wRTdWbU4/fg4VL6B62X8OB06FDc= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 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:156588 Archived-At: Tom Tromey writes: > Emacs should use the package.el activation code for cases where a > package is going to be distributed both in Emacs and separately. > That was my original intent; just nobody has implemented this on the > Emacs side. Sorry for digging up this old thread again, this is what I currently have in package-directory-list from emacs-24 pretest: ("/usr/local/share/emacs/24.2.92/site-lisp/elpa" "/usr/local/share/emacs/site-lisp/elpa" "/usr/share/emacs/site-lisp/elpa") This seems to collect the directories in reverse from load-path and other such variables (I don't know if the precedence is also in that order, but from a cursory look not) and it is missing a package directory for the Emacs installation, maybe it should be : "/usr/local/share/emacs/24.2.92/lisp/packages". Any Emacs core package that is also in ELPA would then be moved into …/packages and would be pre-activated unless the same package was present somewhere up the package directory list or the user explicitly deactivated that package. Is that what you had in mind? Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ SD adaptation for Waldorf microQ V2.22R2: http://Synth.Stromeko.net/Downloads.html#WaldorfSDada