I'm unclear what to do w.r.t. ~/.emacs & ~/.xemacs/init.el

Adrian Aichner adrian at xemacs.org
Tue Oct 16 15:09:57 EDT 2007


skip at pobox.com writes:

> 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.
>
> Now that it's loose in the wild the occasional problem/question from users
> pops up.  Today, one guy complained about problems with cut-n-paste between
> xemacs sessions.  First thing I noticed was XEmacs complaining about not
> being able to open ~/.xemacs/init.el.  I fixed that by creating an empty
> file.  His cut-n-paste errors disappeared as well.  Alas, now it fails to
> load his ~/.emacs file.
>
> Bearing in mind the recent flurry of messages about auto-conversion of
> ~/.emacs to ~/.xemacs/init.el (which I almost completely ignored), what is
> the best (read: most foolproof) way to convert his ~/.emacs file to
> ~/.xemacs/init.el without hosing his .emacs file?  (Lots of people here use
> both emacs and xemacs, either by accident or design, so ~/.emacs must be
> preserved.)

Hi skip, you should be able to avoid init file migration with

(setq load-home-init-file t)

in your user-init-file.

I ues the equivalent (custom-set-variables ...) form, since I have
also not migrated to use init-directory.

It does not help a GNU Emacs user though, who does not know about this
nastly little trap first time around.

Adrian

>
> Thanks,
>
> Skip
>
> _______________________________________________
> XEmacs-Beta mailing list
> XEmacs-Beta at xemacs.org
> http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta
>
>

-- 
Adrian Aichner
 mailto:adrian at xemacs.org
 http://www.xemacs.org/



More information about the XEmacs-Beta mailing list