H V <boite_anti_spam(a)yahoo.fr> writes:
> > Hi !
> > I've just installed XEmacs 21.5-b25 on windows XP.
> > I want to edit init.el, but it searches it in the
> > wrong directory : for me, the real path is
> > c:\Documents and Settings\Propriétaire\
> > but Xemacs looks for it in
> > c:\Documents and Settings\PropriÚtaire\
>
> Hmmh, what do you get in XEmacs when you use
> C-x C-e (eval-last-sexp)
> at the end of following line:
> (getenv "HOME")
I get
"C:\\Documents and Settings\\PropriÚtaire\\"
even after changing the environment variable HOME... I
often have problems with this accentuated directory,
but windows won't allow me to change its name :(
Is "Propriétaire" your user name you log on with?
It's probably a matter of telling XEmacs about the correct locale to
use.
Perhaps others on this lists know how.
Using
M-! (shell-command)
in XEmacs, try this:
M-! set RET
It will list all your environment variables.
Then, in that buffer using
M-x occur RET Documents and Settings
You will see something similar to this:
4 matches for "Documents and Settings" in buffer: *Shell Command Output*
1:ALLUSERSPROFILE=C:\Documents and Settings\All Users
2:APPDATA=C:\Documents and Settings\AichnerAd\Application Data
12:HOMEPATH=\Documents and Settings\AichnerAd
43:USERPROFILE=C:\Documents and Settings\AichnerAd
You could try adding a user without accents in its name and copy the
"Propriétaire" data there, but I would save that option as a last
resort.
Good Luck,
Adrian
--
Adrian Aichner
mailto:adrian@xemacs.org
http://www.xemacs.org/