From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Lennart Borgman (gmail)" Newsgroups: gmane.emacs.devel Subject: Re: Still cannot build native windows version of emacs 23.* Date: Sat, 09 Feb 2008 23:20:17 +0100 Message-ID: <47AE2721.2000600@gmail.com> References: <47A6F0BA.7020806@gnu.org> <47ACC94A.8050704@gmail.com> <47AD8DA4.2060801@gmail.com> <47AD921A.7090707@gmail.com> <47AD9672.9050102@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1202595712 8772 80.91.229.12 (9 Feb 2008 22:21:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 9 Feb 2008 22:21:52 +0000 (UTC) Cc: Eli Zaretskii , emacs-devel@gnu.org To: Jason Rumney Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Feb 09 23:22:14 2008 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 1JNy5N-0001LY-GP for ged-emacs-devel@m.gmane.org; Sat, 09 Feb 2008 23:22:13 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JNy4u-0001PK-DI for ged-emacs-devel@m.gmane.org; Sat, 09 Feb 2008 17:21:44 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JNy3n-0000Hb-4L for emacs-devel@gnu.org; Sat, 09 Feb 2008 17:20:35 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JNy3l-0000Ek-8M for emacs-devel@gnu.org; Sat, 09 Feb 2008 17:20:34 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JNy3k-0000Ea-UG for emacs-devel@gnu.org; Sat, 09 Feb 2008 17:20:32 -0500 Original-Received: from ch-smtp01.sth.basefarm.net ([80.76.149.212]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JNy3d-0002am-9W; Sat, 09 Feb 2008 17:20:25 -0500 Original-Received: from c83-254-148-228.bredband.comhem.se ([83.254.148.228]:60189 helo=[127.0.0.1]) by ch-smtp01.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1JNy3a-0005Cw-4z; Sat, 09 Feb 2008 23:20:23 +0100 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666 In-Reply-To: <47AD9672.9050102@gnu.org> X-Antivirus: avast! (VPS 080209-0, 2008-02-09), Outbound message X-Antivirus-Status: Clean X-Originating-IP: 83.254.148.228 X-Scan-Result: No virus found in message 1JNy3a-0005Cw-4z. X-Scan-Signature: ch-smtp01.sth.basefarm.net 1JNy3a-0005Cw-4z 7388796554465ed31463e634dc3941db X-detected-kernel: by monty-python.gnu.org: Linux 2.6? (barebone, rare!) 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:88600 Archived-At: Jason Rumney wrote: > Lennart Borgman (gmail) wrote: >> And after reinserting the same code I sent before I get this: >> >> Generating autoloads for kmacro.el...done >> -- c:/eclean/bld/emacs/lisp/ldefs-boot.el: (;; version-control: never >> ;; no-byte-compile: t >> ;; no-update-autoloads: t >> ) >> Local variables entry in c:/eclean/bld/emacs/lisp/ldefs-boot.el >> is missing the suffix (suffix chars: (13 36)), line: >> version-control: never >> make[1]: *** [autoloads] Error -1 >> make[1]: Leaving directory `C:/eclean/bld/emacs/lisp' >> make: *** [bootstrap-gmake] Error 2 >> >> There is a CR in ldefs-boot.el. > > Yes, there are two embedded ^M characters, which cause the eol detection > to fail. They seem to be translated from the \r and \C-m escape > sequences in button.el and wid-edit.el. The conversion from \r in button.el in ;;;###autoload (defvar button-map (let ((map (make-sparse-keymap))) (define-key map "\r" 'push-button) (define-key map [mouse-2] 'push-button) map) "Keymap used by buttons.") happens in `read' in `autoload-generate-file-autoloads' in autoload.el: ;; Read the next form and make an autoload. (let* ((form (prog1 (read (current-buffer)) (or (bolp) (forward-line 1)))) (autoload (make-autoload form load-name))) (if autoload (push (nth 1 form) autoloads-done) (setq autoload form)) (let ((autoload-print-form-outbuf outbuf)) (autoload-print-form autoload))) Would it help to write the key binding as (define-key map [(control ?m)] 'push-button) I just tried, but ldefs-boot.el was not changed. When is ldefs-boot.el created? Where is this described? However chaning the bindings in ldefs-boot.el directly makes bootstrap succeed.