Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Emacs in Windows

Tags:

emacs

windows

How do you run Emacs in Windows?

What is the best flavor of Emacs to use in Windows, and where can I download it? And where is the .emacs file located?

like image 224
sverrejoh Avatar asked Sep 03 '08 08:09

sverrejoh


People also ask

How do I get Emacs for Windows?

In most cases, you need the emacs-$VERSION-x86_64-installer.exe , where version is currently 27.2. This file contains a 64-bit build of Emacs with dependencies as an installer package. Download this file and run the program to install Emacs on your system. You can run Emacs like any other Windows software.

How do I open Emacs in Windows terminal?

From the Command Prompt window, by typing runemacs RET at the prompt. The Command Prompt window where you did that will be immediately available for invoking other commands. In this case, Emacs will start in the current directory of the Windows shell.

Is Emacs only for Linux?

Emacs is a text editor designed for POSIX operating systems and available on Linux, BSD, macOS, Windows, and more.


2 Answers

Note that GNU Emacs for Windows comes with two executables to start Emacs: "emacs.exe" and "runemacs.exe". The former keeps a DOS-Prompt window in the background, while the latter does not, so when if you choose that distribution and want to create a shortcut, be sure to launch "runemacs.exe".

Carl

like image 28
Carl Seleborg Avatar answered Sep 19 '22 09:09

Carl Seleborg


I use EmacsW32, it works great. EDIT: I now use regular GNU Emacs 24, see below.

See its EmacsWiki page for details.

To me, the biggest advantage is that:

  • it has a version of emacsclient that starts the Emacs server if no server is running (open all your files in the same Emacs window)
  • it includes several useful packages such as Nxml
  • it has a Windows installer or you can build it from sources

And concerning XEmacs, according to this post by Steve Yegge:

To summarize, I've argued that XEmacs has a much lower market share, poorer performance, more bugs, much lower stability, and at this point probably fewer features than GNU Emacs. When you add it all up, it's the weaker candidate by a large margin.

EDIT: I now use regular GNU Emacs 24. It also contains Nxml, can be installed or built from sources, and with this wrapper, the Emacs server starts if no server is running. Cheers!

like image 121
Sébastien RoccaSerra Avatar answered Sep 23 '22 09:09

Sébastien RoccaSerra