From: "Vangelis Evangelou" <vangelis@email.unc.edu>
To: "Dan Nicolaescu" <dann@ics.uci.edu>
Cc: 4685@emacsbugs.donarmstrong.com
Subject: bug#4685: 23.1; vc-rcs doesn't recognize status when checkin-switch -l
Date: Mon, 12 Oct 2009 09:27:30 +0100 [thread overview]
Message-ID: <1FFB9BE9F48F45C99BC5EB7567F3E63F@RPCee224> (raw)
In-Reply-To: 200910091825.n99IP12w000179@godzilla.ics.uci.edu
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.
>
>
next prev parent reply other threads:[~2009-10-12 8:27 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 [this message]
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
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1FFB9BE9F48F45C99BC5EB7567F3E63F@RPCee224 \
--to=vangelis@email.unc.edu \
--cc=4685@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 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).