* subr.el change breaks bootstrapping
@ 2006-05-24 15:14 Juanma Barranquero
2006-05-24 16:43 ` Chong Yidong
2006-05-24 16:57 ` Alan Mackenzie
0 siblings, 2 replies; 14+ messages in thread
From: Juanma Barranquero @ 2006-05-24 15:14 UTC (permalink / raw)
Something in this change breaks bootstrapping.
2006-05-24 Alan Mackenzie <acm@muc.de>
* startup.el (command-line): For names of preloaded files, don't
append ".elc" (now done in Fload), and call file-truename on the
lisp directory.
* subr.el (eval-after-load): Fix the doc-string. Allow FILE to
match ANY loaded file with the right name, not just those in
load-path. Put a regexp matching the file name into
after-load-alist, rather than the name itself.
* subr.el: New functions load-history-regexp,
load-history-filename-element, do-after-load-evaluation.
* international/mule.el (load-with-code-conversion): Do the
eval-after-load stuff by calling do-after-load-evaluation.
--
/L/e/k/t/u
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: subr.el change breaks bootstrapping
2006-05-24 15:14 subr.el change breaks bootstrapping Juanma Barranquero
@ 2006-05-24 16:43 ` Chong Yidong
2006-05-24 16:57 ` Alan Mackenzie
1 sibling, 0 replies; 14+ messages in thread
From: Chong Yidong @ 2006-05-24 16:43 UTC (permalink / raw)
Cc: Emacs Devel
"Juanma Barranquero" <lekktu@gmail.com> writes:
> Something in this change breaks bootstrapping.
Also, the changes to subr.el cause a pure space overflow.
> 2006-05-24 Alan Mackenzie <acm@muc.de>
>
> * startup.el (command-line): For names of preloaded files, don't
> append ".elc" (now done in Fload), and call file-truename on the
> lisp directory.
>
> * subr.el (eval-after-load): Fix the doc-string. Allow FILE to
> match ANY loaded file with the right name, not just those in
> load-path. Put a regexp matching the file name into
> after-load-alist, rather than the name itself.
>
> * subr.el: New functions load-history-regexp,
> load-history-filename-element, do-after-load-evaluation.
>
> * international/mule.el (load-with-code-conversion): Do the
> eval-after-load stuff by calling do-after-load-evaluation.
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: subr.el change breaks bootstrapping
2006-05-24 15:14 subr.el change breaks bootstrapping Juanma Barranquero
2006-05-24 16:43 ` Chong Yidong
@ 2006-05-24 16:57 ` Alan Mackenzie
2006-05-24 17:04 ` Luc Teirlinck
` (2 more replies)
1 sibling, 3 replies; 14+ messages in thread
From: Alan Mackenzie @ 2006-05-24 16:57 UTC (permalink / raw)
Cc: Emacs Devel
On Wed, 24 May 2006, Juanma Barranquero wrote:
>Something in this change breaks bootstrapping.
The other half of the change in in .../src/lread.c. Did you compile that
in too?
>2006-05-24 Alan Mackenzie <acm@muc.de>
>
> * startup.el (command-line): For names of preloaded files, don't
> append ".elc" (now done in Fload), and call file-truename on the
> lisp directory.
>
> * subr.el (eval-after-load): Fix the doc-string. Allow FILE to
> match ANY loaded file with the right name, not just those in
> load-path. Put a regexp matching the file name into
> after-load-alist, rather than the name itself.
>
> * subr.el: New functions load-history-regexp,
> load-history-filename-element, do-after-load-evaluation.
>
> * international/mule.el (load-with-code-conversion): Do the
> eval-after-load stuff by calling do-after-load-evaluation.
--
Alan.
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: subr.el change breaks bootstrapping
2006-05-24 16:57 ` Alan Mackenzie
@ 2006-05-24 17:04 ` Luc Teirlinck
2006-05-24 17:31 ` Luc Teirlinck
2006-05-24 21:22 ` Juanma Barranquero
2 siblings, 0 replies; 14+ messages in thread
From: Luc Teirlinck @ 2006-05-24 17:04 UTC (permalink / raw)
Cc: lekktu, emacs-devel
Alan Mackenzie wrote:
The other half of the change in in .../src/lread.c. Did you compile that
in too?
I believe that after your changes jka-cmpr-hook.el was used before it
was loaded. I loaded it earlier and increased BASE_PURESIZE.
I believe that this is the right fix. If not, we can undo my changes
and fix it differently.
Sincerely,
Luc.
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: subr.el change breaks bootstrapping
2006-05-24 16:57 ` Alan Mackenzie
2006-05-24 17:04 ` Luc Teirlinck
@ 2006-05-24 17:31 ` Luc Teirlinck
2006-05-24 17:51 ` Alan Mackenzie
2006-05-24 21:22 ` Juanma Barranquero
2 siblings, 1 reply; 14+ messages in thread
From: Luc Teirlinck @ 2006-05-24 17:31 UTC (permalink / raw)
Cc: lekktu, emacs-devel
>From my previous reply:
I believe that after your changes jka-cmpr-hook.el was used before it
was loaded.
More precisely, the new function load-history-regexp in subr.el uses
jka-compr-load-suffixes and then your changes called that function
before jka-cmpr-hook.el was loaded.
Sincerely,
Luc.
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: subr.el change breaks bootstrapping
2006-05-24 17:31 ` Luc Teirlinck
@ 2006-05-24 17:51 ` Alan Mackenzie
2006-05-24 18:01 ` Stefan Monnier
2006-05-24 18:23 ` Luc Teirlinck
0 siblings, 2 replies; 14+ messages in thread
From: Alan Mackenzie @ 2006-05-24 17:51 UTC (permalink / raw)
Cc: lekktu, emacs-devel
Hi, Luc.
On Wed, 24 May 2006, Luc Teirlinck wrote:
>>>From my previous reply:
> I believe that after your changes jka-cmpr-hook.el was used before it
> was loaded.
>More precisely, the new function load-history-regexp in subr.el uses
>jka-compr-load-suffixes and then your changes called that function
>before jka-cmpr-hook.el was loaded.
OK. This sounds right.
If there were to be any problem with the fix you've made, another fix
would be to amend load-history-regexp so that jka-compr-load-suffixes is
only used inside an (unless purify-flag ....) form.
>Sincerely,
>Luc.
--
Alan.
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: subr.el change breaks bootstrapping
2006-05-24 17:51 ` Alan Mackenzie
@ 2006-05-24 18:01 ` Stefan Monnier
2006-05-24 18:23 ` Luc Teirlinck
1 sibling, 0 replies; 14+ messages in thread
From: Stefan Monnier @ 2006-05-24 18:01 UTC (permalink / raw)
Cc: lekktu, Luc Teirlinck, emacs-devel
> If there were to be any problem with the fix you've made, another fix
> would be to amend load-history-regexp so that jka-compr-load-suffixes is
> only used inside an (unless purify-flag ....) form.
Rather than an "unless purify-flag" I'd recommend an "when (fboundp ...)"
Stefan
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: subr.el change breaks bootstrapping
2006-05-24 17:51 ` Alan Mackenzie
2006-05-24 18:01 ` Stefan Monnier
@ 2006-05-24 18:23 ` Luc Teirlinck
2006-05-25 8:27 ` Alan Mackenzie
1 sibling, 1 reply; 14+ messages in thread
From: Luc Teirlinck @ 2006-05-24 18:23 UTC (permalink / raw)
Cc: lekktu, emacs-devel
Alan Mackenzie wrote:
If there were to be any problem with the fix you've made,
The only drawback I see from loading "jka-cmpr-hook" this early is
that it will not be possible to load multilingual text from that file.
This is not a problem now and very unlikely to ever be. You can not
load multilingual text from several other files that are loaded even
earlier either: subr, widget, custom, files, simple and others.
another fix would be to amend load-history-regexp so that
jka-compr-load-suffixes is only used inside an (unless purify-flag
....) form
Is the correct value of jka-compr-load-suffixes ever needed at the
early stage where it caused trouble? Autoloading
jka-compr-load-suffixes might also be a solution, if allowing for
future multilingual text in "jka-cmpr-hook" would be a real issue.
Sincerely,
Luc.
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: subr.el change breaks bootstrapping
2006-05-24 16:57 ` Alan Mackenzie
2006-05-24 17:04 ` Luc Teirlinck
2006-05-24 17:31 ` Luc Teirlinck
@ 2006-05-24 21:22 ` Juanma Barranquero
2006-05-24 21:50 ` Juanma Barranquero
2 siblings, 1 reply; 14+ messages in thread
From: Juanma Barranquero @ 2006-05-24 21:22 UTC (permalink / raw)
On 5/24/06, Alan Mackenzie <acm@muc.de> wrote:
> The other half of the change in in .../src/lread.c. Did you compile that
> in too?
I was bootstraping from a fresh "cvs -q update -C".
--
/L/e/k/t/u
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: subr.el change breaks bootstrapping
2006-05-24 21:22 ` Juanma Barranquero
@ 2006-05-24 21:50 ` Juanma Barranquero
2006-05-24 21:54 ` Nick Roberts
0 siblings, 1 reply; 14+ messages in thread
From: Juanma Barranquero @ 2006-05-24 21:50 UTC (permalink / raw)
After the latest batch of changes, I'm still unable to bootstrap.
cvs -q update -C
cd nt
nmake realclean
configure
nmake bootstrap
brings
[...]
Saving file c:/bin/emacs/HEAD/lisp/loaddefs.el...
Loading c:/bin/emacs/HEAD/lisp/vc-cvs.el (source)...
Symbol's value as variable is void: dired-mode-map
make[1]: *** [autoloads] Error -1
make[1]: Leaving directory `C:/bin/emacs/HEAD/lisp'
make: *** [bootstrap-gmake] Error 2
--
/L/e/k/t/u
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: subr.el change breaks bootstrapping
2006-05-24 21:50 ` Juanma Barranquero
@ 2006-05-24 21:54 ` Nick Roberts
2006-05-24 22:24 ` Juanma Barranquero
0 siblings, 1 reply; 14+ messages in thread
From: Nick Roberts @ 2006-05-24 21:54 UTC (permalink / raw)
Cc: Emacs Devel
> [...]
> Saving file c:/bin/emacs/HEAD/lisp/loaddefs.el...
> Loading c:/bin/emacs/HEAD/lisp/vc-cvs.el (source)...
> Symbol's value as variable is void: dired-mode-map
> make[1]: *** [autoloads] Error -1
> make[1]: Leaving directory `C:/bin/emacs/HEAD/lisp'
> make: *** [bootstrap-gmake] Error 2
Should be fixed now.
--
Nick http://www.inet.net.nz/~nickrob
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: subr.el change breaks bootstrapping
2006-05-24 21:54 ` Nick Roberts
@ 2006-05-24 22:24 ` Juanma Barranquero
0 siblings, 0 replies; 14+ messages in thread
From: Juanma Barranquero @ 2006-05-24 22:24 UTC (permalink / raw)
Cc: Emacs Devel
On 5/24/06, Nick Roberts <nickrob@snap.net.nz> wrote:
> Should be fixed now.
Yes, thanks.
/L/e/k/t/u
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: subr.el change breaks bootstrapping
2006-05-24 18:23 ` Luc Teirlinck
@ 2006-05-25 8:27 ` Alan Mackenzie
2006-05-26 2:01 ` Luc Teirlinck
0 siblings, 1 reply; 14+ messages in thread
From: Alan Mackenzie @ 2006-05-25 8:27 UTC (permalink / raw)
Cc: emacs-devel
Morning, Luc!
On Wed, 24 May 2006, Luc Teirlinck wrote:
>Alan Mackenzie wrote:
>
> If there were to be any problem with the fix you've made,
>The only drawback I see from loading "jka-cmpr-hook" this early is
>that it will not be possible to load multilingual text from that file.
>This is not a problem now and very unlikely to ever be. You can not
>load multilingual text from several other files that are loaded even
>earlier either: subr, widget, custom, files, simple and others.
Sounds cheerful!
> another fix would be to amend load-history-regexp so that
> jka-compr-load-suffixes is only used inside an (unless purify-flag
> ....) form
>Is the correct value of jka-compr-load-suffixes ever needed at the
>early stage where it caused trouble?
I doubt it very much. The trouble only happens at preloading time, and
nobody is ever going to be compressing the files.elc that get preloaded.
And if they did want to do this, there would be other workarounds. In
fact, there are already several (many?) workarounds in place for
preloading files, so another one wouldn't make much odds.
>Autoloading jka-compr-load-suffixes might also be a solution, if
>allowing for future multilingual text in "jka-cmpr-hook" would be a real
>issue.
Just as a side issue, what does the prefix "jka-" signify? Is that the
author's initials?
>Sincerely,
>Luc.
--
Alan.
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: subr.el change breaks bootstrapping
2006-05-25 8:27 ` Alan Mackenzie
@ 2006-05-26 2:01 ` Luc Teirlinck
0 siblings, 0 replies; 14+ messages in thread
From: Luc Teirlinck @ 2006-05-26 2:01 UTC (permalink / raw)
Cc: emacs-devel
Alan Mackenzie wrote:
Just as a side issue, what does the prefix "jka-" signify? Is that the
author's initials?
In as far as I know, it indeed seems to be just the author's initials.
Sincerely,
Luc.
^ permalink raw reply [flat|nested] 14+ messages in thread
end of thread, other threads:[~2006-05-26 2:01 UTC | newest]
Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-24 15:14 subr.el change breaks bootstrapping Juanma Barranquero
2006-05-24 16:43 ` Chong Yidong
2006-05-24 16:57 ` Alan Mackenzie
2006-05-24 17:04 ` Luc Teirlinck
2006-05-24 17:31 ` Luc Teirlinck
2006-05-24 17:51 ` Alan Mackenzie
2006-05-24 18:01 ` Stefan Monnier
2006-05-24 18:23 ` Luc Teirlinck
2006-05-25 8:27 ` Alan Mackenzie
2006-05-26 2:01 ` Luc Teirlinck
2006-05-24 21:22 ` Juanma Barranquero
2006-05-24 21:50 ` Juanma Barranquero
2006-05-24 21:54 ` Nick Roberts
2006-05-24 22:24 ` Juanma Barranquero
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.