0

I was doing some editing in Emacs. I was using Alt-f and Alt-b to traverse by word. I wanted to add the character d in front of a word. So I pressed Alt-b to get to the front of the word and then pressed d. Oops! It deleted the word rather than putting d in front of the word.

Is the expected behavior of Emacs?

2

ALT-d is normal for delete word, so my guess is that you pressed the d key before releasing the ALT key. Don't forget you can check any keystroke combinations by using C-h c, that is C-h then release the Control key and press c. Enter the key strokes.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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