GNU bug report logs -
#55645
src/print.c; print_object changes make it impossible to compare elisp code across versions
Previous Next
Reported by: Tom Gillespie <tgbugs <at> gmail.com>
Date: Wed, 25 May 2022 23:13:01 UTC
Severity: normal
Tags: moreinfo, wontfix
Done: Tom Gillespie <tgbugs <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
Message #13 received at 55645 <at> debbugs.gnu.org (full text, mbox):
> prin1 has never guaranteed that the printed representation would be
> stable across versions, so if it's worked for you, that's by accident.
It may not be meant to be stable but this behavior is unchanged since
at least emacs-23, and given that xemacs has the same behavior, I'm
guessing that this behavior has been stable for nearly 30 years.
If prin1 is not stable, is there a print that is expected to be stable?
> It would be possible to add something to control this details (via the
> new OVERRIDES parameter), but it doesn't feel like it'd be worth it,
> because, well, the representation isn't meant to be stable.
Whether it is meant to be stable or not it has been stable for at least
30 years. If there is no print variant that does have stability guarantees
then I think we do need a dynamic variable that would have the old
behavior when it was nil, like those listed in Variables Affecting Output
https://www.gnu.org/software/emacs/manual/html_node/elisp/Output-Variables.html
This bug report was last modified 2 years and 311 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.