Updated: emacs-24.5-2 (TEST)

Ken Brown kbrown@cornell.edu
Tue Jun 23 18:30:00 GMT 2015

The following packages have been updated in the Cygwin distribution as
test releases:

* emacs-24.5-2
* emacs-X11-24.5-2
* emacs-w32-24.5-2
* emacs-el-24.5-2

Emacs is a powerful, customizable, self-documenting, modeless text 
editor.  Emacs contains special code editing features, a scripting 
language (elisp), and the capability to read mail, news, and more 
without leaving the editor.

This is a rebuild of the 24.5-1 packages, patched to make CPU profiling 
work.  (This has apparently never worked on Cygwin.)  If you would like 
to test this, read the "Profiling" section of the elisp manual for 
instructions.  Short version: M-x profiler-start, do some work, then M-x 

If people report that profiling works, and if no regressions are 
reported, I'll promote this release to "current" in a week or two.


1. The emacs, emacs-w32, and emacs-X11 packages each provide an Emacs 
binary.  These are emacs-nox.exe, emacs-w32.exe, and emacs-X11.exe, 
respectively, in order of increasing priority.  The postinstall scripts 
use the `alternatives' system to create a symlink /usr/bin/emacs that 
resolves to the highest-priority binary that you have installed.  Thus 
the command `emacs' will start emacs-X11.exe if you've installed the 
emacs-X11 package; otherwise, it will start emacs-w32.exe if you've 
installed emacs-w32; otherwise, it will start emacs-nox.exe.  Similar 
remarks apply to emacsclient.

If you have installed both emacs-w32 and emacs-X11 and prefer to give 
higher priority to emacs-w32, run the script


You can later restore emacs-X11 as the default by running


2. Install emacs-X11 if you want to use the X11 GUI.  You can then type 
'emacs&' in an xterm window, and emacs will start in a new window.

3. Install emacs-w32 if you want to use the native Windows GUI instead 
of X11.

4. If you have sshd running and want to be able to run emacs-X11 from a 
remote machine, you need to enable X11 forwarding by adding the 
following line to /etc/sshd_config:

   X11Forwarding yes

You might also need to have the cygserver service running.

5. The script /usr/bin/make-emacs-shortcut can be used to create a 
shortcut for starting emacs.  See /usr/share/doc/emacs/README.Cygwin for 

Ken Brown
Cygwin's Emacs maintainer

More information about the Cygwin-announce mailing list