GNU bug report logs - #16998
with-slots should expand to cl-symbol-macrolet

Previous Next

Package: emacs;

Reported by: Jonas Bernoulli <jonas <at> bernoul.li>

Date: Wed, 12 Mar 2014 14:23:01 UTC

Severity: minor

Tags: fixed

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Juanma Barranquero <lekktu <at> gmail.com>
To: Jonas Bernoulli <jonas <at> bernoul.li>
Cc: Stefan Monnier <monnier <at> iro.umontreal.ca>, 16998 <at> debbugs.gnu.org
Subject: bug#16998: with-slots should expand to cl-symbol-macrolet
Date: Wed, 12 Mar 2014 16:12:14 +0100
> Currently with-slots expands to symbol-macrolet
> but should instead expand to cl-symbol-macrolet.

I've committed this change.

But still, eieio.el should require 'cl-lib, or `cl-symbol-macrolet'
should have an autoload.

(progn
  (require 'eieio)
  (defclass test nil ((test-slot)))
  (with-slots ((s test-slot)) (make-instance 'test)
    (message "Slot = %s" s)))

Debugger entered--Lisp error: (void-function cl-symbol-macrolet)

Stefan?




This bug report was last modified 4 years and 336 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.