On Thu, Oct 7, 2010 at 10:53 PM, Gustavo Gutierrez < [email protected]> wrote:
> Hello Lyle, > > > 2010/10/7 Lyle Kopnicky <[email protected]> > > Good instructions! Basically the same instructions also work for XP and >> Vista. Except on 32-bit systems you don't need the ' (x86)' after Program >> Files. (I used to use 32-bit XP and Vista and am now on 64-bit 7 myself.) >> >> > Thanks, I collected some screenshots during the process and I will update > the mozart web page sooner. It is nice to see that it also works for other > versions of windows, I will add that informations also. > In all three versions of windows, you can set environment variables via the Advanced Settings button on the System Control Panel. However, getting to that panel can be slightly different. E.g., in Win7 the control panel defaults to a different view. Although it's really easy to get to it if you type "environment" in the search box on the start menu. Unfortunately I don't have the older versions in front of me anymore to test on. So I can't walk you precisely through the steps. If you Google search "windows xp environment variables" and "windows vista environment variables" I'm sure you will find some good instructions. > > The only thing I do differently is that I prefer the standard emacs: >> http://ftp.gnu.org/gnu/emacs/windows/. Also >> FAQ<http://www.gnu.org/software/emacs/windows/> >> . >> >> > It would be nice to have a script that set up the environment variable for >> you. Maybe I'll do that sometime. >> > > If you do that let me know and I will be happy to upload the script or to > reference it from the web page. I was wondering about the possibility of > doing this automatically from the mozart installer but my experience with > windows is so limited that I found myself in trubles just to export an > environment variable. I will try to investigate more on this when I have > some time. > I don't know much about MS Installer, but I'm sure there's a way to set environment variables. The issue is that there's no standard location for installing Emacs on Windows. (And, as you pointed out, some people may be using variants such as XEmacs.) But, I think it would make sense for the installer to first look in some obvious locations like C:\Program Files (x86)\Emacs and C:\emacs, with some pattern matching in case version numbers are on the end. It could look for runemacs.exe and xemacs.exe. Then it can throw up a dialog where you can enter the path to emacs or use a file chooser to pick. If it found a likely location, it would show that as the default. (You might have multiple installations and want to choose one for Oz.) - Lyle
_________________________________________________________________________________ mozart-users mailing list [email protected] http://www.mozart-oz.org/mailman/listinfo/mozart-users
