[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#11970: EIEIO accessors no longer work with setf in Emacs HEAD
From: |
Eric Schulte |
Subject: |
bug#11970: EIEIO accessors no longer work with setf in Emacs HEAD |
Date: |
Tue, 17 Jul 2012 19:11:35 -0600 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) |
The following example demonstrates this problem.
;; -*- emacs-lisp -*-
(require 'eieio)
(defclass foo nil
((bar :initarg :bar :accessor bar :initform nil)))
(setf *foo* (make-instance foo :bar :baz))
(bar *foo*)
;; => :baz
(setf (bar *foo*) :quz)
;; => (error "(bar *foo*) is not a valid place expression")
This works in Emacs 24, and (I believe) should still work.
Best,
--
Eric Schulte
http://cs.unm.edu/~eschulte
- bug#11970: EIEIO accessors no longer work with setf in Emacs HEAD,
Eric Schulte <=