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

David Kastrup dak at gnu.org
Wed Sep 12 23:25:44 CEST 2007

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.

David Kastrup, Kriemhildstr. 15, 44793 Bochum

More information about the tex-live mailing list