When using $VISUAL or $EDITOR to specify the editor for long comments,
darcs does not handle spaces in the variable correctly. For example,
VISUAL=emacs darcs rec -am foo --edit-long-comment
works (launches emacs), but
VISUAL='emacs -nw' darcs rec -am foo --edit-long-comment
Will fail to find a program called 'emacs -nw' in $PATH, and will
instead launch vi.
--
Trent Buck, Student Errant
|