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"
to my .bashrc but what should i type instead of magic?