From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: sh.exe needed to bootstrap on Windows? Date: Tue, 17 Jul 2007 01:01:15 +0300 Message-ID: References: <200707162101.l6GL1GpJ013563@oogie-boogie.ics.uci.edu> <200707162130.l6GLUW4I014590@oogie-boogie.ics.uci.edu> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: sea.gmane.org 1184623290 14221 80.91.229.12 (16 Jul 2007 22:01:30 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 16 Jul 2007 22:01:30 +0000 (UTC) Cc: lekktu@gmail.com, emacs-devel@gnu.org To: Dan Nicolaescu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jul 17 00:01:28 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 1IAYdD-0007CH-37 for ged-emacs-devel@m.gmane.org; Tue, 17 Jul 2007 00:01:27 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IAYdC-000113-Lb for ged-emacs-devel@m.gmane.org; Mon, 16 Jul 2007 18:01:26 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IAYd9-00010l-VU for emacs-devel@gnu.org; Mon, 16 Jul 2007 18:01:23 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IAYd9-00010Q-Cr for emacs-devel@gnu.org; Mon, 16 Jul 2007 18:01:23 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IAYd9-00010L-39 for emacs-devel@gnu.org; Mon, 16 Jul 2007 18:01:23 -0400 Original-Received: from nitzan.inter.net.il ([213.8.233.22]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IAYd8-00040Y-E1 for emacs-devel@gnu.org; Mon, 16 Jul 2007 18:01:22 -0400 Original-Received: from HOME-C4E4A596F7 (IGLD-84-229-116-169.inter.net.il [84.229.116.169]) by nitzan.inter.net.il (MOS 3.7.3a-GA) with ESMTP id HGU10250 (AUTH halo1); Tue, 17 Jul 2007 01:01:24 +0300 (IDT) In-reply-to: <200707162130.l6GLUW4I014590@oogie-boogie.ics.uci.edu> (message from Dan Nicolaescu on Mon, 16 Jul 2007 14:30:32 -0700) X-detected-kernel: FreeBSD 4.7-5.2 (or MacOS X 10.2-10.4) (2) 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:74930 Archived-At: > Cc: lekktu@gmail.com, emacs-devel@gnu.org > From: Dan Nicolaescu > Date: Mon, 16 Jul 2007 14:30:32 -0700 > > > (let ((backend (vc-file-getprop file 'vc-backend))) > > (mapcar > > (lambda (b) > > (and (vc-call-backend b 'registered file) > > (vc-file-setprop file 'vc-backend b) > > (throw 'found t))) > > (if (or (not backend) (eq backend 'none)) > > vc-handled-backends > > (cons backend vc-handled-backends)))) > > > > Tries every backend in sight until it finds one. > > That is fine. > > > Am I missing something? > > Don't know, vc-BACKEND-registered should be an autoloaded function > that should not cause vc-BACKEND.el to be loaded. So this code should > not be the cause of vc-bzr.el being loaded. But this is a mapcar that goes over vc-handled-backends, which includes bzr. So eventually, it will call (vc-call-backend 'bzr file 'vc-backend) which will load vc-bzr.el. Am I right?