On Sat, 2007-09-08 at 17:33 +0300, Petteri Räty wrote: > Would it be possible to have one set of eclasses that handles both > XEmacs and Emacs? Possible, yes, but I don't think it is practical. Even though the general steps to compile and install elisp are the same for GNU Emacs and XEmacs, there are also a lot of finicky little implementation details that are different. There would not be a lot of joined code, I think. > xemacs-elisp-install () { insinto etc should be wrapper in a subshell so > that it can't change the env of the caller. While looking for some examples I found that not many eclasses currently do this, so perhaps this is good advice for others as well? Petteri's own java-utils-2.eclass does support this, obviously, and so will the xemacs eclass. Kind regards, Hans