GNU bug report logs - #76795
Add macro expansion commands that use macroexpand-all

Previous Next

Package: emacs;

Reported by: Okamsn <okamsn <at> protonmail.com>

Date: Fri, 7 Mar 2025 00:15:01 UTC

Severity: wishlist

Tags: patch

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Okamsn <okamsn <at> protonmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: Add macro expansion commands that use macroexpand-all
Date: Fri, 07 Mar 2025 00:14:00 +0000
[Message part 1 (text/plain, inline)]
Hello,

The attached patch adds for at expanding the sexp before point using 
`macroexpand-all` instead of `macroexpand`.  This is useful when the 
expansion contains macros that could be further expanded. I have been 
using it for several years in my own config.

I have named these commands 'pp-macroexpand-all-last-sexp ' and 
'pp-macroexpand-all-expression '. They could also be called 
'pp-macroexpand-last-sexp-all' and 'pp-macroexpand-expression-all'. 
Please let me know if you would prefer different names.

Thank you.
[0001-Add-PP-commands-that-use-macroexpand-all.patch (text/x-patch, attachment)]

This bug report was last modified 97 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.