From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Reitter Newsgroups: gmane.emacs.devel Subject: package.el (was: Re: CVS is the `released version') Date: Mon, 21 May 2007 11:17:54 +0100 Message-ID: References: <2cd46e7f0705101124r72000f78xdf05d18ca815ca57@mail.gmail.com> <17991.47259.210100.801472@localhost.localdomain> <85d50wq6a9.fsf@lola.goethe.zz> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1179742700 9747 80.91.229.12 (21 May 2007 10:18:20 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 21 May 2007 10:18:20 +0000 (UTC) Cc: emacs- devel To: tromey@redhat.com Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon May 21 12:18:18 2007 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 1Hq4y1-0004Kn-OO for ged-emacs-devel@m.gmane.org; Mon, 21 May 2007 12:18:18 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hq4y1-0006pm-6Z for ged-emacs-devel@m.gmane.org; Mon, 21 May 2007 06:18:17 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Hq4xw-0006nV-DQ for emacs-devel@gnu.org; Mon, 21 May 2007 06:18:12 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Hq4xu-0006mx-IZ for emacs-devel@gnu.org; Mon, 21 May 2007 06:18:11 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hq4xu-0006mu-FL for emacs-devel@gnu.org; Mon, 21 May 2007 06:18:10 -0400 Original-Received: from ug-out-1314.google.com ([66.249.92.168]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Hq4xu-0005Oi-6b for emacs-devel@gnu.org; Mon, 21 May 2007 06:18:10 -0400 Original-Received: by ug-out-1314.google.com with SMTP id j3so983638ugf for ; Mon, 21 May 2007 03:18:08 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:in-reply-to:references:mime-version:content-type:message-id:cc:content-transfer-encoding:from:subject:date:to:x-mailer; b=JG+fMBJ7FPiAHFBH2Ns5NMqxo3xreWCRmz1ZkPg2WDxsmZomJjGcwRpA65k2M1ezq6EIsqw4alo2iHBlwrxYSACkd/SjqClSy5RzVeXtkpK2nJx7Q3vKrZOSXMRqQQw+6CZ98lyiNcKR4lbagsyUyDCJScDy3hmy6EbamlcOy+8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:in-reply-to:references:mime-version:content-type:message-id:cc:content-transfer-encoding:from:subject:date:to:x-mailer; b=DjaoWqXWiDpokm/nRmSc76gpi3JE1SuH+IzM/8rx1R8KIJywrdhFV9kz5j2ycJ+VLbtjkvp1HyPH2AtdyRNefRwPcEvdgFOCIJ1ndd1J30ZYQ/fpAEEiCuW4BmO4E/QpoA+rH7s5swNO8qddirZBq0fagQR1uuaZv7eP5IKIMIo= Original-Received: by 10.66.225.1 with SMTP id x1mr3329745ugg.1179742676906; Mon, 21 May 2007 03:17:56 -0700 (PDT) Original-Received: from ?129.215.174.81? ( [129.215.174.81]) by mx.google.com with ESMTP id o30sm7422225ugd.2007.05.21.03.17.56; Mon, 21 May 2007 03:17:56 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.752.2) X-detected-kernel: Linux 2.4-2.6 (Google crawlbot) 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:71476 Archived-At: Hi Tom, I just had a look at package.el. A few comments: The install instructions say: > If you don't know what "eval" means, it means that you should copy > this into your *scratch* buffer, move your cursor just after the > final closing paren, and type C-j. *scratch* is not guaranteed to be in emacs-lisp-mode. So C-j might not work. M-x eval-region would! From your installer file: > (expand-file-name "~/.emacs.d/elpa") please don't assume that this directory is something where you can (or the user wants to) install things. There should be a customization variable for this. This applies to package.el itself as well, where you have a defvar, not a defcustom, for package-user-dir. In package.el, I'm not sure what's going on with `package-activated- list', but you seem to make assumptions about which packages are installed by default. Does your code also check for actually installed files? Emacs distributions may come with other things like AUCTeX, JDEE, and many other packages already installed (and this may or may not have been done in a way compatible with package.el). I hope that helps, and keep working on this - I think it's a good idea.