all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#11970: EIEIO accessors no longer work with setf in Emacs HEAD
@ 2012-07-18  1:11 Eric Schulte
  2012-07-18  7:20 ` Stefan Monnier
  0 siblings, 1 reply; 2+ messages in thread
From: Eric Schulte @ 2012-07-18  1:11 UTC (permalink / raw)
  To: 11970

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





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-07-18  7:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-18  1:11 bug#11970: EIEIO accessors no longer work with setf in Emacs HEAD Eric Schulte
2012-07-18  7:20 ` Stefan Monnier

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.