[tex-live] Bug#433455: Bug#433455: /usr/bin/pdftex: $TEXEDIT default doesn't cope with spaces in filenames
Frank Küster
frank at debian.org
Fri Jul 20 17:58:40 CEST 2007
Akira Kakuto <kakuto at fsci.fuk.kindai.ac.jp> wrote:
>> Hm, it's at least mentioned in texk/web2c/libs/texmfmp.c, but I can't
>> find where it's set. Can anyone help me?
>
> 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"
+
% Part 3: Array and other sizes for TeX (and Metafont and MetaPost).
%
% If you want to change some of these sizes only for a certain TeX
Regarding Debian, I don't think we can use "sensible-editor": It
doesn't support the '+lineno' syntax.
Regards, Frank
--
Frank Küster
Single Molecule Spectroscopy, Protein Folding @ Inst. f. Biochemie, Univ. Zürich
Debian Developer (teTeX/TeXLive)
More information about the tex-live
mailing list