8000 "Edebug: names-edebug-anon0", etc., messages · Issue #35 · Malabarba/names · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

"Edebug: names-edebug-anon0", etc., messages #35

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
greg-minshall opened this issue Aug 1, 2021 · 1 comment
Open

"Edebug: names-edebug-anon0", etc., messages #35

greg-minshall opened this issue Aug 1, 2021 · 1 comment

Comments

@greg-minshall
Copy link

hi. i get this line, and also "...-anon1", printed on stderr with the following (not necessarily exemplary) script:

#!/usr/bin/emacs --script
;; path to names
(let ((default-directory "~/.emacs.d/straight/build/"))
  (normal-top-level-add-subdirs-to-load-path))

(eval-when-compile (require 'names))
;;;###autoload
(define-namespace qbo-convert:

(defun x ()
  (push a b))
)

the output:

Edebug: names-edebug-anon0
Edebug: names-edebug-anon1

i appear to be running 20151201.0. (hmm...) cheers.

@greg-minshall
Copy link
Author

i suppose this might be from these lines in names.el

      (let ((it (names--get-edebug-spec function))
            (names--verbose (eq function 'push)))

but, as the help string for push says

This is morally equivalent to (setf PLACE (cons NEWELT PLACE)),
except that PLACE is evaluated only once (after NEWELT).

presumably, one can substitute the latter for the former (assuming evaluating PLACE has no side-effects).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant
0