[cvsnt] Bug with CVSNT, Emacs, and multi-line log messages
Christopher J. Madsen
cjm at pobox.com
Mon Jan 27 22:10:59 GMT 2003
Tony Hoyle writes:
> Christopher J. Madsen wrote:
>
> > I added some debugging code to record the parameters to the Emacs
> > call-process function. Here's what happens when I type C-x C-q to
> > check in my changes:
> >
> > (call-process "cvs" nil t nil "ci" "-mLine 1\nLine 2\nLine 3\n"
> > "junk.cpp")
> >
> > But CVSNT acts like it was called like this:
> >
> > (call-process "cvs" nil t nil "ci" "-mLine 1")
> >
> That sounds about right. The command processor strips the first layer of
> quotes before it parses it. Emacs should put the whole command line in
> quotes to avoid the first layer of parsing by cmd.exe.
>
> It's possible RCS is being called differently (is it a DOS or Cygwin app?
> They are treated differently).
I'm using the GNU RCS 5.7 which I got from
ftp://ftp.cs.purdue.edu/pub/RCS/rcs57pc1.zip
It's not a DOS app, and I don't think it's a Cygwin one either (it
certainly doesn't link to the cygwin DLL).
--
Chris Madsen cjm at pobox.com
------------------ http://www.pobox.com/~cjm ------------------
More information about the cvsnt
mailing list