Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 recently mapped my Ctrl key to my Caps Lock key to make using emacs easier. Most of the time it is awesome but one unintended consequence is that C-/ is a frequent typo when I am going for the ? (i.e., SHIFT+/). When this happens I lose text and I can't undo it with C-z but I am not sure exactly what is happening.

What is C-/ doing?

share|improve this question
up vote 10 down vote accepted

Ctrl+/ runs the command undo. (unless it's been remapped)

You can always find out what a command does by asking emacs.

Ctrl+h k runs the describe-key function.
You type the above , enter a key sequence, and Emacs tells you what it does.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.