> And what about for example, emacs that uses the libexec program > (executables that are not supposed to be run by a user directly, and > thus not found in PATH) movemail. How would emacs find this in a > dynamic manner? Currently it looks at a variable called exec-path > that contains, amongst other, LIBEXECDIR/ which is set during > configure/compile time.
instead, LIBEXECDIR would be set at runtime, relative to the emacs invoked binary. Won't work, where do I find libexec if I put my emacs binary in ~/? Where is libexec relative to that? What about where all the shared data is? (emacs does support setting a different version of movemail using the rmail-movemail-program variable, but we are talking about totally dynamic look up here so that isn't relevant)
