Sorry, Skip, this was supposed to be reply to all I guess you'll get a dupe.
On 10/16/07, Stephen J. Turnbull <stephen(a)xemacs.org> wrote:
On 10/16/07, skip(a)pobox.com <skip(a)pobox.com> wrote:
> We recently switched from 21.4.something to 21.5.28 at work, mostly because
> the powers-that-be wanted to dump some older shared library to which 21.4
> was linked. I had built and installed 21.5.28 and was using it personally
> without any significant problems but hadn't yet made it the default.
GNU Emacs users should not share .emacs between XEmacs and GNU Emacs
unless they really know what they're doing.
I recommend moving to the .xemacs/init.el model because it separates init.el
from custom.el. The best way to do this is to just cp .emacs
.xemacs/init.el, then
copy the custom-set-* forms to .xemacs/custom.el and remove them from init.el.
After that XEmacs should ignore .emacs (but it's there as a backup, or for GNU
Emacs!) If you have significant custom-izations migration can be dangerous (I
think Mike has fixed the most recent problem, and most problems I can imagine,
but I'm not sure the risk of losing custom-izations is zero yet).
.xemacs is a reasonable place to keep shared init code, eg in
shared-init.el. Then
put (load-library "shared-init") in your .emacs and init.el.
custom.el may be sharable, but there are a number of tricks you can do
with faces
in GNU Emacs that don't work in XEmacs yet. It's probably preferable
to keep those
separate, too. (And I don't know if GNU Emacs will write
customizations to a file
other than .emacs.) Sorry.
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta