Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#388 symbol-value on symbol-macro change in behaviour

lisp error
closed-fixed
Sam Steingold
clisp (525)
4
2006-12-11
2006-12-07
Jörg Höhle
No

http://clisp.cons.org/impnotes/flow-dict.html#def-sym-mac still documents the 1995 - pre-2005-01-05 behaviour:
"Calling SYMBOL-VALUE on a symbol defined as a SYMBOL-MACRO returns the value of the expansion. Calling SET on a symbol defined as a SYMBOL-MACRO calls SETF on the expansion."

2005-01-05 Changelog
* control.d (SYS::%SYMBOL-VALUE): Remove function.
(SYMBOL-VALUE, SET): Don't test for symbol-macro. Access the value cell
always.

NEWS from 25 April 1995
* Calling SYMBOL-VALUE on a symbol defined as global symbol macro now returns
the value of the expansion. New function SYMBOL-MACRO-EXPAND.

Need to update src/NEWS and impnotes to the current behaviour. I wonder whether impnotes should document that this behaviour changed, or if NEWS is enough?
What do you think?

Discussion

  • Sam Steingold
    Sam Steingold
    2006-12-07

    Logged In: YES
    user_id=5735
    Originator: NO

    no need to put 10-y.o. info into NEWS.
    I will update docs and add some tests.

     
  • Sam Steingold
    Sam Steingold
    2006-12-11

    • milestone: --> lisp error
    • assigned_to: haible --> sds
    • status: open --> closed-fixed
     
  • Sam Steingold
    Sam Steingold
    2006-12-11

    Logged In: YES
    user_id=5735
    Originator: NO

    thank you for your bug report.
    the bug has been fixed in the CVS tree.
    you can either wait for the next release (recommended)
    or check out the current CVS tree (see http://clisp.cons.org\)
    and build CLISP from the sources (be advised that between
    releases the CVS tree is very unstable and may not even build
    on your platform).