emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: package.el


From: David Reitter
Subject: Re: package.el
Date: Tue, 22 May 2007 00:50:14 +0100

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?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]