all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Michael Heerdegen <michael_heerdegen@web.de>
To: Drew Adams <drew.adams@oracle.com>
Cc: 15296@debbugs.gnu.org
Subject: bug#15296: 24.3.50; A macro object does not necessarily have `lambda' as its cadr
Date: Sat, 07 Sep 2013 13:34:27 +0200	[thread overview]
Message-ID: <87zjrozwzg.fsf@web.de> (raw)
In-Reply-To: <8d69314c-7324-4751-b7c2-ee1a26645afb@default> (Drew Adams's message of "Fri, 6 Sep 2013 22:39:58 -0700 (PDT)")

Drew Adams <drew.adams@oracle.com> writes:

> AFAICT, (elisp) `Defining Macros' is the closest thing we have to doc
> telling you how to test whether a Lisp object is a macro.  There is no
> `macro-p' predicate or similar in Emacs Lisp, unless I'm missing
> something.  (Shouldn't there be?)

There is `macrop' in subr.el (since some months ago, I think).

> Anyway, this Elisp manual node says that a macro is a list whose car
> is `macro' and whose `cdr' is a lambda expression.  That's not true if
> the `defmacro' was byte-compiled.

Confusing, indeed.


Michael.





  reply	other threads:[~2013-09-07 11:34 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-07  5:39 bug#15296: 24.3.50; A macro object does not necessarily have `lambda' as its cadr Drew Adams
2013-09-07 11:34 ` Michael Heerdegen [this message]
2013-09-07 14:23   ` Drew Adams
2013-09-08 18:01 ` Stefan Monnier

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

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

  git send-email \
    --in-reply-to=87zjrozwzg.fsf@web.de \
    --to=michael_heerdegen@web.de \
    --cc=15296@debbugs.gnu.org \
    --cc=drew.adams@oracle.com \
    /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 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.