[darcs-devel] [issue783] win: propose alternative editor for long comment

techtonik bugs at darcs.net
Thu Apr 3 17:51:38 UTC 2008


New submission from techtonik <techtonik at gmail.com>:

As everybody may already know Darcs crashes out when no editor for long comment
is found. It usually looks like:

Shall I record this change? (3/?)  [ynWsfqadjkc], or ? for help:
What is the patch name? svn.to.run.on.windows.fix
Do you want to add a long comment? [yn]
darcs.EXE: vi: runProcess: does not exist (No such file or directory)

Given the interactive nature of Darcs it could easily propose to enter a path
for alternative editor and a hint to set DARCS_EDITOR for future instead of
bailing out. I.e.

Do you want to add a long comment? [yn]
darcs.EXE: vi: runProcess: does not exist (No such file or directory)
Enter path of alternative editor (or Ctrl-Break to exit): far /e
You may want to set DARCS_EDITOR="far /e" for future.

----------
messages: 4188
nosy: beschmi, kowey, techtonik, tommy
priority: bug
status: unread
title: win: propose alternative editor for long comment

__________________________________
Darcs bug tracker <bugs at darcs.net>
<http://bugs.darcs.net/issue783>
__________________________________


More information about the darcs-devel mailing list