darcs

Issue 783 propose 'edit' as a default Windows editor

Title propose 'edit' as a default Windows editor
Priority bug Status resolved
Milestone Resolved in
Superseder catch 'does not exist' when running external programs
View: 770
Nosy List E.Y.Kow, darcs-devel, dmitry.kurochkin, eivuokko, jaredj, kowey, rgm, techtonik, thorkilnaur, tommy, wglozer
Assigned To
Topics Windows

Created on 2008-04-03.17:51:38 by techtonik, last changed 2009-10-24.00:08:10 by admin.

Messages
msg4188 (view) Author: techtonik Date: 2008-04-03.17:51:36
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.
msg4709 (view) Author: kowey Date: 2008-05-14.18:50:17
Deferring this.  This is related to the error that causes what's left of
issue770.  Darcs actually tries vi, then emacs (if you haven't already specified
an EDITOR in the environment).  It's just that our detection if a program exists
or not is broken :-(
msg4990 (view) Author: E.Y.Kow Date: 2008-06-06.10:39:18
The following patch updated the status of issue783 to be resolved:

* resolve issue783: propose 'edit' as a default Windows editor 

I think every Windows box has this.  Advantages over notepad are that
- it's a console app
- it appears to support Unix newlines
msg4998 (view) Author: techtonik Date: 2008-06-08.17:35:05
OMG, what an antiquity! But I am glad it survived.
+1
History
Date User Action Args
2008-04-03 17:51:38techtonikcreate
2008-05-14 18:50:22koweysetstatus: unread -> deferred
title: win: propose alternative editor for long comment -> windows: propose alternative editor for long comment
nosy: + wglozer, eivuokko, dagit, rgm, jaredj
messages: + msg4709
topic: + Windows
superseder: + catch 'does not exist' when running external programs
2008-06-06 10:39:20E.Y.Kowsetstatus: deferred -> resolved-in-unstable
nosy: + E.Y.Kow
messages: + msg4990
title: windows: propose alternative editor for long comment -> propose 'edit' as a default Windows editor
2008-06-08 17:35:07techtoniksetnosy: tommy, beschmi, kowey, wglozer, eivuokko, dagit, rgm, jaredj, E.Y.Kow, techtonik
messages: + msg4998
2008-09-04 21:33:06adminsetstatus: resolved-in-unstable -> resolved
nosy: tommy, beschmi, kowey, wglozer, eivuokko, dagit, rgm, jaredj, E.Y.Kow, techtonik
2009-08-06 18:23:16adminsetnosy: + dmitry.kurochkin, simon, thorkilnaur, - wglozer, eivuokko, rgm, jaredj, E.Y.Kow, techtonik
2009-08-06 21:01:55adminsetnosy: - beschmi
2009-08-10 22:19:19adminsetnosy: + wglozer, E.Y.Kow, eivuokko, techtonik, rgm, jaredj
2009-08-11 00:09:38adminsetnosy: - dagit
2009-08-25 18:09:30adminsetnosy: + darcs-devel, - simon
2009-08-27 14:09:37adminsetnosy: tommy, kowey, wglozer, darcs-devel, eivuokko, rgm, thorkilnaur, jaredj, dmitry.kurochkin, E.Y.Kow, techtonik
2009-10-23 22:42:17adminsetnosy: + robmoss, - rgm
2009-10-24 00:08:10adminsetnosy: + rgm, - robmoss