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