bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: vc uses 1 set of switches for all back ends


From: Jari Aalto
Subject: Re: vc uses 1 set of switches for all back ends
Date: Sat, 05 Feb 2005 10:10:56 +0200
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (windows-nt)

* Sun 2005-01-30 Syd Bauman <Syd_Bauman AT Brown.edu> gnu.emacs.bug
| I use GNU Emacs 21.3.1 on a Debian "sarge" GNU/Linux system. I have
| been using RCS via 'vc.el' for years. In my .emacs the variable
| `vc-checkin-switches' is set (to "-zLT", because I can't stand having
| almost, but not quite, ISO-format dates, if you're interested). A
| project I work on recently moved to Sourceforge, so I've started to
| use CVS for those files in addition to RCS for my local projects.
| 
| When I try to check a file in (aka commit) to cvs using C-x v v with a
| modified file under CVS control as the front active buffer, I get an
| error message that "-z" is not a valid switch:

The vc-checkin-switches is global. What you need is "local" switch for
RCS, which you define in your environment. For bash:

   export RCSINIT='-x,v -zLT'

or in ~/.emacs:

   (setenv "RCSINIT" "-x,v -zLT")

Jari




reply via email to

[Prev in Thread] Current Thread [Next in Thread]