* bug#4685: 23.1; vc-rcs doesn't recognize status when checkin-switch -l
@ 2009-10-09 9:30 ` Evangelos Evangelou
2009-10-09 18:25 ` Dan Nicolaescu
2009-10-14 6:20 ` bug#4685: marked as done (23.1; vc-rcs doesn't recognize status when checkin-switch -l) Emacs bug Tracking System
0 siblings, 2 replies; 4+ messages in thread
From: Evangelos Evangelou @ 2009-10-09 9:30 UTC (permalink / raw)
To: bug-gnu-emacs
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 <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)
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#4685: 23.1; vc-rcs doesn't recognize status when checkin-switch -l
2009-10-09 9:30 ` bug#4685: 23.1; vc-rcs doesn't recognize status when checkin-switch -l Evangelos Evangelou
@ 2009-10-09 18:25 ` Dan Nicolaescu
2009-10-12 8:27 ` Vangelis Evangelou
2009-10-14 6:20 ` bug#4685: marked as done (23.1; vc-rcs doesn't recognize status when checkin-switch -l) Emacs bug Tracking System
1 sibling, 1 reply; 4+ messages in thread
From: Dan Nicolaescu @ 2009-10-09 18:25 UTC (permalink / raw)
To: Evangelos Evangelou; +Cc: 4685
Evangelos Evangelou <vangelis@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@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.
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#4685: 23.1; vc-rcs doesn't recognize status when checkin-switch -l
2009-10-09 18:25 ` Dan Nicolaescu
@ 2009-10-12 8:27 ` Vangelis Evangelou
0 siblings, 0 replies; 4+ messages in thread
From: Vangelis Evangelou @ 2009-10-12 8:27 UTC (permalink / raw)
To: Dan Nicolaescu; +Cc: 4685
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@ics.uci.edu>
To: "Evangelos Evangelou" <vangelis@email.unc.edu>
Cc: <4685@emacsbugs.donarmstrong.com>
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@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@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.
>
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#4685: marked as done (23.1; vc-rcs doesn't recognize status when checkin-switch -l)
2009-10-09 9:30 ` bug#4685: 23.1; vc-rcs doesn't recognize status when checkin-switch -l Evangelos Evangelou
2009-10-09 18:25 ` Dan Nicolaescu
@ 2009-10-14 6:20 ` Emacs bug Tracking System
1 sibling, 0 replies; 4+ messages in thread
From: Emacs bug Tracking System @ 2009-10-14 6:20 UTC (permalink / raw)
To: Dan Nicolaescu
[-- Attachment #1: Type: text/plain, Size: 942 bytes --]
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 checkin-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.)
--
4685: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=4685
Emacs Bug Tracking System
Contact owner@emacsbugs.donarmstrong.com with problems
[-- Attachment #2: Type: message/rfc822, Size: 5775 bytes --]
From: Evangelos Evangelou <vangelis@email.unc.edu>
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>
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 <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)
[-- Attachment #3: Type: message/rfc822, Size: 2596 bytes --]
From: Dan Nicolaescu <dann@ics.uci.edu>
To: Vangelis Evangelou <vangelis@email.unc.edu>
Cc: 4685-done@emacsbugs.donarmstrong.com
Subject: Re: bug#4685: 23.1; vc-rcs doesn't recognize status when checkin-switch -l
Date: Tue, 13 Oct 2009 23:12:21 -0700 (PDT)
Message-ID: <200910140612.n9E6CLA4019483@godzilla.ics.uci.edu>
"Vangelis Evangelou" <vangelis@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.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-10-14 6:20 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <200910140612.n9E6CLA4019483@godzilla.ics.uci.edu>
2009-10-09 9:30 ` bug#4685: 23.1; vc-rcs doesn't recognize status when checkin-switch -l Evangelos Evangelou
2009-10-09 18:25 ` Dan Nicolaescu
2009-10-12 8:27 ` Vangelis Evangelou
2009-10-14 6:20 ` bug#4685: marked as done (23.1; vc-rcs doesn't recognize status when checkin-switch -l) Emacs bug Tracking System
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).