[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/lua-mode 92d9729 307/468: Add init-tryout.el to persistent
From: |
Philip Kaludercic |
Subject: |
[nongnu] elpa/lua-mode 92d9729 307/468: Add init-tryout.el to persistent initialization code |
Date: |
Thu, 5 Aug 2021 04:58:58 -0400 (EDT) |
branch: elpa/lua-mode
commit 92d9729ce94544e71132af0e73e3b04ec63a5788
Author: immerrr <immerrr+lua@gmail.com>
Commit: immerrr <immerrr+lua@gmail.com>
Add init-tryout.el to persistent initialization code
---
Makefile | 2 +-
init-tryout.el | 13 +++++++++++++
2 files changed, 14 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index 1c57ce8..9e38313 100644
--- a/Makefile
+++ b/Makefile
@@ -54,4 +54,4 @@ release:
tryout:
- cask exec $(EMACS) -Q -l lua-mode.el test.lua
+ cask exec $(EMACS) -Q -l init-tryout.el test.lua
diff --git a/init-tryout.el b/init-tryout.el
new file mode 100644
index 0000000..90355d4
--- /dev/null
+++ b/init-tryout.el
@@ -0,0 +1,13 @@
+(load-file "lua-mode.el")
+
+(defmacro add-trace-for (fn)
+ (let ((trace-fn-name (intern (concat "trace--" (symbol-name fn)))))
+ `(progn
+ (defun ,trace-fn-name (&rest args)
+ (message "%s was called with: %S" #',fn args))
+ (add-function :before (symbol-function #',fn) #',trace-fn-name))))
+
+
+;; (add-trace-for font-lock-fontify-region)
+;; (add-trace-for font-lock-unfontify-region)
+;; (add-trace-for lua--propertize-multiline-bounds)
- [nongnu] elpa/lua-mode 1a0e191 255/468: lua--rx-symbol: fix shy-grouping, (continued)
- [nongnu] elpa/lua-mode 1a0e191 255/468: lua--rx-symbol: fix shy-grouping, Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode 6f7800f 258/468: Merge (and squash) pull request #66 from rolpereira/master, Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode 3265552 263/468: indentation-test: add continuation tests for unary ops and ..., Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode 9abad67 273/468: Merge remote-tracking branch 'upstream/master', Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode ec491dd 291/468: lua-process-init-code: use load when loadstring is not available, Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode d7ccb88 294/468: Add new builtin functions and operators from Lua 5.3, Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode c0d8c50 295/468: Merge pull request #86 from immerrr/if-loadstring-is-nil-use-load, Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode 3f7a032 300/468: Move .nosearch in test/, Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode ca24f4c 302/468: Add `run-lua` alias, Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode 530aa9f 303/468: Merge pull request #97 from marsam/master, Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode 92d9729 307/468: Add init-tryout.el to persistent initialization code,
Philip Kaludercic <=
- [nongnu] elpa/lua-mode 04a2772 310/468: Fix goto label fontification, Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode fbad628 316/468: Add travis.yml, Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode 6b32777 413/468: assignment statements: unindent closing parenthesis on right hand side, Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode 6638de0 437/468: Merge pull request #182 from immerrr/enable-ci-via-github-actions, Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode a4f49d3 438/468: Consider point as inside comment if it is inside "--" opener, Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode 3a0fb4b 431/468: `lua-funcname-at-point': add tests, Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode 430679c 433/468: `lua-funcname-at-point': handle identifiers before, Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode 432d9a0 333/468: lua-try-match-multiline-begin: reword the comment, Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode ecfe465 352/468: Remove testing for Emacs < 24.3, and add 25.2 and 25.3, Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode 99312b8 365/468: Merge pull request #134 from velkyel/master, Philip Kaludercic, 2021/08/05