On Wed, Jul 12, 2006 at 14:46:40 -0500, Richard A. Smith wrote: > Under 1.0.8 I do not get a duplicate copy of ultraedit but rather it > opens up in my existing editor process as a new file. But the moment > the file opens darcs shows "Finished recording patch 'foo'" and I get an > empty long comment.
Could you try something for me, please?
I'm attaching a small program that runs your editor, and then asks you
to hit return to continue.
Could you:
1. edit the file so that the editor= line has ultraedit in it instead
of gvim
2. compile it, say ghc runAndWait.hs -o runAndWait
3. set DARCS_EDITOR to runAndWait
What I expect to happen is that, now, darcs waits for you to press
enter, and that in the meantime, you can edit your log in peace. I just
wanted to see if this is similar to the stuff we do when running an
external diff/merge program.
Thanks,
--eric
P.S. if you feel Haskell is overkill for this, of course, write a
batch file or something :-)
--
Eric Kow http://www.loria.fr/~kow
PGP Key ID: 08AC04F9 Merci de corriger mon français.
{-# OPTIONS_GHC -cpp #-}
module Main where
import System (getArgs)
import System.IO (hFlush, stdout)
import System.Process (runCommand)
editor="gvim"
main =
do args <- getArgs
runCommand $ unwords (editor : args)
putStr "Hit return to move on..."
hFlush stdout
getLine
pgphu6VLyyFTE.pgp
Description: PGP signature
_______________________________________________ darcs-users mailing list [email protected] http://www.abridgegame.org/mailman/listinfo/darcs-users
