GNU bug report logs -
#61962
30.0.50; New trouble with symbols with positions
Previous Next
Full log
View this message in rfc822 format
Alan Mackenzie <acm <at> muc.de> writes:
> I've now written safe-copy-tree, and committed it together with the fix
> in bytecomp.el to master.
Thanks. Works well for me.
One note: the function fails for deeply nested structures because it
hits the recursion limit, e.g. for
#+begin_src emacs-lisp
(let ((my-list (list 1)))
(dotimes (i 10000)
(setq my-list (list my-list)))
(safe-copy-tree my-list))
#+end_src
> > I wonder now if other cases also suffer from the problem. What happens
> > when I call `eval' in a macro expander (i.e. while generating the macro
> > expansion, not in the result of an expansion)? And how does
> > `cl-eval-when' behave (this is actually a special case of the first
> > question) ?
>
> I think these are so far unsolved problems with the
> symbols-with-position mechanism - sometimes the s-w-p leaks out of macro
> contexts. Are you seeing this problem in real life?
So far, not that I knew, no. I'll keep my eyes open.
Thanks,
Michael.
This bug report was last modified 2 years and 120 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.