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: Bundling GNU ELPA packages Date: Fri, 07 Nov 2014 19:43:34 +0100 Organization: Linux Private Site Message-ID: <87y4rm6ecp.fsf@Rainer.invalid> References: <877fz8ktio.fsf@Rainer.invalid> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1415385851 16479 80.91.229.3 (7 Nov 2014 18:44:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 7 Nov 2014 18:44:11 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Nov 07 19:44:05 2014 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 1XmoVw-0007JN-Om for ged-emacs-devel@m.gmane.org; Fri, 07 Nov 2014 19:44:04 +0100 Original-Received: from localhost ([::1]:33424 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XmoVw-0001zA-CZ for ged-emacs-devel@m.gmane.org; Fri, 07 Nov 2014 13:44:04 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57206) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XmoVn-0001yA-Ge for emacs-devel@gnu.org; Fri, 07 Nov 2014 13:44:01 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XmoVh-00021r-97 for emacs-devel@gnu.org; Fri, 07 Nov 2014 13:43:55 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:48980) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XmoVh-00021d-2S for emacs-devel@gnu.org; Fri, 07 Nov 2014 13:43:49 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XmoVd-00072M-42 for emacs-devel@gnu.org; Fri, 07 Nov 2014 19:43:45 +0100 Original-Received: from pd9eb3455.dip0.t-ipconnect.de ([217.235.52.85]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 07 Nov 2014 19:43:45 +0100 Original-Received: from Stromeko by pd9eb3455.dip0.t-ipconnect.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 07 Nov 2014 19:43:45 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 34 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: pd9eb3455.dip0.t-ipconnect.de User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) Cancel-Lock: sha1:k9tmHBfWCVWQX+af/EM9jJyrvKc= 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:176550 Archived-At: Stefan Monnier writes: > While there is no UI for it, package.el can definitely handle > site-wide packages: just add the corresponding directory to > package-directory-list. And /usr/local/share/emacs/site-lisp/elpa is > included in there by default. That might take care of adding a package into site-lisp, but unless I'm mistaken there is no obvious way for the user to "delete" such a package (unless he's got write access to site-lisp) or even just chose a different version. Yes you can fiddle with the data structures, but that is too error-prone, I'd think. > I'm not sure exactly what kind of "configuration of which packages are > available" you're thinking of, but I don't plan to provide a way to > "disable" bundled packages, just like we currently don't offer a way to > disable the things "activated" in lisp/loaddefs.el. I'm thinking of a site administrator who wants to have a customized selection of packages available, perhaps for multiple versions of Emacs; without foisting that default on any user who might want or need different packages. So there needs to be a way to override the selection of packages that came with Emacs on a site-wide basis and then again on a per-user basis. A user needs to be able to update the packages she added, while the site administrator needs to be able to do the same for the site collection, independently of each other. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Waldorf MIDI Implementation & additional documentation: http://Synth.Stromeko.net/Downloads.html#WaldorfDocs