From help-request at octave dot org Thu Apr 13 06:02:33 2006 Subject: Re: win octave and emacs From: Guillem Borrell Nogueras To: help at octave dot org Cc: "Rich E" Date: Thu, 13 Apr 2006 12:56:09 +0200 Sorry, the previous answer was as short as incomplete. In Windows, Emacs looks for the .emacs file in the folder defined by the HOME environment variable. When this variable is not explicitly defined takes the value "C:\" . The environment variables are in Control Panel->System->Advanced Options. However I'd suggest you to install the EmacsW32 distribution of emacs instead of NTEmacs. This distribution defines the HOME environment variable at the installation. In both cases you must create the .emacs file from scratch. guillem On Thursday 13 April 2006 09:35, Rich E wrote: > Hello, > > I'm new to Octave, which I just installed, and I'm trying to get it to run > within Emacs. I have found directions that direct me in doing this, but i > need to find the .emacs settings file first. Once I do this, I should > paste > > (autoload 'octave-mode "octave-mod" nil t) > (setq auto-mode-alist > (cons '("\\.m$" . octave-mode) auto-mode-alist)) > > and a couple other things in there. But, I don't know where the > .emacs settings file is. > Does anyone know how I can get Emacs running with Octave in Windows? > > Thanks, > Richie -- Guillem Borrell Nogueras WEBSITE http://torroja.dmt.upm.es:9673/Guillem_Site/ BLOG http://torroja.dmt.upm.es:9673/Guillem_Borrell/ EMAIL guillemborrell_at_gmail.com (personal) guillem_at_torroja.dmt.upm.es (CFD Lab. ETSIA) ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------