[tex-live] Bug#433455: Bug#433455: /usr/bin/pdftex: $TEXEDIT default doesn't cope with spaces in filenames
kakuto at fsci.fuk.kindai.ac.jp
Sun Jul 22 11:26:58 CEST 2007
> > Compile time default for TEXEDIT, MFEDIT, MPEDIT is the
> > variable EDITOR in texk/web2c/c-auto.h ( <--- c-auto.in).
> Thank you. However, after some thinking I changed my opinion, and I
> don't think it makes much sense to change it there. Better include it
> in texmf.cnf, making it more visible. I suggest the following patch:
> @@ -484,7 +524,14 @@
> % expecting DVI, and not "tex" because we want first line parsing.
> TEX = etex
> +% TEXEDIT: editor command, used when TeX presents an error in
> +% interactive mode, and the user presses `e' to start editing.
> +% The string %d is expanded to the line number of the error
> +% The string %s is expanded to the filename
> +TEXEDIT = vi +%d "%s"
Good choice. Compile time default is overridden by TEXEDIT.
I think you had better define also MFEDIT and MPEDIT.
More information about the tex-live