* Steven Elliot Harris <seh(a)panix.com> writes:
,----
| Symbol's value as variable is void: emacs-data-roots
`----
I haven't looked into this yet (I will later), but...
The form (packages-compute-package-locations user-init-directory)
looks promising, though:
,----
| (("~/.xemacs/mule-packages" early #<compiled-function nil
"...(4)" [featurep mule] 2>)
| ("~/.xemacs/xemacs-packages" early #<compiled-function nil
"...(2)" [t] 1>)
| ("site-packages" late #<compiled-function nil "...(2)" [t]
1>)
| ("infodock-packages" late #<compiled-function nil "...(4)"
[featurep infodock] 2>)
| ("mule-packages" late #<compiled-function nil "...(4)"
[featurep mule] 2>)
| ("xemacs-packages" late #<compiled-function nil "...(2)" [t]
1>))
`----
...*THWACK!* <palm of hand to forehead>. XEmacs 21.4 doesn't support
`site-packages' directory under `user-init-directory'. This is a bug
in XEmacs and needs to be fixed. And it is fixed in a patch that I
submitted months ago that _still_ hasn't been applied.
The reason it didn't dawn on me straight away is that I have been
running with the patch that adds site-packages under
user-init-directory to the default package path for so long that I
forgot that it wasn't in the release version of XEmacs.
Hassle Vin. :-)
Steven, in the meantime you can work around your original problem
with...
(let* ((dir (file-name-as-directory
(expand-file-name "path/to/your/gnus" user-init-directory)))
(autos (expand-file-name "auto-autoloads.elc" dir))
(customs (expand-file-name "custom-load.elc" dir)))
(push dir load-path)
(if (file-exists-p autos)
(load-file autos))
(if (file-exists-p customs)
(load-file customs)))
Please accept my apologies for not realising what the problem was a
lot sooner.
--
|---<Steve Youngs>---------------<GnuPG KeyID: A94B3003>---|
| XEmacs - The only _______ you'll ever need. |
| Fill in the blank, yes, it's THAT good! |
|------------------------------<sryoungs(a)bigpond.net.au>---|