From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jonas Bernoulli Newsgroups: gmane.emacs.devel Subject: Re: Integrating package.el Date: Mon, 1 Mar 2010 21:59:30 +0100 Message-ID: <201bac3a1003011259t9ea3274t839de6c25461cd7d@mail.gmail.com> References: <8763795zsh.fsf@hagelb.org> <87r5pmwcf8.fsf@hagelb.org> <87ocjh2hyp.fsf@lifelogs.com> <873a0qxrd1.fsf@lifelogs.com> <87635gqe8k.fsf@lifelogs.com> <201bac3a1003010832n4973a6d5s29d3db5de84c4c41@mail.gmail.com> <871vg4q80n.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1267477211 24449 80.91.229.12 (1 Mar 2010 21:00:11 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 1 Mar 2010 21:00:11 +0000 (UTC) Cc: emacs-devel@gnu.org To: Ted Zlatanov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Mar 01 22:00:07 2010 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.69) (envelope-from ) id 1NmCie-0003z2-Ji for ged-emacs-devel@m.gmane.org; Mon, 01 Mar 2010 22:00:00 +0100 Original-Received: from localhost ([127.0.0.1]:48502 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NmCie-0004Uv-4S for ged-emacs-devel@m.gmane.org; Mon, 01 Mar 2010 16:00:00 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NmCiX-0004RX-Oa for emacs-devel@gnu.org; Mon, 01 Mar 2010 15:59:53 -0500 Original-Received: from [140.186.70.92] (port=33151 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NmCiW-0004QY-TC for emacs-devel@gnu.org; Mon, 01 Mar 2010 15:59:53 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NmCiV-0004nV-O1 for emacs-devel@gnu.org; Mon, 01 Mar 2010 15:59:52 -0500 Original-Received: from mail-wy0-f169.google.com ([74.125.82.169]:43605) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NmCiV-0004nQ-Hw for emacs-devel@gnu.org; Mon, 01 Mar 2010 15:59:51 -0500 Original-Received: by wyb29 with SMTP id 29so61586wyb.0 for ; Mon, 01 Mar 2010 12:59:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:from:date:x-google-sender-auth:message-id:subject:to:cc :content-type:content-transfer-encoding; bh=DbImhgSvfewx6ukLhvp2VFQYrtil8lNPmckYAMjNzzk=; b=NPoPvKb5/hXMVdky7i4zll9HlsDpepm2goN6rf72E8Kso0sd8xzaQaxH5wjHWN5pGi xKu9j8VLH2qzhvWRbNo1fOoTmIgL8ri7+/A+h8AhiMD+aLVLQreHHZgedfuvcZDQK84F 4DB2DrVVAxfb2DvCEoVT8yjfzvCfXVvVBGjps= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding; b=cbvWg0ZKiFEtdDFoGBrn2TCM8DXtx9M0W+jhvWynytzAph52o+LFIYPHLTKV+UJzf1 5N5gjdqpwF1FiuDCFQUJaGzfTRveU733YPyJ7ElCayldnCsw/gW0o8Wuy6XJ4yO7IX2R yZcmi2I/GYeamfkfHqSNyR1TgxS4bq0VcEZug= Original-Received: by 10.216.89.5 with SMTP id b5mr2459708wef.143.1267477190142; Mon, 01 Mar 2010 12:59:50 -0800 (PST) In-Reply-To: <871vg4q80n.fsf@lifelogs.com> X-Google-Sender-Auth: cb59165759b242a0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:121511 Archived-At: 2010/3/1 Ted Zlatanov : > On Mon, 1 Mar 2010 17:32:21 +0100 Jonas Bernoulli wr= ote: > > JB> (I am rather confused by the mixture of quoting styles.) >>>>> Emacs could recognize the Version header and always track it internal= ly >>>>> when it loads a library file, maybe with a (version . "1.2") in the >>>>> load-history. =C2=A0That would help a lot, I think. > > JB> Absolutely. However this information is missing from a lot of > JB> libraries. Also even if library contain version information it is > JB> still uncommon that libraries state what version of their > JB> dependencies are actually required. =C2=A0Cedet contains something li= ke > JB> this - has this portion of cedet been merged into 23.2? > > We have to start somewhere. =C2=A0Tracking dependencies is not possible u= ntil > versions are consistent so I think it's OK to use (version . nil) in the > load-history for the libraries that don't have a version header. Yes. > Does elm.el support that scheme as package.el does, distinguishing > between package installation (with a versioned install dir) and package > activation? No, it is not a package manager it doesn't care if a package is installed it just needs to know where the sources are and then extracts information from it. elx.el and lisp-mnt.el are used to extract information from individual pack= ages. elm.el is used to collect, check and store that information. If I write a package manager it will be called epkg until (and if) it can be merged with package.el. -- Jonas