Matt Garman writes:

Matt> You can use the same .emacs file everywhere, with XEmacs and GNU emacs
Matt> options defined. I have both flavors of emacs on my machine, and my
Matt> .emacs file is setup such that GNU emacs ignores the XEmacs stuff, and
Matt> XEmacs ignores the GNU emacs options. The XEmacs FAQ at
Matt> http://xemacs.cs.uiuc.edu/ has info on how to accomplish this.

        I think he meant (and he's right) that sometimes it's necessary to
write different pieces of code to achieve the same functionality under both
Emacsen. A constant effort is done to preserve compatibility, especially in
the semantics of the Elisp functions and their user interface, but diverging a
bit is unfortunately something unavoidable. Even the bytecode is becoming
incompatible these days...

        However, soon you're going to have a `fsf-compat' package under XEmacs 
which will take care of translating Emacs calls into XEmacs ones.

-- 
    /     /   _   _       Didier Verna        http://www.inf.enst.fr/~verna/
 - / / - / / /_/ /      E.N.S.T. INF C201.1      mailto:[EMAIL PROTECTED]
/_/ / /_/ / /__ /        46 rue Barrault        Tel.   (33) 01 45 81 73 46
                      75634 Paris  cedex 13     Fax.   (33) 01 45 81 31 19

Reply via email to