* Error in make bootstrap
@ 2003-05-01 15:18 Vinicius Jose Latorre
2003-05-01 16:27 ` Juanma Barranquero
0 siblings, 1 reply; 4+ messages in thread
From: Vinicius Jose Latorre @ 2003-05-01 15:18 UTC (permalink / raw)
I've just updated Emacs sources today (2003-05-01) using:
cvs -z3 updated -dPA
And I got the following error (make bootstrap):
......
./temacs --batch --load loadup bootstrap
Loading loadup.el (source)...
Using load-path (/home/vinicius/work/emacs/lisp
/home/vinicius/work/emacs/lisp/emacs-lisp
/home/vinicius/work/emacs/lisp/language
/home/vinicius/work/emacs/lisp/international
/home/vinicius/work/emacs/lisp/textmodes)
Loading byte-run (source)...
Loading emacs-lisp/backquote (source)...
Loading subr (source)...
Loading version.el (source)...
Loading widget (source)...
Loading custom (source)...
Loading map-ynp (source)...
Loading env (source)...
Loading cus-start (source)...
Wrong type argument: integerp, (0 4 3 4)
make[1]: *** [bootstrap-emacs] Error 255
make[1]: Leaving directory `/home/vinicius/work/emacs/src'
make: *** [bootstrap] Error 2
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Error in make bootstrap
2003-05-01 15:18 Error in make bootstrap Vinicius Jose Latorre
@ 2003-05-01 16:27 ` Juanma Barranquero
2003-05-01 19:39 ` Stefan Monnier
0 siblings, 1 reply; 4+ messages in thread
From: Juanma Barranquero @ 2003-05-01 16:27 UTC (permalink / raw)
Cc: Stefan Monnier
On Thu, 01 May 2003 12:18:36 -0300, Vinicius Jose Latorre <viniciusjl@ig.com.br> wrote:
> Loading cus-start (source)...
> Wrong type argument: integerp, (0 4 3 4)
I think this patch by Stefan makes `save-match-data' (which expands to
`unwind-protect') to fail, which causes an error in cus-start.el.
Index: bytecode.c
===================================================================
RCS file: /cvsroot/emacs/emacs/src/bytecode.c,v
retrieving revision 1.74
diff -u -2 -r1.74 bytecode.c
--- bytecode.c 1 May 2003 00:22:31 -0000 1.74
+++ bytecode.c 1 May 2003 16:24:43 -0000
@@ -878,6 +878,7 @@
/* The function record_unwind_protect can GC. */
BEFORE_POTENTIAL_GC ();
- record_unwind_protect (Fprogn, POP);
+ record_unwind_protect (0, POP);
AFTER_POTENTIAL_GC ();
+ (specpdl_ptr - 1)->symbol = Qnil;
break;
Index: eval.c
===================================================================
RCS file: /cvsroot/emacs/emacs/src/eval.c,v
retrieving revision 1.207
diff -u -2 -r1.207 eval.c
--- eval.c 1 May 2003 00:40:45 -0000 1.207
+++ eval.c 1 May 2003 16:24:50 -0000
@@ -3075,4 +3075,8 @@
if (specpdl_ptr->func != 0)
(*specpdl_ptr->func) (specpdl_ptr->old_value);
+ /* Note that a "binding" of nil is really an unwind protect,
+ so in that case the "old value" is a list of forms to evaluate. */
+ else if (NILP (specpdl_ptr->symbol))
+ Fprogn (specpdl_ptr->old_value);
/* If the symbol is a list, it is really (SYMBOL WHERE
. CURRENT-BUFFER) where WHERE is either nil, a buffer, or a
/L/e/k/t/u
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Error in make bootstrap
2003-05-01 16:27 ` Juanma Barranquero
@ 2003-05-01 19:39 ` Stefan Monnier
2003-05-01 23:41 ` Vinicius Jose Latorre
0 siblings, 1 reply; 4+ messages in thread
From: Stefan Monnier @ 2003-05-01 19:39 UTC (permalink / raw)
Cc: emacs-devel
> > Loading cus-start (source)...
> > Wrong type argument: integerp, (0 4 3 4)
>
> I think this patch by Stefan makes `save-match-data' (which expands to
> `unwind-protect') to fail, which causes an error in cus-start.el.
The patch was incomplete. It should be fixed now,
Stefan
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Error in make bootstrap
2003-05-01 19:39 ` Stefan Monnier
@ 2003-05-01 23:41 ` Vinicius Jose Latorre
0 siblings, 0 replies; 4+ messages in thread
From: Vinicius Jose Latorre @ 2003-05-01 23:41 UTC (permalink / raw)
Cc: emacs-devel
Stefan Monnier wrote:
>>>Loading cus-start (source)...
>>>Wrong type argument: integerp, (0 4 3 4)
>>>
>>>
>>I think this patch by Stefan makes `save-match-data' (which expands to
>>`unwind-protect') to fail, which causes an error in cus-start.el.
>>
>>
>
>The patch was incomplete. It should be fixed now,
>
>
>
Now, it's all working... :-)
Thanks
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2003-05-01 23:41 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-05-01 15:18 Error in make bootstrap Vinicius Jose Latorre
2003-05-01 16:27 ` Juanma Barranquero
2003-05-01 19:39 ` Stefan Monnier
2003-05-01 23:41 ` Vinicius Jose Latorre
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.