unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#20730: 25.0.50; M-: doesn't do eager macroexpansion
@ 2015-06-04  8:13 Nicolas Richard
  2015-06-10  2:15 ` Stefan Monnier
  0 siblings, 1 reply; 2+ messages in thread
From: Nicolas Richard @ 2015-06-04  8:13 UTC (permalink / raw)
  To: 20730

(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





^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#20730: 25.0.50; M-: doesn't do eager macroexpansion
  2015-06-04  8:13 bug#20730: 25.0.50; M-: doesn't do eager macroexpansion Nicolas Richard
@ 2015-06-10  2:15 ` Stefan Monnier
  0 siblings, 0 replies; 2+ messages in thread
From: Stefan Monnier @ 2015-06-10  2:15 UTC (permalink / raw)
  To: Nicolas Richard; +Cc: 20730-done

Thanks, should be fixed now,


        Stefan





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-06-10  2:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-04  8:13 bug#20730: 25.0.50; M-: doesn't do eager macroexpansion Nicolas Richard
2015-06-10  2:15 ` Stefan Monnier

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).