Issue123

classification
Title I'm unclear what to do w.r.t. ~/.emacs & ~/.xemacs/init.el
Type defect Module core code 21.5
Severity inconvenience Platform N/A
Keywords
explanation
process
These optional controls are only of interest to committers and tracker administrators.
Status committed   Reason fixed
Superseder   Submitted 2007-10-16.14:28:49
Priority normal   Assigned To
Nosy List aidan  

Created on 2008-01-19.06:42:57 by skip.montanaro, last changed 2008-05-14.09:12:20 by aidan.

Messages
msg757 [hidden] ([hidden]) Date: 2008-05-14.09:12:20
http://mid.gmane.org/18227.8783.194951.601047@parhasard.net
will avoid the nasty little trap Adrian mentions entirely, and
Adrian's advice answers Skip's question very well.
msg156 [hidden] ([hidden]) Date: 2008-01-19.06:42:57
  Message-ID: <tzoqri4a.fsf@mx.qsc.de>
skip@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@xemacs.org
> http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta
>
>
msg155 [hidden] ([hidden]) Date: 2008-01-19.06:42:57
  Message-ID: <18196.51873.487377.505407@montanaro.dyndns.org>
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.)

Thanks,

Skip

_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta@xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta
History
Date User Action Args
2008-05-14 09:12:20aidansetstatus: chatting -> committed
severity: inconvenience
platform: + N/A
nosy: + aidan
messages: + msg757
module: + core code 21.5
priority: normal
assignedto: aidan
reason: fixed
type: defect
2008-01-19 06:42:57adriansetstatus: new -> chatting
messages: + msg156
2008-01-19 06:42:57skip.montanarocreate