GNU bug report logs -
#4685
23.1; vc-rcs doesn't recognize status when checkin-switch -l
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 4685 in the body.
You can then email your comments to 4685 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#4685
; Package
emacs
.
(Fri, 09 Oct 2009 09:40:06 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Evangelos Evangelou <vangelis <at> email.unc.edu>
:
New bug report received and forwarded. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
(Fri, 09 Oct 2009 09:40:06 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):
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 <at> 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 <backspace> e l <return> C-x v v y c o
o m C-c C-c y C-x v v e s <backspace> d i t C-x C-s
C-x v v C-c C-c <return> e d i t SPC 2 C-x C-s C-x
v v M-x r e p o r <tab> <return>
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)
Information forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#4685
; Package
emacs
.
(Fri, 09 Oct 2009 18:30:05 GMT)
Full text and
rfc822 format available.
Message #8 received at 4685 <at> emacsbugs.donarmstrong.com (full text, mbox):
Evangelos Evangelou <vangelis <at> email.unc.edu> 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 <at> 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.
Information forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#4685
; Package
emacs
.
(Mon, 12 Oct 2009 08:35:04 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
"Vangelis Evangelou" <vangelis <at> email.unc.edu>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
(Mon, 12 Oct 2009 08:35:04 GMT)
Full text and
rfc822 format available.
Message #13 received at 4685 <at> emacsbugs.donarmstrong.com (full text, mbox):
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" <dann <at> ics.uci.edu>
To: "Evangelos Evangelou" <vangelis <at> email.unc.edu>
Cc: <4685 <at> 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 <vangelis <at> email.unc.edu> 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 <at> 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.
>
>
Reply sent
to
Dan Nicolaescu <dann <at> ics.uci.edu>
:
You have taken responsibility.
(Wed, 14 Oct 2009 06:20:06 GMT)
Full text and
rfc822 format available.
Notification sent
to
Evangelos Evangelou <vangelis <at> email.unc.edu>
:
bug acknowledged by developer.
(Wed, 14 Oct 2009 06:20:07 GMT)
Full text and
rfc822 format available.
Message #18 received at 4685-done <at> emacsbugs.donarmstrong.com (full text, mbox):
"Vangelis Evangelou" <vangelis <at> email.unc.edu> 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.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> emacsbugs.donarmstrong.com
.
(Wed, 11 Nov 2009 15:24:15 GMT)
Full text and
rfc822 format available.
This bug report was last modified 15 years and 275 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.