If PDFLaTeX fails to compile with
See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help.
I want to press
e to get an instance of Emacs. The cursor should be on the position of the error (if TeX knows it)
I guess I should insert
export TEXEDIT="emacs magic"
.bashrc but what should I type instead of magic?