unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Kevin Rodgers <ihs_4664@yahoo.com>
Subject: Re: vc uses 1 set of switches for all back ends
Date: Mon, 07 Feb 2005 13:33:58 -0700	[thread overview]
Message-ID: <36q1lnF5493j4U1@individual.net> (raw)
In-Reply-To: <mailman.883.1107591964.2841.bug-gnu-emacs@gnu.org>

Jari Aalto wrote:
 > 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")

I think the point is that vc-rcs.el defines vc-rcs-checkin-switches (and
-checkout-) but doesn't reference them.  So the obvious fix is to
replace references to vc-checkin-switches with vc-rcs-checkin-switches
(and -checkout-), in vc-rcs.el.

I don't know how a backend-independent switch could be useful anyway,
but if it is, they could both be used:

   (let ((switches (append (if (stringp vc-checkin-switches)
                               (list vc-checkin-switches)
                             vc-checkin-switches)
                           (if (stringp vc-rcs-checkin-switches)
                               (list vc-rcs-checkin-switches)
                             vc-rcs-checkin-switches)))

-- 
Kevin Rodgers

  parent reply	other threads:[~2005-02-07 20:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.47.1107122874.2841.bug-gnu-emacs@gnu.org>
2005-02-05  8:10 ` vc uses 1 set of switches for all back ends Jari Aalto
     [not found] ` <mailman.883.1107591964.2841.bug-gnu-emacs@gnu.org>
2005-02-07 20:33   ` Kevin Rodgers [this message]
2005-01-30 21:51 Syd Bauman

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=36q1lnF5493j4U1@individual.net \
    --to=ihs_4664@yahoo.com \
    /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).