From: Nicolas Richard <youngfrog@members.fsf.org>
To: 20730@debbugs.gnu.org
Subject: bug#20730: 25.0.50; M-: doesn't do eager macroexpansion
Date: Thu, 04 Jun 2015 10:13:52 +0200 [thread overview]
Message-ID: <87h9qnubzz.fsf@members.fsf.org> (raw)
(reporting this as a bug per
http://lists.gnu.org/archive/html/help-gnu-emacs/2015-06/msg00026.html)
Problem: eval-expression doesn't do eager macroexpansion (see
http://lists.gnu.org/archive/html/help-gnu-emacs/2015-03/msg00258.html)
Recipe :
Hit: M-:
Insert: (progn (defun foo () (when bar baz)) (symbol-function 'foo))
Hit: RET
It shows
(lambda nil (when bar baz))
but should show
(lambda nil (if bar (progn baz)))
Using C-x C-e or C-M-x shows
(lambda nil (if bar (progn baz)))
as expected.
In GNU Emacs 25.0.50.1 (i686-pc-linux-gnu, GTK+ Version 3.14.10)
of 2015-04-21 on localhost
Windowing system distributor `The X.Org Foundation', version 11.0.11500000
System Description: Gentoo Base System release 2.2
Configured features:
XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GCONF GSETTINGS
NOTIFY ACL GNUTLS LIBXML2 FREETYPE LIBOTF XFT ZLIB
--
Nico
next reply other threads:[~2015-06-04 8:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-04 8:13 Nicolas Richard [this message]
2015-06-10 2:15 ` bug#20730: 25.0.50; M-: doesn't do eager macroexpansion 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=87h9qnubzz.fsf@members.fsf.org \
--to=youngfrog@members.fsf.org \
--cc=20730@debbugs.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.