From unknown Sat Aug 09 15:55:10 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#4685: 23.1; vc-rcs doesn't recognize status when checkin-switch -l Reply-To: Evangelos Evangelou , 4685@debbugs.gnu.org Resent-From: Evangelos Evangelou Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Fri, 09 Oct 2009 09:40:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: report 4685 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.125508070414620 (code B ref -1); Fri, 09 Oct 2009 09:40:06 +0000 Received: (at submit) by emacsbugs.donarmstrong.com; 9 Oct 2009 09:31:44 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.1 required=4.0 tests=FOURLA autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n999Vg7X014617 for ; Fri, 9 Oct 2009 02:31:44 -0700 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MwBp8-0000MK-3I for bug-gnu-emacs@gnu.org; Fri, 09 Oct 2009 05:31:42 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MwBp3-0000EX-Eo for bug-gnu-emacs@gnu.org; Fri, 09 Oct 2009 05:31:41 -0400 Received: from [199.232.76.173] (port=38643 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MwBp3-0000E8-6k for bug-gnu-emacs@gnu.org; Fri, 09 Oct 2009 05:31:37 -0400 Received: from mxp2.isis.unc.edu ([152.2.2.160]:37156 helo=mxpm.isis.unc.edu) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MwBp2-0002Fb-S1 for bug-gnu-emacs@gnu.org; Fri, 09 Oct 2009 05:31:36 -0400 Received: from smtp.unc.edu (smtpsrv3.isis.unc.edu [152.2.2.251]) by mxp2 (8.14.3/8.14.3) with ESMTP id n999VZFd015336 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 9 Oct 2009 05:31:35 -0400 Received: from RPC-EE224 (138-38-156-82.wireless.bath.ac.uk [138.38.156.82]) (authenticated bits=0) by smtp.unc.edu (8.14.3/8.14.3) with ESMTP id n999VPlI010650 for ; Fri, 9 Oct 2009 05:31:34 -0400 (EDT) From: Evangelos Evangelou To: bug-gnu-emacs@gnu.org Date: Fri, 09 Oct 2009 10:30:59 +0100 Message-ID: <84pr8wgbho.fsf@email.unc.edu> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Proofpoint-Virus-Version: vendor=fsecure engine=1.12.8161:2.4.5,1.2.40,4.0.166 definitions=2009-10-09_03:2009-09-29,2009-10-09,2009-10-09 signatures=0 X-Proofpoint-Spam-Details: rule=uncdefault_notspam policy=uncdefault score=0 spamscore=0 ipscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=5.0.0-0908210000 definitions=main-0910090019 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Please write in English if possible, because the Emacs maintainers usually do not have translators to read other languages for them. Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing list, and to the gnu.emacs.bug news group. Please describe exactly what actions triggered the bug and the precise symptoms of the bug: It seems that emacs doesn't recognize the vc-status of the file when I set the variable vc-rcs-checkin-switches to "-l". The first time I execute vc-next-action for checking in the file is checked in and then checked out automatically because of the "-l" switch. The %% are not present in the mode line. The second time I run vc-next-action it attempts to run co instead of ci. On the other hand, running vc-next-action through vc-dir doesn't seem to have a problem. I only observed this in emacs 23; emacs 22 is also working as expected. If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. If you would like to further debug the crash, please read the file c:/emacs/etc/DEBUG for instructions. In GNU Emacs 23.1.1 (i386-mingw-nt5.1.2600) of 2009-07-30 on SOFT-MJASON Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (4.4)' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: ENG value of $XMODIFIERS: nil locale-coding-system: cp1253 default-enable-multibyte-characters: t Major mode: Fundamental Minor modes in effect: display-battery-mode: t show-paren-mode: t delete-selection-mode: t iswitchb-mode: t shell-dirtrack-mode: t savehist-mode: t recentf-mode: t tooltip-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: ( s e t q SPC v c - r c s - c h e c k i n - s w i t c h e s SPC " - l " ) C-x C-e C-x C-f D e s k t o p / t m p . t e l C-x v v y c o o m C-c C-c y C-x v v e s d i t C-x C-s C-x v v C-c C-c e d i t SPC 2 C-x C-s C-x v v M-x r e p o r Recent messages: Checking out c:/Documents and Settings/User/Desktop/tmp.el...done Saving file c:/Documents and Settings/User/Desktop/tmp.el... Wrote c:/Documents and Settings/User/Desktop/tmp.el Mark set Press C-c C-c when you are done editing. Enter a change comment. Type C-c C-c when done Checking in c:/Documents and Settings/User/Desktop/tmp.el...done Saving file c:/Documents and Settings/User/Desktop/tmp.el... Wrote c:/Documents and Settings/User/Desktop/tmp.el Checking out c:/Documents and Settings/User/Desktop/tmp.el... vc-do-command: Running co -l -r1.2 RCS/tmp.el,v...FAILED (status 1) From unknown Sat Aug 09 15:55:10 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#4685: 23.1; vc-rcs doesn't recognize status when checkin-switch -l Reply-To: Dan Nicolaescu , 4685@debbugs.gnu.org Resent-From: Dan Nicolaescu Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Fri, 09 Oct 2009 18:30:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 4685 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 4685-submit@emacsbugs.donarmstrong.com id=B4685.125511271419789 (code B ref 4685); Fri, 09 Oct 2009 18:30:05 +0000 Received: (at 4685) by emacsbugs.donarmstrong.com; 9 Oct 2009 18:25:14 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-6.4 required=4.0 tests=AWL,HAS_BUG_NUMBER, X_DEBBUGS_NO_ACK autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from paul-mcgann-v0.ics.uci.edu (paul-mcgann-v0.ics.uci.edu [128.195.1.147]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n99IPCIE019546 for <4685@emacsbugs.donarmstrong.com>; Fri, 9 Oct 2009 11:25:13 -0700 Received: from godzilla.ics.uci.edu (godzilla.ics.uci.edu [128.195.10.101]) by paul-mcgann-v0.ics.uci.edu (8.13.8/8.13.8) with ESMTP id n99IP2mV016320; Fri, 9 Oct 2009 11:25:02 -0700 Received: (from dann@localhost) by godzilla.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id n99IP12w000179; Fri, 9 Oct 2009 11:25:01 -0700 (PDT) Date: Fri, 9 Oct 2009 11:25:01 -0700 (PDT) Message-Id: <200910091825.n99IP12w000179@godzilla.ics.uci.edu> From: Dan Nicolaescu To: Evangelos Evangelou Cc: 4685@debbugs.gnu.org References: <84pr8wgbho.fsf@email.unc.edu> In-Reply-To: <84pr8wgbho.fsf@email.unc.edu> (Evangelos Evangelou's message of "Fri, 09 Oct 2009 10:30:59 +0100") Lines: 27 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-ICS-MailScanner-Information: Please send mail to helpdesk@ics.uci.edu or more information X-ICS-MailScanner-ID: n99IP2mV016320 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@godzilla.ics.uci.edu Evangelos Evangelou writes: > Please write in English if possible, because the Emacs maintainers > usually do not have translators to read other languages for them. > > Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing list, > and to the gnu.emacs.bug news group. > > Please describe exactly what actions triggered the bug > and the precise symptoms of the bug: > > It seems that emacs doesn't recognize the vc-status of the file when I > set the variable vc-rcs-checkin-switches to "-l". The first time I > execute vc-next-action for checking in the file is checked in and then > checked out automatically because of the "-l" switch. The %% are not > present in the mode line. The second time I run vc-next-action it > attempts to run co instead of ci. On the other hand, running > vc-next-action through vc-dir doesn't seem to have a problem. I only > observed this in emacs 23; emacs 22 is also working as expected. I think that if you want to add -l to vc-rcs-checkin-switches, you also need to do rcs -U on all your RCS files. That way things are consistent and VC can figure out what to do. From unknown Sat Aug 09 15:55:10 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#4685: 23.1; vc-rcs doesn't recognize status when checkin-switch -l Reply-To: "Vangelis Evangelou" , 4685@debbugs.gnu.org Resent-From: "Vangelis Evangelou" Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Mon, 12 Oct 2009 08:35:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 4685 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 4685-submit@emacsbugs.donarmstrong.com id=B4685.125533609128393 (code B ref 4685); Mon, 12 Oct 2009 08:35:04 +0000 Received: (at 4685) by emacsbugs.donarmstrong.com; 12 Oct 2009 08:28:11 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-1.4 required=4.0 tests=AWL,HAS_BUG_NUMBER, STOX_REPLY_TYPE autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from mxpm.isis.unc.edu (mxp3.isis.unc.edu [152.2.2.161]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n9C8S9b2028389 for <4685@emacsbugs.donarmstrong.com>; Mon, 12 Oct 2009 01:28:11 -0700 Received: from smtp.unc.edu (smtpsrv2.isis.unc.edu [152.2.2.250]) by mxp3.isis.unc.edu (8.14.3/8.14.3) with ESMTP id n9C8S8Js010494; Mon, 12 Oct 2009 04:28:08 -0400 Received: from RPCee224 (138-38-156-82.wireless.bath.ac.uk [138.38.156.82]) (authenticated bits=0) by smtp.unc.edu (8.14.3/8.14.3) with ESMTP id n9C8S41x005830; Mon, 12 Oct 2009 04:28:07 -0400 (EDT) Message-ID: <1FFB9BE9F48F45C99BC5EB7567F3E63F@RPCee224> From: "Vangelis Evangelou" To: "Dan Nicolaescu" Cc: <4685@debbugs.gnu.org> References: <84pr8wgbho.fsf@email.unc.edu> <200910091825.n99IP12w000179@godzilla.ics.uci.edu> Date: Mon, 12 Oct 2009 09:27:30 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5843 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-Proofpoint-Virus-Version: vendor=fsecure engine=1.12.8161:2.4.5,1.2.40,4.0.166 definitions=2009-10-12_03:2009-09-29,2009-10-12,2009-10-11 signatures=0 X-Proofpoint-Spam-Details: rule=uncdefault_notspam policy=uncdefault score=0 spamscore=0 ipscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=5.0.0-0908210000 definitions=main-0910120019 Hello, Thank you for your reply. Based on what you said I was able to fix the error by applying the setting below, although I am not sure if that's the best solution. Thanks. (setq vc-checkin-hook '(lambda() (if (and (buffer-file-name) (eq (vc-backend (file-name-nondirectory buffer-file-name)) 'RCS)) (shell-command (concat "rcs -U \"" (file-name-nondirectory buffer-file-name) "\"") "*vc*")))) ----- Original Message ----- From: "Dan Nicolaescu" To: "Evangelos Evangelou" Cc: <4685@debbugs.gnu.org> Sent: Friday, October 09, 2009 7:25 PM Subject: Re: bug#4685: 23.1; vc-rcs doesn't recognize status when checkin-switch -l > Evangelos Evangelou writes: > > > Please write in English if possible, because the Emacs maintainers > > usually do not have translators to read other languages for them. > > > > Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing > list, > > and to the gnu.emacs.bug news group. > > > > Please describe exactly what actions triggered the bug > > and the precise symptoms of the bug: > > > > It seems that emacs doesn't recognize the vc-status of the file > when I > > set the variable vc-rcs-checkin-switches to "-l". The first time I > > execute vc-next-action for checking in the file is checked in and > then > > checked out automatically because of the "-l" switch. The %% are > not > > present in the mode line. The second time I run vc-next-action it > > attempts to run co instead of ci. On the other hand, running > > vc-next-action through vc-dir doesn't seem to have a problem. I > only > > observed this in emacs 23; emacs 22 is also working as expected. > > I think that if you want to add -l to vc-rcs-checkin-switches, you > also > need to do > > rcs -U > > on all your RCS files. That way things are consistent and VC can > figure > out what to do. > > From unknown Sat Aug 09 15:55:10 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.427 (Entity 5.427) X-Loop: owner@emacsbugs.donarmstrong.com From: help-debbugs@gnu.org (Emacs bug Tracking System) To: Evangelos Evangelou Subject: bug#4685 closed by Dan Nicolaescu (Re: bug#4685: 23.1; vc-rcs doesn't recognize status when checkin-switch -l) Message-ID: References: <200910140612.n9E6CLA4019483@godzilla.ics.uci.edu> <84pr8wgbho.fsf@email.unc.edu> X-Emacs-PR-Message: they-closed 4685 X-Emacs-PR-Package: emacs Reply-To: 4685@debbugs.gnu.org Date: Wed, 14 Oct 2009 06:20:07 +0000 Content-Type: multipart/mixed; boundary="----------=_1255501207-2862-1" This is a multi-part message in MIME format... ------------=_1255501207-2862-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" This is an automatic notification regarding your bug report which was filed against the emacs package: #4685: 23.1; vc-rcs doesn't recognize status when checkin-switch -l It has been closed by Dan Nicolaescu . Their explanation is attached below along with your original report. If this explanation is unsatisfactory and you have not received a better one in a separate message then please contact Dan Nicolaescu by replying to this email. --=20 4685: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D4685 Emacs Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1255501207-2862-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 4685-done) by emacsbugs.donarmstrong.com; 14 Oct 2009 06:12:33 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-6.4 required=4.0 tests=AWL,HAS_BUG_NUMBER, X_DEBBUGS_NO_ACK autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from paul-mcgann-v0.ics.uci.edu (paul-mcgann-v0.ics.uci.edu [128.195.1.147]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n9E6CW4d002012 for <4685-done@emacsbugs.donarmstrong.com>; Tue, 13 Oct 2009 23:12:33 -0700 Received: from godzilla.ics.uci.edu (godzilla.ics.uci.edu [128.195.10.101]) by paul-mcgann-v0.ics.uci.edu (8.13.8/8.13.8) with ESMTP id n9E6CL2i027425; Tue, 13 Oct 2009 23:12:21 -0700 Received: (from dann@localhost) by godzilla.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id n9E6CLA4019483; Tue, 13 Oct 2009 23:12:21 -0700 (PDT) Date: Tue, 13 Oct 2009 23:12:21 -0700 (PDT) Message-Id: <200910140612.n9E6CLA4019483@godzilla.ics.uci.edu> From: Dan Nicolaescu To: Vangelis Evangelou Cc: 4685-done@debbugs.gnu.org Subject: Re: bug#4685: 23.1; vc-rcs doesn't recognize status when checkin-switch -l References: <84pr8wgbho.fsf@email.unc.edu> <200910091825.n99IP12w000179@godzilla.ics.uci.edu> <1FFB9BE9F48F45C99BC5EB7567F3E63F@RPCee224> X-Debbugs-No-Ack: yes In-Reply-To: <1FFB9BE9F48F45C99BC5EB7567F3E63F@RPCee224> (Vangelis Evangelou's message of "Mon, 12 Oct 2009 09:27:30 +0100") Lines: 16 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-ICS-MailScanner-Information: Please send mail to helpdesk@ics.uci.edu or more information X-ICS-MailScanner-ID: n9E6CL2i027425 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@godzilla.ics.uci.edu "Vangelis Evangelou" writes: > Hello, > > Thank you for your reply. Based on what you said I was able to fix the > error by applying the setting below, although I am not sure if that's > the best solution. Thanks. > > (setq vc-checkin-hook > '(lambda() > (if (and (buffer-file-name) (eq (vc-backend > (file-name-nondirectory buffer-file-name)) 'RCS)) > (shell-command (concat "rcs -U \"" (file-name-nondirectory > buffer-file-name) "\"") "*vc*")))) Good, closing this bug then. ------------=_1255501207-2862-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by emacsbugs.donarmstrong.com; 9 Oct 2009 09:31:44 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.1 required=4.0 tests=FOURLA autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n999Vg7X014617 for ; Fri, 9 Oct 2009 02:31:44 -0700 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MwBp8-0000MK-3I for bug-gnu-emacs@gnu.org; Fri, 09 Oct 2009 05:31:42 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MwBp3-0000EX-Eo for bug-gnu-emacs@gnu.org; Fri, 09 Oct 2009 05:31:41 -0400 Received: from [199.232.76.173] (port=38643 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MwBp3-0000E8-6k for bug-gnu-emacs@gnu.org; Fri, 09 Oct 2009 05:31:37 -0400 Received: from mxp2.isis.unc.edu ([152.2.2.160]:37156 helo=mxpm.isis.unc.edu) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MwBp2-0002Fb-S1 for bug-gnu-emacs@gnu.org; Fri, 09 Oct 2009 05:31:36 -0400 Received: from smtp.unc.edu (smtpsrv3.isis.unc.edu [152.2.2.251]) by mxp2 (8.14.3/8.14.3) with ESMTP id n999VZFd015336 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 9 Oct 2009 05:31:35 -0400 Received: from RPC-EE224 (138-38-156-82.wireless.bath.ac.uk [138.38.156.82]) (authenticated bits=0) by smtp.unc.edu (8.14.3/8.14.3) with ESMTP id n999VPlI010650 for ; Fri, 9 Oct 2009 05:31:34 -0400 (EDT) From: Evangelos Evangelou To: bug-gnu-emacs@gnu.org Subject: 23.1; vc-rcs doesn't recognize status when checkin-switch -l Date: Fri, 09 Oct 2009 10:30:59 +0100 Message-ID: <84pr8wgbho.fsf@email.unc.edu> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Proofpoint-Virus-Version: vendor=fsecure engine=1.12.8161:2.4.5,1.2.40,4.0.166 definitions=2009-10-09_03:2009-09-29,2009-10-09,2009-10-09 signatures=0 X-Proofpoint-Spam-Details: rule=uncdefault_notspam policy=uncdefault score=0 spamscore=0 ipscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=5.0.0-0908210000 definitions=main-0910090019 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Please write in English if possible, because the Emacs maintainers usually do not have translators to read other languages for them. Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing list, and to the gnu.emacs.bug news group. Please describe exactly what actions triggered the bug and the precise symptoms of the bug: It seems that emacs doesn't recognize the vc-status of the file when I set the variable vc-rcs-checkin-switches to "-l". The first time I execute vc-next-action for checking in the file is checked in and then checked out automatically because of the "-l" switch. The %% are not present in the mode line. The second time I run vc-next-action it attempts to run co instead of ci. On the other hand, running vc-next-action through vc-dir doesn't seem to have a problem. I only observed this in emacs 23; emacs 22 is also working as expected. If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. If you would like to further debug the crash, please read the file c:/emacs/etc/DEBUG for instructions. In GNU Emacs 23.1.1 (i386-mingw-nt5.1.2600) of 2009-07-30 on SOFT-MJASON Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (4.4)' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: ENG value of $XMODIFIERS: nil locale-coding-system: cp1253 default-enable-multibyte-characters: t Major mode: Fundamental Minor modes in effect: display-battery-mode: t show-paren-mode: t delete-selection-mode: t iswitchb-mode: t shell-dirtrack-mode: t savehist-mode: t recentf-mode: t tooltip-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: ( s e t q SPC v c - r c s - c h e c k i n - s w i t c h e s SPC " - l " ) C-x C-e C-x C-f D e s k t o p / t m p . t e l C-x v v y c o o m C-c C-c y C-x v v e s d i t C-x C-s C-x v v C-c C-c e d i t SPC 2 C-x C-s C-x v v M-x r e p o r Recent messages: Checking out c:/Documents and Settings/User/Desktop/tmp.el...done Saving file c:/Documents and Settings/User/Desktop/tmp.el... Wrote c:/Documents and Settings/User/Desktop/tmp.el Mark set Press C-c C-c when you are done editing. Enter a change comment. Type C-c C-c when done Checking in c:/Documents and Settings/User/Desktop/tmp.el...done Saving file c:/Documents and Settings/User/Desktop/tmp.el... Wrote c:/Documents and Settings/User/Desktop/tmp.el Checking out c:/Documents and Settings/User/Desktop/tmp.el... vc-do-command: Running co -l -r1.2 RCS/tmp.el,v...FAILED (status 1) ------------=_1255501207-2862-1--