From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Jan D." Newsgroups: gmane.emacs.devel Subject: Re: Boostrap error Date: Mon, 08 Nov 2004 21:55:21 +0100 Message-ID: <418FDD39.7040601@swipnet.se> References: <418F258D.5050201@wyrdrune.com> <3E791795-316A-11D9-A429-000D93505B76@swipnet.se> <418F4AC8.4050906@gnu.org> <418FAFA5.6010108@swipnet.se> <029f01c4c5be$422cd8f0$0200a8c0@sedrcw11488> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------050907050208040407080007" X-Trace: sea.gmane.org 1099948356 27765 80.91.229.6 (8 Nov 2004 21:12:36 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 8 Nov 2004 21:12:36 +0000 (UTC) Cc: Emacs Devel , Jason Rumney Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 08 22:12:23 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CRGoI-0006Eh-00 for ; Mon, 08 Nov 2004 22:12:22 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CRGwf-00012b-9T for ged-emacs-devel@m.gmane.org; Mon, 08 Nov 2004 16:21:01 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CRGve-0000dn-P7 for emacs-devel@gnu.org; Mon, 08 Nov 2004 16:19:59 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CRGva-0000bF-Vv for emacs-devel@gnu.org; Mon, 08 Nov 2004 16:19:55 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CRGva-0000aG-MG for emacs-devel@gnu.org; Mon, 08 Nov 2004 16:19:54 -0500 Original-Received: from [199.232.41.8] (helo=mx20.gnu.org) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1CRGme-0002Iu-NA; Mon, 08 Nov 2004 16:10:40 -0500 Original-Received: from [195.54.107.70] (helo=mxfep01.bredband.com) by mx20.gnu.org with esmtp (Exim 4.34) id 1CRGcI-0005Um-TV; Mon, 08 Nov 2004 15:59:59 -0500 Original-Received: from coolsville.localdomain ([83.226.180.220] [83.226.180.220]) by mxfep01.bredband.com with ESMTP id <20041108205510.MTIO4883.mxfep01.bredband.com@coolsville.localdomain>; Mon, 8 Nov 2004 21:55:10 +0100 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.1) Gecko/20040707 X-Accept-Language: sv, en-us, en Original-To: Lennart Borgman In-Reply-To: <029f01c4c5be$422cd8f0$0200a8c0@sedrcw11488> 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: main.gmane.org gmane.emacs.devel:29599 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:29599 This is a multi-part message in MIME format. --------------050907050208040407080007 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Lennart Borgman wrote: > I have attached a version I sent to Emacs Devel earlier with some > corrections to Stefans code. It also handles path like /c. I have tested it > with MSYS which uses such paths, but I have not tested the build process > yet. (Since it takes such a long time on this very old pc.) If I cd to /cygdrive/d/src/emacs-cygwin and make bootstrap I get the old message abount encoded-kb not found. If I cd to /d/src/emacs-cygwin and make bootstrap I get: "./../bin/emacs.exe" -batch --no-init-file --no-site-file --multibyte -l autoload \ --eval '(setq find-file-hook nil \ find-file-suppress-same-file-warnings t \ generated-autoload-file \ "/d/src/emacs-cygwin/lisp/loaddefs.el")' \ -f batch-update-autoloads /d/src/emacs-cygwin/lisp calc calendar emacs-lisp emulation eshell gnus international language mail mh-e net obsolete play progmodes term textmodes toolbar url handler expand-file-name (subdirs.el /:/d/src/emacs-cygwin/lisp) Wrong type argument: number-or-marker-p, nil Signal 127 make[1]: *** [autoloads] Error 255 make[1]: Leaving directory `/d/src/emacs-cygwin/lisp' make: *** [bootstrap-gmake] Error 2 Jan D. --------------050907050208040407080007 Content-Type: text/plain; name="cygdrive.el" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="cygdrive.el" ;;; Try to handle the most common misuses of cygwin paths. ;;(defconst w32-cygdrive-name-regexp "\\`/cygdrive/\\(.\\)/") (defconst w32-cygdrive-name-regexp "^\\(?:/cygwin\\)?/\\(.\\)/") ;;(defconst w32-cygdrive-name-regexp "^/\\(.\\)/") (defun w32-cygdrive-run-real-handler (op args) (let ((inhibit-file-name-handlers (cons 'w32-cygdrive-name-handler (if (eq inhibit-file-name-operation op) inhibit-file-name-handlers))) (inhibit-file-name-operation op)) (apply op args))) (defun w32-cygdrive-name-handler (op &rest args) (message "handler %s %s" op args) (case op (expand-file-name (let ((file (car args)) (cdrargs (cdr args))) (cond ((= 0 (string-match w32-cygdrive-name-regexp file)) (w32-cygdrive-run-real-handler op (cons (replace-match "\\1:/" t nil file) cdrargs))) ((= 0 (string-match w32-cygdrive-name-regexp (car cdrargs))) (w32-cygdrive-run-real-handler op (list* file (replace-match "\\1:/" t nil (car cdrargs)) (cdr cdrargs)))) ;; This is actually an error (we should never get here), ;; but let's be defensive. (t (w32-cygdrive-run-real-handler op args))))) (t (w32-cygdrive-run-real-handler op args)))) (push (cons w32-cygdrive-name-regexp 'w32-cygdrive-name-handler) file-name-handler-alist) (find-file "/c/hello.txt/") --------------050907050208040407080007 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel --------------050907050208040407080007--