From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Customizing the VC backend order Date: Fri, 10 Aug 2007 01:24:35 -0400 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1186723487 3168 80.91.229.12 (10 Aug 2007 05:24:47 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 10 Aug 2007 05:24:47 +0000 (UTC) Cc: Emacs Devel To: dhruva Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Aug 10 07:24:44 2007 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.50) id 1IJMzL-00053Q-QH for ged-emacs-devel@m.gmane.org; Fri, 10 Aug 2007 07:24:44 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IJMzL-0001X1-9l for ged-emacs-devel@m.gmane.org; Fri, 10 Aug 2007 01:24:43 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IJMzH-0001Wa-BP for emacs-devel@gnu.org; Fri, 10 Aug 2007 01:24:39 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IJMzF-0001WF-GV for emacs-devel@gnu.org; Fri, 10 Aug 2007 01:24:38 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IJMzF-0001WC-Bp for emacs-devel@gnu.org; Fri, 10 Aug 2007 01:24:37 -0400 Original-Received: from bc.sympatico.ca ([209.226.175.184] helo=tomts22-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IJMzF-0000Sg-17 for emacs-devel@gnu.org; Fri, 10 Aug 2007 01:24:37 -0400 Original-Received: from pastel.home ([70.53.193.128]) by tomts22-srv.bellnexxia.net (InterMail vM.5.01.06.13 201-253-122-130-113-20050324) with ESMTP id <20070810052436.HWK18413.tomts22-srv.bellnexxia.net@pastel.home> for ; Fri, 10 Aug 2007 01:24:36 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id DB0DA8571; Fri, 10 Aug 2007 01:24:35 -0400 (EDT) In-Reply-To: (dhruva's message of "Fri\, 10 Aug 2007 10\:37\:48 +0530") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) X-Detected-Kernel: Solaris 8 (1) 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:76309 Archived-At: >> > falling back on CVS (and the rest). I tried modifying the order in >> > "vc-handled-backends" in my dotemacs file. >> >> That *should* work. > I tried with only the following two lines in my dotemacs > (load "vc-hg") What's that for? > (setq vc-handled-backends (nconc '(Hg) (delq 'Hg vc-handled-backends))) Why `nconc' rather than `cons' (or `append')? > $emacs -q -l dotemacs > I still see CVS selected over Hg though the file is under CVS (pulled) > and Mercurial (Hg, with edits). > I just wanted to make sure if I am doing the right thing. Does C-x v b allow you to switch to the Hg backend? Stefan