bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#20730: 25.0.50; M-: doesn't do eager macroexpansion


From: Nicolas Richard
Subject: bug#20730: 25.0.50; M-: doesn't do eager macroexpansion
Date: Thu, 04 Jun 2015 10:13:52 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

(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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]