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: Re: package.el Date: Tue, 22 May 2007 00:50:14 +0100 Message-ID: <1122B7CB-0AA2-475F-847B-A5D0B2FA2B05@gmail.com> 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 1179791426 30837 80.91.229.12 (21 May 2007 23:50:26 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 21 May 2007 23:50:26 +0000 (UTC) To: tromey@redhat.com, emacs- devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue May 22 01:50:25 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 1HqHdw-0007G6-Tm for ged-emacs-devel@m.gmane.org; Tue, 22 May 2007 01:50:25 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HqHdw-0007S5-HV for ged-emacs-devel@m.gmane.org; Mon, 21 May 2007 19:50:24 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HqHdt-0007Rv-Hj for emacs-devel@gnu.org; Mon, 21 May 2007 19:50:21 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HqHds-0007RW-0f for emacs-devel@gnu.org; Mon, 21 May 2007 19:50:21 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HqHdr-0007RT-Qs for emacs-devel@gnu.org; Mon, 21 May 2007 19:50:19 -0400 Original-Received: from ug-out-1314.google.com ([66.249.92.170]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HqHdr-0007zc-De for emacs-devel@gnu.org; Mon, 21 May 2007 19:50:19 -0400 Original-Received: by ug-out-1314.google.com with SMTP id j3so80711ugf for ; Mon, 21 May 2007 16:50:17 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:mime-version:in-reply-to:references:content-type:message-id:content-transfer-encoding:from:subject:date:to:x-mailer; b=nskePK+RFeae3q0XXhYJVmtglbtPmmitFNicKNfzh4acWKGFaGa5JC/8NVoMVBKNd4MWAwJDixdVR6HwANnIF6ICYHCu15Ae/8A2pXdPDv1sLPouI9982jiW0Myb24a3m2/J6QMzeY3GdxkUSIAokvQSMqtXalY/ojcAgsbICzg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:mime-version:in-reply-to:references:content-type:message-id:content-transfer-encoding:from:subject:date:to:x-mailer; b=J2qF4ZfYSs6+ST80HwOJ0udAEZbQeShAWLfRxPJ7pWW7mrqQM1rsmdEdalCAvaO10keBjbTAtLnu8l/kXfYizPDDtGHB4nxI20/++PGDDLSApxLTKdDU9W8T75y/7pwpbX4GDcIc1ra0LgIzUF5TAbFVb77r4wQxXZwxvU/OGBc= Original-Received: by 10.67.119.9 with SMTP id w9mr150755ugm.1179791417009; Mon, 21 May 2007 16:50:17 -0700 (PDT) Original-Received: from ?10.5.5.200? ( [84.9.228.229]) by mx.google.com with ESMTP id c25sm613808ika.2007.05.21.16.50.16; Mon, 21 May 2007 16:50:16 -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:71556 Archived-At: On 21 May 2007, at 23:51, Tom Tromey wrote: > I simply followed existing practice that I found in Emacs. FWIW I > think it would make sense to make this a customizable setting used > everywhere that "~/.emacs.d" is currently used. > Does Aquamacs have a setting for this? package.el could conditionally > use that. No, and I think we should just come up with a setting in the trunk rather than making a change downstream. It's only a handful of places where "~/emacs.d" is assumed (as default). > Currently this is done by loading the "-pkg.el" file from the package, > which then invokes define-package. ..but that would mean that each package has to have an extra file. Many packages consist of only a single .el source file, which then doesn't even need to be tar'ed for distribution. > I don't see how feature-version would be defined until a package is > loaded -- but that is what we want to avoid. How about looking for some tags ;; pkg:define and ;; pkg:end inside the source file, and then evaluating only what's within those tags?