[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ELP bug with CL's labels
From: |
Richard Stallman |
Subject: |
Re: ELP bug with CL's labels |
Date: |
Fri, 09 Mar 2007 11:20:43 -0500 |
This function my-fact works ok when I just call it.
However, when edebugged, it gets the error described below.
labels does have an edebug-form-spec property.
Would someone please DTRT, then ack?
X-Spam-Status: No, score=0.0 required=5.0 tests=UNPARSEABLE_RELAY
autolearn=failed version=3.1.0
To: address@hidden
From: Oliver Scholz <address@hidden>
Date: Thu, 08 Mar 2007 19:49:57 +0100
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Subject: ELP bug with CL's labels
(require 'cl)
(defun my-fact (n)
(labels ((fact-iter (n r)
(if (zerop n)
r
(fact-iter (1- n) (* n r)))))
(fact-iter n 1)))
Now edebug `my-fact' (M-C-x) and call it with any argument. Edebug
will step through the function; but as soon as it would have to step
through `fact-iters' function body, an error is raised:
Wrong type argument: symbolp, (lambda (&rest --cl-rest--) (apply (lambda
(G70234 n r) (edebug-enter [...]
I haven't checked whether this happens with other macros from cl.el,
too.
Oliver
--
Oliver Scholz 18 Ventôse an 215 de la Révolution
Ostendstr. 61 Liberté, Egalité, Fraternité!
60314 Frankfurt a. M.
_______________________________________________
emacs-pretest-bug mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: ELP bug with CL's labels,
Richard Stallman <=