GNU bug report logs - #32748
26.1; EDEBUG eval error

Previous Next

Package: emacs;

Reported by: Live System User <nyc4bos <at> aol.com>

Date: Mon, 17 Sep 2018 03:53:02 UTC

Severity: minor

Tags: notabug

Found in version 26.1

Done: Noam Postavsky <npostavs <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Noam Postavsky <npostavs <at> gmail.com>
To: Live System User <nyc4bos <at> aol.com>
Cc: 32748 <at> debbugs.gnu.org
Subject: bug#32748: 26.1; EDEBUG eval error
Date: Mon, 17 Sep 2018 08:18:21 -0400
Live System User <nyc4bos <at> aol.com> writes:

>         While using/learning edebug, I ran into the following
>         error when eval'ing:

If you eval `predicate' just after the expression for its value (where I
put the first "!" in the code below), it hasn't been bound yet, so you
get this error.  It should work fine it you're inside the let though
(e.g., at the second "!").  It should also work in subsequent `let*'
(though not `let') bindings, but in this case, there is no such stop
point.

    (defun parse-time-string (string)
      [...]
              (let* ((rule (pop rules))
                     (slots (pop rule))
                     (predicate (pop rule)!)
                     (parse-time-val))
                !(when (and (not (nth (car slots) time)) ;not already set
                  [...]




This bug report was last modified 6 years and 238 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.