views:

265

answers:

6

I am currently constrained to a windows dev box and I want to migrate my projects from eclipse to emacs.

What are some good references on setting up an emacs dev environment for windows? Anything that could assist in migrating from eclipse as well would be appreciated.

+1  A: 

Sure, just download a prebuilt version and use it.

For example, as I use R a lot with the wonderful Emacs ESS mode, the prebuilt version by Vincent Goulet is really useful as it contains Emacs, ESS, Auctex (for LaTeX) and more.

Other prebuilds exist for Cygwin, MinGW, or plain old Windows.

Dirk Eddelbuettel
+2  A: 

If you're used to windows behaviors (e.g. ctrl-c is copy, etc.), a good (customized) version of emacs for windows is the 'EmacsW32' package.

If you're looking at migrating away from eclipse, I assume that you probably want java support. For this you will want to get the JDEE package, also. Unfortunately, it's non-trivial to deploy on windows, as it depends on other packages (and requires cygwin or msys (pseudo-unix environments for windows) in order to install).

You may also want to install additional modes to support e.g. SCM systems, etc. A good source of information for this is the EmacsWiki. There's a significant amount of material there about emacs on windows, although some of it is out of date....

Peter Hart
If you are going to go with cygwin, install it on the root. Cygwin will warn you that it is a bad idea, but i have not actually seen any problems with doing that. YMMV.
Jonathan Arkell
A: 

Eclipse is pretty good on Windows; I'm a big user of emacs but for Java development I spend most of my time in Eclipse.

Regarding general use of emacs on windows I highly recommend you install GnuWin32, as it is much faster than Cygwin and integrates very well. Also see my blog post on Visual Studio tricks in emacs and this one on tags.

justinhj
A: 

I'll assume you are doing Java development for the most part and that you would prefer not to be using Windows. This is a situation I find myself in from time to time. My preferences are to use a Linux machine (virutal or real) in addition to the Windows machine. Emacs just works better in a real Unix environment. And then use both Emacs and Eclipse where each is stronger. Emacs for editing, mail, planning, "thinking" type stuff and Eclipse for debugging, refactoring, some error fixing. Fortunately both Emacs and Eclipse make it easy to use both simultaneously.

pajato0
Emacs works pretty well in Windows and with Cygwin/GnuWin32, however I would also recommend at least looking into the idea of running Emacs in a Unix-like environment.I use Cygwin's X.org server to provide an X display for Emacs running on a GNU/Linux VM on my Windows box. It works extremely well, and the Emacs frames appear as regular Windows windows (provided you use startxwin.exe to run the X server).My motivation for doing this was so I could use Control Master to speed up TRAMP mode (as Cygwin is unable to support this), but I think it's a really viable way to go in general.
phils
A: 

I generally use EmacsW32 on a new box - it's a good option at least initially. I'd also recommend checking out the emacs starter kits which hook up to ELPA (http://tromey.com/elpa/), which allows you to get a usable setup pretty quickly.

cristobalito
A: 

Here are my notes for setting up Emacs on Windows.

John D. Cook