From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Rupert Swarbrick Newsgroups: gmane.emacs.devel Subject: Re: Emacs Package Management Date: Sat, 19 Sep 2009 13:10:07 +0100 Message-ID: <87eiq316g0.fsf@gmail.com> References: <485b0c380808011427n4d3144eey3f8daf3abac83bf4@mail.gmail.com> <87d45vzt4j.fsf@hagelb.org> <87hbv20ybw.fsf@thinkpad.tsdh.de> <87d45p29zr.fsf@thinkpad.tsdh.de> <19124.17591.858644.388902@rgr.rgrjr.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Trace: ger.gmane.org 1253370218 23015 80.91.229.12 (19 Sep 2009 14:23:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 19 Sep 2009 14:23:38 +0000 (UTC) Cc: emacs-devel@gnu.org To: Bob Rogers Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Sep 19 16:23:30 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Mp0qX-0000Af-EH for ged-emacs-devel@m.gmane.org; Sat, 19 Sep 2009 16:23:29 +0200 Original-Received: from localhost ([127.0.0.1]:49350 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mp0qW-0004ak-Pl for ged-emacs-devel@m.gmane.org; Sat, 19 Sep 2009 10:23:28 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Moylq-00017G-RK for emacs-devel@gnu.org; Sat, 19 Sep 2009 08:10:30 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Moyll-000151-5M for emacs-devel@gnu.org; Sat, 19 Sep 2009 08:10:29 -0400 Original-Received: from [199.232.76.173] (port=45604 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Moylj-00014Z-18 for emacs-devel@gnu.org; Sat, 19 Sep 2009 08:10:23 -0400 Original-Received: from mail-ew0-f211.google.com ([209.85.219.211]:59175) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Moyli-0001SB-Gz for emacs-devel@gnu.org; Sat, 19 Sep 2009 08:10:22 -0400 Original-Received: by ewy7 with SMTP id 7so1914382ewy.31 for ; Sat, 19 Sep 2009 05:10:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:references :date:in-reply-to:message-id:user-agent:mime-version:content-type; bh=BxcJsWwdM9MqURAr/k8Bq8kgRFwJ63tQWc5IdEY2NsY=; b=Zqu4t2Lu9QE8fSf7L1EEebz8RQYN+vCGnO8OMsnLQE2KCgKMXWY8J2lQSCXmVPG/FP 4maSEZH2HJmHyhhVwoatpkqkyWlr4kVpXy6xd8OGlXWwWnPZHyOiR91Pj0bxNpI0ZNsy Qyn2b0MFq0owWSg+ZcEfNMeN8geDJLN6Q012s= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; b=ipleKTSTJID50Cd9OzyZYbMVHHH8VRxK5L3M7gn1848I0w/KYx1T8CWeSzwq/Lm0nH +UImFO3m1ILOKcH3D5KtJ/VdoqivPAtKjaxNwbXYl9gNzSXLy0TzUd+Sldoy2o7Y2lxW s37HXYH87g5TKD2PckoATC3dr9O86o1Q0E87Q= Original-Received: by 10.211.126.15 with SMTP id d15mr642832ebn.19.1253362221233; Sat, 19 Sep 2009 05:10:21 -0700 (PDT) Original-Received: from hake (cpc2-cove3-0-0-cust910.sol2.cable.ntl.com [86.20.35.143]) by mx.google.com with ESMTPS id 5sm5228300eyh.11.2009.09.19.05.10.18 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 19 Sep 2009 05:10:18 -0700 (PDT) In-Reply-To: <19124.17591.858644.388902@rgr.rgrjr.com> (Bob Rogers's message of "Fri, 18 Sep 2009 22:40:55 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-Mailman-Approved-At: Sat, 19 Sep 2009 10:23:22 -0400 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:115480 Archived-At: --=-=-= Bob Rogers writes: > From: Rupert Swarbrick > Date: Thu, 17 Sep 2009 12:50:04 +0100 > > . . . > > One thing to bear in mind is that shared libraries on unix are probably > a simpler problem than emacs libraries: I can install multiple versions > of libfoo and the dynamic linker will select the correct one for an > application. Trying to install multiple versions of an emacs package > would result in a godawful mess, because it's not just a list of > functions that can be called. > > I don't know how one could solve that, so I suspect that the only > solution is to only allow one version of a package at once . . . > > Rupert > > This does not seem so hard. If the "installed" location depended on the > Emacs version, e.g. by having the version number as part of the > directory name, then you could easily have one version of a package per > Emacs version. The downside is that if you want to have all X versions > of Emacs on a given system find the "same" package, you would have to > install that package X times. But this seems like a small price to pay > to be certain that each installed package version is known to work with > that version of Emacs -- and that it has been byte-compiled by the right > version of the byte compiler. Ah, sorry, I don't think I was clear. When I said "package" above, I meant elisp libraries. So, for example, maybe foo.el needs nxml version <= n to work, but bar.el needs nxml version >= n+1. Is it possible to install foo.el on my system? Rupert --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iJwEAQECAAYFAkq0yiAACgkQRtd/pJbYVoaOsAP/VD5lYl3Som3VYK+Uuv48GDHs aKVueScDBEVkAXq0KRrF/s1unQTaBjyRZyrXklkFukcO/qTPAohDL4TU3uypGuqN 6YtfbeHhFgEtyYrlKW8kmY1Wsu+oeSk65w5HftoC6YPmd7osQ+f3iwYpd1Fzjhqd E+nVEoLOeYL+qaABgas= =hTnu -----END PGP SIGNATURE----- --=-=-=--