all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lennart Borgman <lennart.borgman@gmail.com>
To: Juanma Barranquero <lekktu@gmail.com>
Cc: Eli Zaretskii <eliz@gnu.org>, emacs-devel@gnu.org
Subject: Re: Changes in lisp/Makefile.in to skip preloaded files
Date: Fri, 9 Oct 2009 01:34:39 +0200	[thread overview]
Message-ID: <e01d8a50910081634t7a0676dj725e70a540737efc@mail.gmail.com> (raw)
In-Reply-To: <f7ccd24b0910081631n1aa7072cs2ae268d4c33f0b80@mail.gmail.com>

Thanks, is there something wrong with applying this to the trunk until
the problem is fixed?


On Fri, Oct 9, 2009 at 1:31 AM, Juanma Barranquero <lekktu@gmail.com> wrote:
> On Fri, Oct 9, 2009 at 01:08, Lennart Borgman <lennart.borgman@gmail.com> wrote:
>
>> Thanks for working on this, but what is the status right now? Is it
>> possible to build Emacs on w32?
>
> Apply the following patch to temporarily remove the changes that
> disable autoload generation on Windows. (This is not a "fix", is just
> a workaround.)
>
>    Juanma
>
>
> Index: lisp/emacs-lisp/autoload.el
> ===================================================================
> RCS file: /cvsroot/emacs/emacs/lisp/emacs-lisp/autoload.el,v
> retrieving revision 1.149
> diff -u -2 -r1.149 autoload.el
> --- lisp/emacs-lisp/autoload.el 7 Oct 2009 16:10:37 -0000       1.149
> +++ lisp/emacs-lisp/autoload.el 7 Oct 2009 17:23:46 -0000
> @@ -684,18 +684,16 @@
>   "Update loaddefs.el autoloads in batch mode.
>  Calls `update-directory-autoloads' on the command line arguments."
> -  ;; For use during the Emacs build process only.
> -  (unless autoload-excludes
> -    (let* ((ldir (file-name-directory generated-autoload-file))
> -          (mfile (expand-file-name "../src/Makefile" ldir))
> -          lim)
> -      (when (file-readable-p mfile)
> -       (with-temp-buffer
> -         (insert-file-contents mfile)
> -         (when (re-search-forward "^lisp= " nil t)
> -           (setq lim (line-end-position))
> -           (while (re-search-forward "\\${lispsource}\\([^ ]+\\.el\\)c?\\>"
> -                                     lim t)
> -             (push (expand-file-name (match-string 1) ldir)
> -                   autoload-excludes)))))))
> +  ;; For use during the Emacs build process only.  We do the file-name
> +  ;; expansion here rather than in lisp/Makefile in order to keep the
> +  ;; shell command line short.  (Long lines are an issue on some systems.)
> +  (if (stringp autoload-excludes)
> +      (setq autoload-excludes
> +           (mapcar
> +            (lambda (file)
> +              (concat
> +               (expand-file-name (file-name-sans-extension file)
> +                                 (file-name-directory generated-autoload-file))
> +               ".el"))
> +            (split-string autoload-excludes))))
>   (let ((args command-line-args-left))
>     (setq command-line-args-left nil)
>




  reply	other threads:[~2009-10-08 23:34 UTC|newest]

Thread overview: 45+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <E1Mv3iq-0005oI-5L@monty-python.gnu.org>
2009-10-06  7:44 ` Changes in lisp/Makefile.in to skip preloaded files Eli Zaretskii
2009-10-06  9:25   ` Eli Zaretskii
2009-10-06  9:33     ` Miles Bader
2009-10-06  9:42       ` Eli Zaretskii
2009-10-06 10:14         ` Miles Bader
2009-10-06 13:12           ` Dan Nicolaescu
2009-10-06 13:45             ` Dan Nicolaescu
2009-10-06 16:20             ` Glenn Morris
2009-10-06 16:50               ` Dan Nicolaescu
2009-10-06 15:28     ` Stefan Monnier
2009-10-06 16:16     ` Glenn Morris
2009-10-06 18:41       ` Eli Zaretskii
2009-10-07  3:00         ` Glenn Morris
2009-10-07  7:23           ` Glenn Morris
2009-10-07  9:23             ` Eli Zaretskii
2009-10-07 10:00               ` Juanma Barranquero
2009-10-07 16:16               ` Glenn Morris
2009-10-08 23:08                 ` Lennart Borgman
2009-10-08 23:31                   ` Juanma Barranquero
2009-10-08 23:34                     ` Lennart Borgman [this message]
2009-10-09  0:02                       ` Juanma Barranquero
2009-10-09  0:04                         ` Glenn Morris
2009-10-09  0:25                           ` Juanma Barranquero
2009-10-09 11:48                             ` Lennart Borgman
2009-10-10  0:50                 ` ignoring autoloads in preloaded files on Windows [was Re: Changes in lisp/Makefile.in to skip preloaded files] Glenn Morris
2009-10-10  2:27                   ` Juanma Barranquero
2009-10-10  3:34                     ` ignoring autoloads in preloaded files on Windows Glenn Morris
2009-10-10  3:57                       ` Juanma Barranquero
2009-10-10  4:17                         ` Juanma Barranquero
2009-10-10  4:19                           ` Juanma Barranquero
2009-10-10  5:13                           ` Juanma Barranquero
2009-10-10  7:37                             ` Eli Zaretskii
2009-10-13 19:16                               ` Stefan Monnier
2009-10-15  6:14                                 ` Glenn Morris
2009-10-10  7:32                         ` Eli Zaretskii
2009-10-10 11:51                           ` Juanma Barranquero
2009-10-10 13:16                             ` Eli Zaretskii
2009-10-10 21:17                               ` Glenn Morris
2009-10-11  2:02                                 ` Juanma Barranquero
2009-10-11  2:36                                   ` Glenn Morris
2009-10-11  2:44                                     ` Glenn Morris
2009-10-11  3:35                                     ` Juanma Barranquero
2009-10-11 14:04                                       ` Juanma Barranquero
2009-10-07  9:57             ` Changes in lisp/Makefile.in to skip preloaded files Eli Zaretskii
2009-10-07  9:15           ` 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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e01d8a50910081634t7a0676dj725e70a540737efc@mail.gmail.com \
    --to=lennart.borgman@gmail.com \
    --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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.