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

When I undo C-d in Emacs I can only restore one deleted letter at a time. This is extremely inconvenient. I would like all subsequent deletions to be treated as one for undelete purposes. Is there any way to control that? I found undo-tree to be helpful, but this does not solve the problem as the undo tree gets extremely big when characters are deleted. The same goes for deletion using Backspace.

share|improve this question

You can change the way you delete things, use C-u to group multiple delete-char events into one undo. You should also consider, where appropriate, other kill commands; kill-word M-d, kill-sentence M-k, kill-region C-w, etc.

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.