From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: owner@emacsbugs.donarmstrong.com (Emacs bug Tracking System) Newsgroups: gmane.emacs.bugs Subject: bug#4685: marked as done (23.1; vc-rcs doesn't recognize status when checkin-switch -l) Date: Wed, 14 Oct 2009 06:20:07 +0000 Message-ID: References: <200910140612.n9E6CLA4019483@godzilla.ics.uci.edu> <84pr8wgbho.fsf@email.unc.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----------=_1255501207-2862-0" X-Trace: ger.gmane.org 1255501658 7162 80.91.229.12 (14 Oct 2009 06:27:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 14 Oct 2009 06:27:38 +0000 (UTC) To: Dan Nicolaescu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Oct 14 08:27:27 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MxxKY-0002p6-HO for geb-bug-gnu-emacs@m.gmane.org; Wed, 14 Oct 2009 08:27:27 +0200 Original-Received: from localhost ([127.0.0.1]:46477 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MxxKX-0007D0-Pz for geb-bug-gnu-emacs@m.gmane.org; Wed, 14 Oct 2009 02:27:25 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MxxKQ-0007Bz-UD for bug-gnu-emacs@gnu.org; Wed, 14 Oct 2009 02:27:18 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MxxKL-00076V-9p for bug-gnu-emacs@gnu.org; Wed, 14 Oct 2009 02:27:17 -0400 Original-Received: from [199.232.76.173] (port=39149 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MxxKL-00076N-5N for bug-gnu-emacs@gnu.org; Wed, 14 Oct 2009 02:27:13 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:34020) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MxxKK-0000jT-Ks for bug-gnu-emacs@gnu.org; Wed, 14 Oct 2009 02:27:13 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n9E6RAA7004116; Tue, 13 Oct 2009 23:27:11 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n9E6K79X002962; Tue, 13 Oct 2009 23:20:07 -0700 X-Mailer: MIME-tools 5.427 (Entity 5.427) X-Loop: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: closed 4685 X-Emacs-PR-Package: emacs X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:31911 Archived-At: This is a multi-part message in MIME format... ------------=_1255501207-2862-0 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Your message dated Tue, 13 Oct 2009 23:12:21 -0700 (PDT) with message-id <200910140612.n9E6CLA4019483@godzilla.ics.uci.edu> and subject line Re: bug#4685: 23.1; vc-rcs doesn't recognize status when c= heckin-switch -l has caused the Emacs bug report #4685, regarding 23.1; vc-rcs doesn't recognize status when checkin-switch -l to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@emacsbugs.donarmstrong.com immediately.) --=20 4685: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=3D4685 Emacs Bug Tracking System Contact owner@emacsbugs.donarmstrong.com with problems ------------=_1255501207-2862-0 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-0 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@emacsbugs.donarmstrong.com 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-0--