unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Lennart Borgman (gmail)" <lennart.borgman@gmail.com>
To: Jason Rumney <jasonr@gnu.org>
Cc: Eli Zaretskii <eliz@gnu.org>, emacs-devel@gnu.org
Subject: Re: Still cannot build native windows version of emacs 23.*
Date: Sat, 09 Feb 2008 23:20:17 +0100	[thread overview]
Message-ID: <47AE2721.2000600@gmail.com> (raw)
In-Reply-To: <47AD9672.9050102@gnu.org>

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.




  reply	other threads:[~2008-02-09 22:20 UTC|newest]

Thread overview: 49+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-03 15:52 Still cannot build native windows version of emacs 23.* Eric Lilja
2008-02-03 19:50 ` Eli Zaretskii
2008-02-03 20:01   ` Eric Lilja
2008-02-04  4:06     ` Eli Zaretskii
2008-02-04  9:41       ` Eric Lilja
2008-02-04 11:02         ` Jason Rumney
2008-02-04 11:36           ` Eric Lilja
2008-02-04 11:48             ` Jason Rumney
2008-02-04 11:54               ` Eric Lilja
2008-02-04 12:13                 ` Juanma Barranquero
2008-02-04 20:56                   ` Eli Zaretskii
2008-02-04 20:45           ` Eli Zaretskii
2008-02-04 21:14             ` Eric Lilja
2008-02-04 21:23               ` Eli Zaretskii
2008-02-04 21:28                 ` Eric Lilja
2008-02-05  4:09                   ` Eli Zaretskii
2008-02-05  9:15                     ` Eric Lilja
2008-02-05 20:13                       ` Eli Zaretskii
2008-02-05 23:22                         ` Eric Lilja
2008-02-06  4:15                           ` Eli Zaretskii
2008-02-06  4:38                             ` Eric Lilja
2008-02-06 19:34                               ` Eli Zaretskii
2008-02-06 22:10                                 ` Eric Lilja
2008-02-07  4:13                                   ` Eli Zaretskii
2008-02-07  4:17                                     ` Eric Lilja
2008-02-07 19:03                                       ` Eric Lilja
2008-02-08 15:04                                         ` Eli Zaretskii
2008-02-08 15:12                                           ` Eric Lilja
2008-02-08 15:32                                             ` Eli Zaretskii
2008-02-08 21:27                                               ` Lennart Borgman (gmail)
2008-02-08 22:51                                                 ` Lennart Borgman (gmail)
2008-02-09  1:51                                                   ` Lennart Borgman (gmail)
2008-02-09  8:54                                                 ` Eli Zaretskii
2008-02-09  9:36                                                 ` Eli Zaretskii
2008-02-09 11:25                                                   ` Lennart Borgman (gmail)
2008-02-09 11:44                                                     ` Lennart Borgman (gmail)
2008-02-09 11:46                                                       ` Eric Lilja
2008-02-09 12:02                                                       ` Jason Rumney
2008-02-09 22:20                                                         ` Lennart Borgman (gmail) [this message]
2008-02-09 22:28                                                           ` Jason Rumney
2008-02-09 22:31                                                             ` Lennart Borgman (gmail)
2008-02-09  9:33                                               ` Eli Zaretskii
2008-02-09 10:35                                                 ` Eric Lilja
2008-02-09 10:50                                                   ` Eli Zaretskii
2008-02-09 12:20                                                     ` Eli Zaretskii
2008-02-12 11:14                                                       ` Kenichi Handa
2008-02-04 22:12             ` Andreas Schwab
2008-02-04 22:16               ` Eric Lilja
2008-02-04 20:47         ` 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=47AE2721.2000600@gmail.com \
    --to=lennart.borgman@gmail.com \
    --cc=eliz@gnu.org \
    --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).