>>>>> "Martin" == Martin Buchholz <martin(a)xemacs.org> writes:
>>>>> "Jeff" == Jeff Miller <jmiller(a)smart.net> writes:
>>>>> "sb" == SL Baur <steve(a)xemacs.org> writes:
sb> [redirected to xemacs-beta]
sb> gnuserv in XEmacs isn't installed into a user-visible directory and
sb> the XEmacs architecture specific directory should get prepended to the
sb> search patch, right?
Jeff> I suggested this a long time ago. This would also fix a lot of the
Jeff> movemail problems, or any other exe where we're expecting a certain
Jeff> version of something. Right now, old tm installations, gnats, metamail
Jeff> etc can potentially screw us over.
Martin> Whether progs in exec-directory are run without benefit of PATH is a
Martin> judgment call.
Martin> The `gnuserv' executable is tightly bound to the XEmacs it works with,
Martin> so gnuserv should be executed directly from `exec-directory', without
Martin> using PATH.
Martin> `movemail' in `exec-directory', on the other hand, is less likely to
Martin> be an improvement on the movemail earlier in the PATH. In particular,
Martin> it is less likely to be properly setgid. So movemail should be
Martin> exec'ed using PATH.
We discussed these issues awhile ago. The real problem is that XEmacs
messes with `exec-path' at all because a number of packages execute
things off it which come from lib-src.
For 21.2, I suggest that we:
1. Generate `exec-path' from $PATH, and don't change anything.
2. See to it that packages use `exec-directory' for stuff from lib-src.
3. Move movemail into the main bin directory, and search for it
through `exec-path', as Martin suggests.
Certainly, prepending architecture-specific stuff to `exec-path' is
bad juju.
--
Cheers =8-} Chipsy
Friede, Völkerverständigung und überhaupt blabla