When I run TeX on a file containing an error (e.g. an undefined control sequence), I receive this message
Type <return> to proceed, S to scroll future error messages,
R to run without stopping, Q to run quietly,
I to insert something, E to edit your file,
1 or ... or 9 to ignore the next 1 to 9 tokens of input,
H for help, X to quit.
?
If I type "E" to edit my file, I then receive
...
I cannot find emacs in the PATH.
Is it possible to change the editor from emacs to one that is installed on my system?
If so, what would the procedure be?
(My TeX distribution is TeX Live 2021, if that is relevant.)
ethese days, it is far more common to stay within the editor and run tex from within the editor rather than fire up a new editor when you get an error. – David Carlisle Jun 19 '21 at 10:19