[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#19564: 24.4; eieio backward compatibility
From: |
Stefan Monnier |
Subject: |
bug#19564: 24.4; eieio backward compatibility |
Date: |
Wed, 14 Jan 2015 13:05:55 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
>>> The confusion comes that slot-value as documented should use the quoted
>>> slot (i.e 'slot) and oref should use the keyword slot (i.e :slot).
>>
>> I don't think so:
>>
>> (defmacro oref (obj slot)
>> `(eieio-oref ,obj (quote ,slot)))
>> (defalias 'slot-value 'eieio-oref)
>>
>> They both accept the slot name (except that one needs it quoted and the
>> other doesn't) and the initarg name (as an alternative name for the
>> slot).
> Yes right, I have ckecked too, thanks.
To get back to the original issue: is the conclusion that you indeed
just don't need to the functionality of class-slot-initarg, or would
that functionality be handy but you managed to work around it?
Stefan
- bug#19564: 24.4; eieio backward compatibility, (continued)
- bug#19564: 24.4; eieio backward compatibility, Stefan Monnier, 2015/01/13
- bug#19564: 24.4; eieio backward compatibility, Thierry Volpiatto, 2015/01/13
- bug#19564: 24.4; eieio backward compatibility, Stefan Monnier, 2015/01/13
- bug#19564: 24.4; eieio backward compatibility, Thierry Volpiatto, 2015/01/14
- bug#19564: 24.4; eieio backward compatibility, Stefan Monnier, 2015/01/14
- bug#19564: 24.4; eieio backward compatibility, Thierry Volpiatto, 2015/01/15
- bug#19564: 24.4; eieio backward compatibility, Stefan Monnier, 2015/01/15
- bug#19564: 24.4; eieio backward compatibility,
Stefan Monnier <=
- bug#19564: 24.4; eieio backward compatibility, Thierry Volpiatto, 2015/01/15
- bug#19564: 24.4; eieio backward compatibility, Stefan Monnier, 2015/01/15
- bug#19564: 24.4; eieio backward compatibility, Stefan Monnier, 2015/01/14
- bug#19564: 24.4; eieio backward compatibility, Thierry Volpiatto, 2015/01/19