From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lute Kamstra Newsgroups: gmane.emacs.devel Subject: Passing flags using vc-do-command Date: Mon, 07 Mar 2011 18:53:15 +0100 Message-ID: <87lj0qstpw.fsf@speer.lan> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1299520417 31094 80.91.229.12 (7 Mar 2011 17:53:37 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 7 Mar 2011 17:53:37 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Mar 07 18:53:33 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Pwece-0000pd-QC for ged-emacs-devel@m.gmane.org; Mon, 07 Mar 2011 18:53:32 +0100 Original-Received: from localhost ([127.0.0.1]:43516 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pwece-0006WC-50 for ged-emacs-devel@m.gmane.org; Mon, 07 Mar 2011 12:53:32 -0500 Original-Received: from [140.186.70.92] (port=50387 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PwecT-0006UW-8t for emacs-devel@gnu.org; Mon, 07 Mar 2011 12:53:22 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PwecS-0001nm-9u for emacs-devel@gnu.org; Mon, 07 Mar 2011 12:53:21 -0500 Original-Received: from smtp-vbr15.xs4all.nl ([194.109.24.35]:3933) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PwecS-0001mh-2i for emacs-devel@gnu.org; Mon, 07 Mar 2011 12:53:20 -0500 Original-Received: from speer.lan (a80-101-193-22.adsl.xs4all.nl [80.101.193.22]) by smtp-vbr15.xs4all.nl (8.13.8/8.13.8) with ESMTP id p27HrF46072299 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for ; Mon, 7 Mar 2011 18:53:16 +0100 (CET) (envelope-from Lute.Kamstra@xs4all.nl) Original-Received: from lute by speer.lan with local (Exim 4.74) (envelope-from ) id 1PwecN-0000jr-26 for emacs-devel@gnu.org; Mon, 07 Mar 2011 18:53:15 +0100 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) Original-Lines: 17 X-Virus-Scanned: by XS4ALL Virus Scanner X-detected-operating-system: by eggs.gnu.org: FreeBSD 4.6-4.9 X-Received-From: 194.109.24.35 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:136841 Archived-At: Hello everyone, I'm writing a VC backend for Surround SCM, a version control program that is used at my work. I try to use vc-do-command to call the CLI of Surround, but that's giving me some problems. For example, to check out version 3 of file "some_file.txt", you need to issue: sscm checkout some_file.txt -v3 So you need to pass the switch "checkout" before the file name and "-v3" after the file name. vc-do-command does not seem to support that. As far as I can tell, it only allows me to pass flags before the file name. Am I missing something? If not, what would be the best way to remedy the situation? Regards, Lute Kamstra