Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I start Cygwin and type emacs and there I am in Emacs. The directions say: to exit type C-x C-c where C is the control key -- I am assuming that is the left control key.

So I hold down the left control key and type x. I get a C-x in the lower bottom of the window. I then try C-c which is holding down the left control key and hitting the c key. Nothing. Just a ding.

In fact I cannot exit from Emacs at all. Is there a way of exiting from Emacs which works?

share|improve this question

migrated from Jul 22 '10 at 18:54

This question came from our site for professional and enthusiast programmers.

Since this is not programming related, it should really be posted on superuser, but your problem can be solved by following this page: – Lèse majesté Jul 22 '10 at 6:36

Try M-x save-buffers-kill-emacs, where M-x is probably Alt-x under Cygwin.

This command is the default binding for C-x C-c.

To save typing, try binding this command to a different key combination (ie. one that works under Cygwin). Or better yet, download a native Windows version of GNU Emacs.

share|improve this answer
Yes, it works. Thanks very much.. – FihopZz Jul 22 '10 at 6:35

This is due to weirdness in Ctrl+C handling in Cygwin's default console. Emacs works much better in any of Cygwin's other terminals: mintty, rxvt, xterm.

share|improve this answer
Yes, please use mintty (or one of the others, but I think mintty looks better) instead of standard console, it is so much better. – liori Jul 22 '10 at 18:59
Agreed, Cygwin's default terminal is pretty wretched. – Doug Harris Jul 27 '10 at 15:36

You must log in to answer this question.