GNU bug report logs -
#27016
possible bug in `defsetf'
Previous Next
Reported by: Rafael D Sorkin <rsorkin <at> perimeterinstitute.ca>
Date: Mon, 22 May 2017 06:40:01 UTC
Severity: minor
Tags: fixed, patch
Found in versions 24.4, 25.2
Fixed in version 26.1
Done: npostavs <at> users.sourceforge.net
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> tags 27016 wontfix
> close 27016
> quit
>
> > Can't you just `defsetf' unconditionally to a named
> > function, and change that function's definition when
> > appropriate (in a conditional)?
>
> Or just
>
> (eval-and-compile
> (unless t
> (defsetf foobar setcar)))
>
> Anyway, I don't see any likely solutions to make this work
> exactly as before, so I'm going to close this as wontfix, but
> feel free to continue discussing (and/or say that I'm wrong).
One problem is that, as far as I know, common lisp doesn't have
`eval-and-compile', and my code is meant to work with both elisp
and common lisp. In any case, as I wrote to Michael, I plan now
to use defsetf only at top level. So thanks for the suggestion,
and do feel free to keep this bug closed as "wontfix".
- Rafael
~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-
Rafael Sorkin
Perimeter Institute for Theoretical Physics
31 Caroline Street North
Waterloo, ON N2L 2Y5
Canada
~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-
This bug report was last modified 7 years and 290 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.