reply to the list as well
On 2/7/2011 8:59 AM, Jeff Sparkes wrote:
Which version of windows and which version of xemacs? I don't
have %HOME% set,
but xemacs-21.5.29 expands ~ to my login directory on both Windows XP and
Windows Server 2008. However, on XP it doesn't set the HOME env variable.
XEmacs version 21.5.29 as well.
It seems to think the home directory is c:\windows\system32\ which is kind of
weird. Unless maybe it's because I'm starting off of the shortcuts menu. I tried
~ and it ends up at the right directory (c:\Users\esj
(expand-file-name "~")
"c:\\Users\\esj"
yet when I did that before, it didn't work with or without the home directory.
that's very weird.
Question 1) why is it waking up in the system 32 drectory?
Question 2) how do I fix that problem (and yes, I do consider it a problem)
question 3) where will my .xemacs directory end up? System 32 or ~/ (tested and
found ~/ )
;; Windows Server 2008
(getenv "HOME")
"C:\\Users\\jsparkes"
(expand-file-name "~")
"c:\\Users\\jsparkes"
;; WIndows XP
(getenv "HOME")
nil
(expand-file-name "~")
"c:\\Documents and Settings\\Administrator"
On Sat, Feb 5, 2011 at 9:39 PM, Eric S. Johansson <esj(a)harvee.org
<mailto:esj@harvee.org>> wrote:
wasted Quite a bit of time today trying to track down a problem (which I still
haven't found). This is not a bitch but I will try to collate information so
that the next person installing a Windows 32 version will have an easier
time at it.
I think the problems I'm experiencing come simply from the inability for X.
Emacs to find certain files. For example, HOME was not defined. So I
defined it
in the Windows environment and think still in work right. For example in
the shell
c:\Windows\system32>echo %HOME%
echo %HOME%
\Users\esj\My Documents\
Home has been set but not used properly when invoking the shell
and in the *Scratch* buffer:
(expand-file-name "~")
"c:\\Windows\\system32\\Users\\esj\\My Documents\\"
All the other problem but having smell like something similar, that I'm
missing
various pathnames. I did finally find the note about mingw executables for all
these subordinate tools like grep as well is libraries for image management.
Where can I find the definition of expand-file-name so I can look and
see what
it's doing and what might be wrong.
---eric
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org <mailto:XEmacs-Beta@xemacs.org>
http://lists.xemacs.org/mailman/listinfo/xemacs-beta
--
Jeff Sparkes
jsparkes(a)gmail.com <mailto:jsparkes@gmail.com>
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta