If using Emacs (or something else) becomes terribly frustrating and none of the techniques described above solve the problem, Emacs can still help you.
First, if the Emacs you are using is not responding to commands, type C-g C-g to get out of it and then start a new one.
Second, type M-x doctor RET
.
The doctor will help you feel better. Each time you say something to
the doctor, you must end it by typing RET
RET
. This lets
the doctor know you are finished.