unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Juanma Barranquero <lekktu@gmail.com>
To: Jonas Bernoulli <jonas@bernoul.li>
Cc: 16998@debbugs.gnu.org
Subject: bug#16998: with-slots should expand to cl-symbol-macrolet
Date: Wed, 12 Mar 2014 16:12:14 +0100	[thread overview]
Message-ID: <CAAeL0SQP+B=8S9UR1bxH7FEd6NSkn8BKrE588=qadBjrb264zg@mail.gmail.com> (raw)
In-Reply-To: <87r467pkd9.fsf@bernoul.li>

> 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?





  reply	other threads:[~2014-03-12 15:12 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-12 14:22 bug#16998: with-slots should expand to cl-symbol-macrolet Jonas Bernoulli
2014-03-12 15:12 ` Juanma Barranquero [this message]
2014-03-12 15:35 ` Stefan Monnier
2014-03-12 16:04   ` Juanma Barranquero
2014-03-12 18:00   ` David Engster
2014-03-12 18:46     ` Stefan Monnier
2014-03-12 22:12     ` Eric M. Ludlam
2014-03-12 22:52       ` David Engster
2020-08-16 18:57 ` Jonas Bernoulli
2020-08-16 19:09   ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAAeL0SQP+B=8S9UR1bxH7FEd6NSkn8BKrE588=qadBjrb264zg@mail.gmail.com' \
    --to=lekktu@gmail.com \
    --cc=16998@debbugs.gnu.org \
    --cc=jonas@bernoul.li \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).