[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/macrostep aa40d97 076/110: Test expansion within Elisp mac
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/macrostep aa40d97 076/110: Test expansion within Elisp macro-defining macros |
Date: |
Sat, 7 Aug 2021 09:18:06 -0400 (EDT) |
branch: elpa/macrostep
commit aa40d97caf00ed7e245f025b1c584c49259fc796
Author: joddie <jonxfield@gmail.com>
Commit: joddie <jonxfield@gmail.com>
Test expansion within Elisp macro-defining macros
---
macrostep-test.el | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/macrostep-test.el b/macrostep-test.el
index 5fc6cbf..8c298f7 100644
--- a/macrostep-test.el
+++ b/macrostep-test.el
@@ -217,6 +217,21 @@
(eq (get-char-property (point) 'font-lock-face)
'macrostep-macro-face))))))
+(ert-deftest macrostep-expand-macro-defined-macros ()
+ (defmacro with-local-dummy-macro (&rest body)
+ `(cl-macrolet ((dummy (&rest args) `(expansion (of) ,@args)))
+ ,@body))
+ (macrostep-with-text
+ '(with-local-dummy-macro
+ (dummy form (one))
+ (dummy (form two)))
+ (macrostep-should-expand
+ '(dummy form (one))
+ '(expansion (of) form (one)))
+ (macrostep-should-expand
+ '(dummy (form two))
+ '(expansion (of) (form two)))))
+
(ert-deftest macrostep-expand-in-separate-buffer ()
(defmacro macrostep-dummy-macro (&rest args)
`(expansion of ,@args))
- [nongnu] elpa/macrostep 8950313 037/110: Bump version number and changelog for 0.8, (continued)
- [nongnu] elpa/macrostep 8950313 037/110: Bump version number and changelog for 0.8, ELPA Syncer, 2021/08/07
- [nongnu] elpa/macrostep 5680278 056/110: Gross hack to macrostep--slime-propertize-macros, ELPA Syncer, 2021/08/07
- [nongnu] elpa/macrostep 31e1dc2 060/110: Detect Elisp macro forms by advising `macroexpand`, ELPA Syncer, 2021/08/07
- [nongnu] elpa/macrostep c61b836 062/110: Use SB-WALKER:WALK-FORM to collect macro forms, ELPA Syncer, 2021/08/07
- [nongnu] elpa/macrostep 39e809a 064/110: swank-macrostep: call PROVIDE at the end, ELPA Syncer, 2021/08/07
- [nongnu] elpa/macrostep 1be6c4d 061/110: Extract Elisp macro environments accurately, ELPA Syncer, 2021/08/07
- [nongnu] elpa/macrostep d9c7629 063/110: Improvements to Elisp environment handling, ELPA Syncer, 2021/08/07
- [nongnu] elpa/macrostep 59972eb 071/110: Fix handling of subforms contained within other subforms, ELPA Syncer, 2021/08/07
- [nongnu] elpa/macrostep a0ae61c 073/110: Properly handle forms not present in the expansion, ELPA Syncer, 2021/08/07
- [nongnu] elpa/macrostep 817322b 074/110: Properly place the macrostep[-compiler]-macro-face, ELPA Syncer, 2021/08/07
- [nongnu] elpa/macrostep aa40d97 076/110: Test expansion within Elisp macro-defining macros,
ELPA Syncer <=
- [nongnu] elpa/macrostep 1edee85 080/110: Reorganise and comment, ELPA Syncer, 2021/08/07
- [nongnu] elpa/macrostep bbfb033 081/110: Reorganise and document generic interface, ELPA Syncer, 2021/08/07
- [nongnu] elpa/macrostep 2bdc946 082/110: Remove dynamic binding of `macrostep-environment'., ELPA Syncer, 2021/08/07
- [nongnu] elpa/macrostep 31a23eb 085/110: Toggle separate-buffer expansion with prefix (#8), ELPA Syncer, 2021/08/07
- [nongnu] elpa/macrostep 47cbacb 087/110: Define `macrostep-propertize` before using it, ELPA Syncer, 2021/08/07
- [nongnu] elpa/macrostep a8e730e 089/110: Improve Makefile, ELPA Syncer, 2021/08/07
- [nongnu] elpa/macrostep 2473a6f 094/110: Pass START and END args to sexp-at-point-function, ELPA Syncer, 2021/08/07
- [nongnu] elpa/macrostep 03d4d7b 096/110: Add basic C macro expansion via cmacexp.el, ELPA Syncer, 2021/08/07
- [nongnu] elpa/macrostep 9a6b04a 100/110: Restore Emacs 23 compatibility, ELPA Syncer, 2021/08/07
- [nongnu] elpa/macrostep d48e52b 101/110: Add tests for compiler-macro expansion, ELPA Syncer, 2021/08/07