[tex-live] Bug#433455: Bug#433455: /usr/bin/pdftex: $TEXEDITdefault doesn't cope with spaces in filenames

Reinhard Kotucha reinhard.kotucha at web.de
Thu Sep 13 00:57:28 CEST 2007

David Kastrup writes:
 > Frank Küster <frank at kuesterei.ch> writes:
 > > karl at freefriends.org (Karl Berry) wrote:
 > >
 > >>     +#ifdef  WIN32
 > >>     +#define EDITOR "emacs +%d \"%s\""
 > >>     +#else
 > >>      #define EDITOR "vi +%d '%s'"
 > >>     +#endif
 > >>
 > >> Thanks, I installed that change.
 > >
 > > Earlier, Akira suggested to change MPEDIT and MFEDIT, too.  What
 > > about that?
 > Actually, it would make more sense to change all those to the
 > equivalent of
 > ${VISUAL:-${EDITOR:-emacs-or-via-according-to-religion}}  +%d \"%s\"
 > namely: if there is a VISUAL or EDITOR variable set already, it does
 > not make sense not to make use of it.

Even if there is a good reason to over-ride VISUAL and EDITOR at all,
it doesn't make much sense to have three variables, TEXEDIT, MPEDIT,
and MFEDIT.  It's quite unlikely that someone uses Emacs to edit
metafont files, vi to edit metapost files, and Microsoft's flagship
Wordpad to edit tex files.

Doesn't it make more sense if tex, metapost, and metafont look out for


Reinhard Kotucha			              Phone: +49-511-4592165
Marschnerstr. 25
D-30167 Hannover	                      mailto:reinhard.kotucha at web.de
Microsoft isn't the answer. Microsoft is the question, and the answer is NO.

More information about the tex-live mailing list