Updated: emacs*-24.2.93-2 (TEST)

Ken Brown kbrown@cornell.edu
Wed Feb 13 12:02:00 GMT 2013

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

*** emacs-24.2.93-2
*** emacs-X11-24.2.93-2
*** emacs-w32-24.2.93-2
*** emacs-el-24.2.93-2

This is a rebuild of the 24.2.93-1 packages to fix the emacsclient 
problem reported in


There's now a /usr/bin/emacsclient-w32.exe and a corresponding symlink 
/usr/bin/emacsclient; see item 1 below under "CYGWIN NOTES".

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 release is a pretest for the upcoming emacs-24.3.  It contains 
bugfixes as well as new features.  Browse the NEWS file (`C-h n' within 
emacs) for information about upstream changes since emacs-24.2.

emacs-X11 now supports GNOME's GSettings and GConf features.  As a 
consequence, it is important that you have a D-Bus session daemon 
running before starting emacs under X11.  Otherwise, emacs will try to 
start one, and this can cause problems.

A simple way to make sure that a D-Bus session daemon is running is to 
start it in your ~/.startxwinc file.  If you already have a 
~/.startxwinc file that starts an xterm process (and perhaps emacs), 
just add the following line at the beginning:

   eval `dbus-launch --sh-syntax`

Otherwise, create one containing the following two lines:

   eval `dbus-launch --sh-syntax`
   xterm &

You can then start emacs from the xterm window that opens up.

Alternatively, put the following three lines in ~/.bashrc (assuming you 
use bash as your shell):

   if [ -n "$DISPLAY" ] && [ -z "$DBUS_SESSION_BUS_ADDRESS" ] ; then
       eval `dbus-launch --sh-syntax`

For more information, see the documentation for dbus-launch.

A second consequence is that you might see a GTK warning about 
gtk_window_parse_geometry; this can be ignored.

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 
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.

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 

6. The default font for emacs-w32 is not very attractive in my opinion. 
  See /usr/share/doc/emacs/README.Cygwin for hints as to how to change it.

Ken Brown
Cygwin's emacs maintainer

                    *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

If you want to unsubscribe from the cygwin-announce mailing list, look 
at the "List-Unsubscribe: " tag in the email header of this message. 
Send email to the address specified there.  It will be in the format:


If you need more information on unsubscribing, start reading here:


Please read *all* of the information on unsubscribing that is available 
starting at the above URL.

More information about the Cygwin-announce mailing list