>>>> "Stef" == Stef Epardaud
<stef(a)lunatech.com> writes:
Stef> On Mon, Aug 23, 1999 at 02:23:00PM +0200, Michael Sperber [Mr. Preprocessor]
wrote:
>
> This looks wrong. Packages go into a package hierarchy, and ~/.xemacs
> isn't one. The general concept of having a single package hierarchy
> into which user packages go is broken by now. Actually, looking at
> package-get.el (for the first time), the entire logic associated with
> `package-get-user-package-location' is complete bogus.
>
Stef> i agree, it might be that the problem is elsewhere, but the fact is that
Stef> package-get.el tries to store the package index into your .xemacs/
Stef> directory. i have nothing against that, except it cannot be and will
Stef> never be a directory whose absolute path is "/.xemacs/" because noone
Stef> will have a ".xemacs/" at the root of the filesystem.
Stef> i agree it should be updating package-index.LATEST.pgp somewhere else
Stef> than in ~/.xemacs/etc/package-index.LATEST.pgp but when that someone
Stef> wrote the bit where it wanted to store it there, he didn't mean in
Stef> /.xemacs/etc/package-index.LATEST.pgp but probably something like
Stef> /usr/local/lib/xemacs/xemacs-packages/etc/package-index.LATEST.pgp
Stef> it just seemed to me that it aimed for the user's package dir, and
Stef> didn't get it correctly, so i helped it.
Stef> but i realize that the concept is wrong, and it should aim at the site
Stef> directory for packages. it was just probably faster to do what i did,
Stef> but wrong i agree.
Well, if you want to really fix the problem, you need to coordinate
the workings of `package-get-user-package-location',
`package-get-maybe-save-index', and `package-get-locate-index-file'.
Especially the latter is totally sloppy and should be rewritten.
I may get to this next weekend, not before, however.
I suspect that the user-local package index really should go into
~/.xemacs/package-index.LATEST.pgp (since it transcends package
hierarchies).
There's clearly a blatant bug here, but I'd rather leave this eyesore
in to remind people things are really broken here, rather than going
for the quick fix.
--
Cheers =8-} Mike
Friede, Völkerverständigung und überhaupt blabla