From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Masatake YAMATO Newsgroups: gmane.emacs.devel Subject: Re: vc backend precedence question Date: Tue, 24 Jul 2007 20:19:32 +0900 (JST) Message-ID: <20070724.201932.206839824.jet@gyve.org> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1185275994 30254 80.91.229.12 (24 Jul 2007 11:19:54 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 24 Jul 2007 11:19:54 +0000 (UTC) Cc: emacs-devel@gnu.org To: dhruvakm@gmail.com Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jul 24 13:19:52 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 1IDIQg-0002As-Aj for ged-emacs-devel@m.gmane.org; Tue, 24 Jul 2007 13:19:50 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IDIQf-0001Ak-DT for ged-emacs-devel@m.gmane.org; Tue, 24 Jul 2007 07:19:49 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IDIQb-0001AM-Fh for emacs-devel@gnu.org; Tue, 24 Jul 2007 07:19:45 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IDIQa-0001A1-5g for emacs-devel@gnu.org; Tue, 24 Jul 2007 07:19:45 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IDIQZ-00019y-V4 for emacs-devel@gnu.org; Tue, 24 Jul 2007 07:19:43 -0400 Original-Received: from mx1.redhat.com ([66.187.233.31]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IDIQZ-0001KY-NW for emacs-devel@gnu.org; Tue, 24 Jul 2007 07:19:43 -0400 Original-Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.1/8.13.1) with ESMTP id l6OBJZPj003265; Tue, 24 Jul 2007 07:19:35 -0400 Original-Received: from pobox.tokyo.redhat.com (pobox.tokyo.redhat.com [172.16.33.225]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id l6OBJXdb005119; Tue, 24 Jul 2007 07:19:34 -0400 Original-Received: from localhost (gps06.tokyo.redhat.com [172.16.32.89]) by pobox.tokyo.redhat.com (8.12.11.20060308/8.12.8) with ESMTP id l6OBJWxt029386; Tue, 24 Jul 2007 20:19:32 +0900 In-Reply-To: X-Mailer: Mew version 5.2 on Emacs 22.1.50 / Mule 5.0 (SAKAKI) X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) 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:75448 Archived-At: > I tried reordering the list "vc-handled-backends" as: > (setq vc-handled-backends (nconc '(HG) (delq 'HG vc-handled-backends))) When and where did you this? In .emacs or *scratch*? When you open a file, vc makes an association between the file and one backend. So if the association is already established, evaluating (setq vc-handled-backends (nconc '(HG) (delq 'HG vc-handled-backends))) is too late. To check the association on a file, see `vc-registered' in vc-hooks.el. Masatake YAMATO