Jan Vroonhof wrote in xemacs-beta:
Jonathan Harris <jhar(a)tardis.ed.ac.uk> writes:
> Please don't do that [create the sumo bundle starting with lib/xemacs].
I was expecting this (however not for this reason).
> The appropriate path on native Windows systems
> doesn't include the lib/xemacs bit.
Why not. Where do the packages go under NT? Does it include just the
"xemacs/..." part
The current default installation layout for Windows native-build
attempts to vaguely conform to Windows conventions:
install_dir/XEmacs-21.0/etc
i386-pc-win32 <-- binaries here
info
lisp
lock
packages/etc
lisp
info
where install_dir="C:\Program Files\XEmacs" by default.
According to Michael Sperber's mail in this thread, "packages" ought to
be "xemacs-packages". There also ought to be a "site-packages"
directory
at this level, so after I've issued yet another last-minute patch the
tree will look like:
install_dir/XEmacs-21.0/etc
i386-pc-win32 <-- binaries here
info
lisp
lock
site-packages/...
xemacs-packages/...
My feeling is that as long as XEmacs thinks bindir/../xemacs is
special we better make sure this exists. It is easier to persuade
capable people to just rename the tree if they need it somewhere
different.
On Windows, there really isn't an equivalent of a shared binaries
directory like /usr/local/bin so, as you can see from the above tree,
bindir/../xemacs doesn't point to anything. Instead, XEmacs finds
packages using configure-package-path defined at build time and/or the
EMACSPACKAGEPATH variable defined at runtime.
I really hate it when tarfiles unpack in more than one directory, it
also very annoying when you have to unpack the binary, the common and
the sumo tarball in different directories.
I hadn't though of that. "xemacs/" would be an acceptable prefix for the
sumo bundle as far as Windows users are concerned, but less satisfactory
as far as UNIX users are concerned. The sumo bundle is only (I think) of
use to people on Windows who are building from source; the Windows
native binary bundle includes its own version of the sumo bundle. So
perhaps you should stick with "lib/xemacs" after all.
Jonathan.
--
Jonathan Harris | jhar(a)tardis.ed.ac.uk
London, England | Jonathan.Harris(a)symbian.com