From: owner@emacsbugs.donarmstrong.com (Emacs bug Tracking System)
To: Dan Nicolaescu <dann@ics.uci.edu>
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 [thread overview]
Message-ID: <handler.4685.D4685.12555007532025.ackdone@emacsbugs.donarmstrong.com> (raw)
In-Reply-To: 84pr8wgbho.fsf@email.unc.edu
[-- 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.
prev parent reply other threads:[~2009-10-14 6:20 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[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 ` Emacs bug Tracking System [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=handler.4685.D4685.12555007532025.ackdone@emacsbugs.donarmstrong.com \
--to=owner@emacsbugs.donarmstrong.com \
--cc=dann@ics.uci.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.