From: "Jan D." <jan.h.d@swipnet.se>
Cc: Emacs Devel <emacs-devel@gnu.org>, Jason Rumney <jasonr@gnu.org>
Subject: Re: Boostrap error
Date: Mon, 08 Nov 2004 21:55:21 +0100 [thread overview]
Message-ID: <418FDD39.7040601@swipnet.se> (raw)
In-Reply-To: <029f01c4c5be$422cd8f0$0200a8c0@sedrcw11488>
[-- Attachment #1: Type: text/plain, Size: 1227 bytes --]
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.
[-- Attachment #2: cygdrive.el --]
[-- Type: text/plain, Size: 1325 bytes --]
;;; 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/")
[-- Attachment #3: Type: text/plain, Size: 142 bytes --]
_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel
next prev parent reply other threads:[~2004-11-08 20:55 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-08 7:51 Boostrap error Guy Gascoigne-Piggford
2004-11-08 8:40 ` Jason Rumney
2004-11-08 9:40 ` Jan D.
2004-11-08 10:20 ` Stephan Stahl
2004-11-08 10:30 ` Jason Rumney
2004-11-08 10:44 ` Jason Rumney
2004-11-08 17:40 ` Jan D.
[not found] ` <029f01c4c5be$422cd8f0$0200a8c0@sedrcw11488>
2004-11-08 20:55 ` Jan D. [this message]
2004-11-08 21:32 ` Jason Rumney
2004-11-08 21:40 ` Jan D.
2004-11-09 18:52 ` Lennart Borgman
2004-11-10 8:51 ` Jan D.
[not found] ` <052d01c4c726$612d4d20$0200a8c0@sedrcw11488>
2004-11-10 14:12 ` Jan D.
2004-11-10 16:20 ` Stefan Monnier
2004-11-10 18:31 ` Guy Gascoigne - Piggford
2004-11-10 23:53 ` Lennart Borgman
2004-11-11 20:35 ` Guy Gascoigne-Piggford
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=418FDD39.7040601@swipnet.se \
--to=jan.h.d@swipnet.se \
--cc=emacs-devel@gnu.org \
--cc=jasonr@gnu.org \
/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).