From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#58192: 28.2; RCS integration issue Date: Fri, 30 Sep 2022 15:09:26 +0300 Message-ID: <83fsg9dpxl.fsf@gnu.org> References: <4ef14f4b-860f-41df-a785-4c3cca1d5e67@dla-marbach.de> <83mtahdtuz.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36047"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 58192@debbugs.gnu.org To: Thomas.Meyer@dla-marbach.de Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Sep 30 14:10:34 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oeEqf-0009C8-H9 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 30 Sep 2022 14:10:33 +0200 Original-Received: from localhost ([::1]:42724 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oeEqd-0005CM-SK for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 30 Sep 2022 08:10:31 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35726) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oeEqB-0005Ao-El for bug-gnu-emacs@gnu.org; Fri, 30 Sep 2022 08:10:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:41591) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oeEqB-0007Rk-5e for bug-gnu-emacs@gnu.org; Fri, 30 Sep 2022 08:10:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oeEqA-0000YA-B0 for bug-gnu-emacs@gnu.org; Fri, 30 Sep 2022 08:10:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 30 Sep 2022 12:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58192 X-GNU-PR-Package: emacs Original-Received: via spool by 58192-submit@debbugs.gnu.org id=B58192.16645397942096 (code B ref 58192); Fri, 30 Sep 2022 12:10:02 +0000 Original-Received: (at 58192) by debbugs.gnu.org; 30 Sep 2022 12:09:54 +0000 Original-Received: from localhost ([127.0.0.1]:40669 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oeEq1-0000Xj-Ik for submit@debbugs.gnu.org; Fri, 30 Sep 2022 08:09:53 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:55534) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oeEpw-0000XQ-8r for 58192@debbugs.gnu.org; Fri, 30 Sep 2022 08:09:51 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:57252) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oeEpp-0007P0-D9; Fri, 30 Sep 2022 08:09:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=i9uf+GV1Xde/WzPh6GbUkdxwun57GnaYJ6/wv5Pgr/4=; b=azEEbyK9w7QT zsW2WecHV6eK/ocigD/ERwTwwU1sQ1EUM+yuDMxogrOoD4zS29d2CV+nm5Y6JR/dzjpHImUfBlzU/ qFTvrtCxa/BiF0m5UVUyzdFI20HNQLriTFUG4uKgfaKoBIj7tryacTP0baBcgPAdafG4CnCe1CcHP 8AaiMI5PEWRbvntDZ3/N7mtJEe+tmN0wY8PPTtx53yzqb2W5Vd8xxHwg27ZfONsyRAErrnFR3y/no Ancs1vr2n5IVbt46KzF6noi3RHp8jtBVFjbSItcS1SL0eo4DCTVgp1QD/wjtRIpDYof8Phhlt9cjD lwlVqeywMjvcpC6vWcgOMA==; Original-Received: from [87.69.77.57] (port=4619 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oeEpo-0003AV-S2; Fri, 30 Sep 2022 08:09:41 -0400 In-Reply-To: <83mtahdtuz.fsf@gnu.org> (message from Eli Zaretskii on Fri, 30 Sep 2022 13:44:36 +0300) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:243992 Archived-At: > Cc: 58192@debbugs.gnu.org > Date: Fri, 30 Sep 2022 13:44:36 +0300 > From: Eli Zaretskii > > > Date: Fri, 30 Sep 2022 10:01:51 +0200 (CEST) > > From: "Meyer, Thomas" > > > > Dear emacs developers, we have an issue with vc-rcs, that we have been > > using for a long time, and which seems to be broken in 28.2 (actually > > first noticed this in 28.1): we are working on the Windows port > > available on http://ftp.gnu.org/gnu/emacs/windows/emacs-28/. > > > > By tracing the activity of e.g. ci command with process monitor, we > > found that the commands fail because an erraneous line break is send > > with the command, e.g. > > > > ---- > > PID: 7224, Command line: C:\Windows\system32\cmd.exe /c c:\bin\ci.cmd -j -u1 "-mSummary: bla > > " RCS/x.txt,v > > ---- > > > > To reproduce: > > > > find new file in new directory > > C-x v v (vc-next-action) > > Registration will work fine (Registering (c:/Users/meyert/Documents/RCS-test/a.txt)... done) > > change file > > C-x v v (vc-next-action) -> first error: a checkout is done, erasing the changes > > change file again > > C-x v v (vc-next-action) -> second error: check-in fails: > > > > Press C-c C-c when you are done editing. > > Enter a change comment. Type C-c C-c when done > > Checking in c:/Users/meyert/Documents/RCS-test/a.txt... > > progn: Failed (status 1): ci -j -u1 -mSummary: bla > > RCS/a.txt,v > > > > Do you require further details? > > Where did the "bla" part come from? Emacs didn't generate it, did it? > It's something you typed at some point, I guess? > > More generally, would you please describe the steps in full detail, > including what you typed, exactly? > > Also, what does ci.cmd say? I'm not aware of any scripts in the RCS > distribution; 'ci' should be a program, i.e. ci.exe. It could be that > what ci.cmd does has some relevance for this issue. FWIW, I've now tried to reproduce the problem, and was unable to. Here's what I did: emacs -Q C-x C-f hello.text C-x C-s C-x v v C-x v v C-x C-s C-x v v So once again, more details are needed to investigate what's wrong in your case. An important detail: I used RCS I ported myself, which is available here: https://sourceforge.net/projects/ezwinports/files/ It's possible that using a Cygwin port of RCS somehow interferes with the native Emacs. Another possibly important factoid is that the file hello.txt I used in the above had DOS CRLF EOL format, as that is what the Windows port of RCS expects and produces when checking-out files. Bottom line: I cannot reproduce the problem on my system.