unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Dan Nicolaescu <dann@ics.uci.edu>
To: Eli Zaretskii <eliz@gnu.org>
Cc: lekktu@gmail.com, emacs-devel@gnu.org
Subject: Re: sh.exe needed to bootstrap on Windows?
Date: Mon, 16 Jul 2007 14:30:32 -0700	[thread overview]
Message-ID: <200707162130.l6GLUW4I014590@oogie-boogie.ics.uci.edu> (raw)
In-Reply-To: <uejj8rqpx.fsf@gnu.org> (Eli Zaretskii's message of "Tue\, 17 Jul 2007 00\:19\:54 +0300")

Eli Zaretskii <eliz@gnu.org> writes:

  > > Cc: "Juanma Barranquero" <lekktu@gmail.com>, emacs-devel@gnu.org
  > > From: Dan Nicolaescu <dann@ics.uci.edu>
  > > Date: Mon, 16 Jul 2007 14:01:16 -0700
  > > 
  > >   > 	(setq vc-bzr-version
  > >   > 	      (let ((s (shell-command-to-string
  > >   > 			(concat (shell-quote-argument vc-bzr-program)
  > >   > 				" --version"))))
  > >   > 		(if (string-match "\\([0-9]+\\)\\.\\([0-9]+\\)\\.\\([0-9]+\\)$" s)
  > >   > 		    (list (string-to-number (match-string 1 s))
  > >   > 			  (string-to-number (match-string 2 s))
  > >   > 			  (string-to-number (match-string 3 s)))
  > >   > 		  '(0 0 0))))))
  > > 
  > > What calls this function? It seems that it can be called when
  > > vc-bzr.el is loaded, but why is vc-bzr loaded? I assume you don't use
  > > bzr for emacs...
  > 
  > No, I don't use bzr.  I didn't actually step through the code, but it
  > looks to me that this part of vc-hooks.el:vc-registered:
  > 
  >       ;; There is no file name handler.
  >       ;; Try vc-BACKEND-registered for each handled BACKEND.
  >       (catch 'found
  > 	(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.

  reply	other threads:[~2007-07-16 21:30 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-16  9:10 sh.exe needed to bootstrap on Windows? Juanma Barranquero
2007-07-16 19:15 ` Eli Zaretskii
2007-07-16 19:54   ` Juanma Barranquero
2007-07-16 20:19     ` Eli Zaretskii
2007-07-16 20:28       ` Juanma Barranquero
2007-07-16 20:46         ` Eli Zaretskii
2007-07-16 21:01           ` Dan Nicolaescu
2007-07-16 21:19             ` Eli Zaretskii
2007-07-16 21:30               ` Dan Nicolaescu [this message]
2007-07-16 22:01                 ` Eli Zaretskii
2007-07-16 22:40                   ` Dan Nicolaescu
2007-07-16 22:44                     ` Eli Zaretskii
2007-07-16 22:53                       ` Dan Nicolaescu
2007-07-17  3:15                         ` Eli Zaretskii
2007-07-16 20:34       ` Dan Nicolaescu
2007-07-17  7:56       ` Jason Rumney
2007-07-17  8:43         ` Dan Nicolaescu
2007-07-17 11:26         ` Eli Zaretskii
2007-07-17 11:39           ` Juanma Barranquero
2007-07-17 11:45           ` Andreas Schwab
2007-07-17 12:51             ` Thien-Thi Nguyen
2007-07-17 13:13               ` David Kastrup
2007-07-17 20:02               ` Eli Zaretskii
2007-07-17 20:03             ` Eli Zaretskii
2007-07-17 16:52           ` Stefan Monnier
2007-07-17 20:06             ` Eli Zaretskii
2007-07-17 22:11               ` Juanma Barranquero
2007-07-16 22:47 ` Eli Zaretskii
2007-07-17 10:07   ` Juanma Barranquero
2007-07-17 10:33     ` Eli Zaretskii

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=200707162130.l6GLUW4I014590@oogie-boogie.ics.uci.edu \
    --to=dann@ics.uci.edu \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=lekktu@gmail.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).