From: LanX <lanx.perl@googlemail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Are there any problems with lexical-let or other cl-macros???
Date: Tue, 1 Jun 2010 08:58:33 -0700 (PDT) [thread overview]
Message-ID: <40978657-3509-4c0d-8526-edb492b90d6f@c11g2000vbe.googlegroups.com> (raw)
In-Reply-To: m2iq62hi2y.fsf@gmail.com
> "Reader macros" are not the same as macros defined with defmacro. In
> Common Lisp the reader ie. the function that turns text into
> s-expressions can be customized. A typical reader macro is #' which is
> responsible for converting #'foo to (function foo). Emacs' reader is
> not customizable. Even ' is which turns 'foo into (quote foo) is a
> reader macro.
(please correct me if I don't get it right in my words)
So defmacro is restricted to defining macros with "function syntax" -
ie "(macro ...)" - while reader macros could be triggered by any
character, opening the possibility to even extend the syntax to have
special markup for different data structures?
Interesting... :)
next prev parent reply other threads:[~2010-06-01 15:58 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-01 13:01 Are there any problems with lexical-let or other cl-macros??? LanX
2010-06-01 13:18 ` Pascal J. Bourguignon
2010-06-01 14:20 ` LanX
2010-06-01 15:45 ` Helmut Eller
2010-06-01 15:58 ` LanX [this message]
2010-06-01 16:24 ` Helmut Eller
2010-06-02 11:26 ` Pascal J. Bourguignon
2010-07-15 0:13 ` Elena
2010-07-19 22:44 ` Stefan Monnier
2010-07-20 7:56 ` Elena
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=40978657-3509-4c0d-8526-edb492b90d6f@c11g2000vbe.googlegroups.com \
--to=lanx.perl@googlemail.com \
--cc=help-gnu-emacs@gnu.org \
/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.