[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/lua-mode 9454aee 461/468: Merge pull request #187 from imm
From: |
Philip Kaludercic |
Subject: |
[nongnu] elpa/lua-mode 9454aee 461/468: Merge pull request #187 from immerrr/re-enable-emacs-24 |
Date: |
Thu, 5 Aug 2021 04:59:29 -0400 (EDT) |
branch: elpa/lua-mode
commit 9454aeeb665df360543b47e162f03276a16b01a5
Merge: 4e346d4 cf076a6
Author: immerrr again <immerrr@gmail.com>
Commit: GitHub <noreply@github.com>
Merge pull request #187 from immerrr/re-enable-emacs-24
Re enable tests for emacs 24
---
.github/workflows/test.yml | 2 +-
test/test-process.el | 4 ++--
test/utils.el | 9 +++++++--
3 files changed, 10 insertions(+), 5 deletions(-)
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 1c423ef..106f067 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -8,7 +8,7 @@ jobs:
matrix:
os: [ubuntu-latest]
emacs_version:
- # - '24.3'
+ - '24.3'
- '25.1'
- '25.3'
- '26.1'
diff --git a/test/test-process.el b/test/test-process.el
index bedb11c..5f3870e 100644
--- a/test/test-process.el
+++ b/test/test-process.el
@@ -10,13 +10,13 @@
(it "doesn't hang for an already-running process"
;; Acquire a *lua* repl buffer
(save-current-buffer
- (funcall-interactively #'lua-start-process)
+ (call-interactively #'lua-start-process)
;; Input some text
(with-current-buffer lua-process-buffer
(insert "table.insert"))
(switch-to-buffer (get-buffer-create "*scratch*"))
;; Try restarting the repl buffer
- (funcall-interactively #'lua-start-process)
+ (call-interactively #'lua-start-process)
;; `lua-start-process' shouldn't hang, and it should have switched back.
(expect (current-buffer) :to-be lua-process-buffer))))
diff --git a/test/utils.el b/test/utils.el
index 6fc7912..b8f26be 100644
--- a/test/utils.el
+++ b/test/utils.el
@@ -127,10 +127,15 @@ This is a mere typing/reading aid for lua-mode's
font-lock tests."
(defmacro with-lua-buffer (&rest body)
(declare (debug (&rest form)))
`(with-temp-buffer
- (lua-mode)
+ ;; font-lock is not activated if buffer name is temporary (starts with a
+ ;; space) and if `noninteractive' is non-nil. Ensure tests that use
+ ;; font-lock still work.
+ (rename-buffer "temp-buffer.lua" t)
+ (let (noninteractive)
+ (lua-mode)
+ (font-lock-mode 1))
(set (make-local-variable 'lua-process) nil)
(set (make-local-variable 'lua-process-buffer) nil)
- (font-lock-fontify-buffer)
(pop-to-buffer (current-buffer))
(unwind-protect
(progn ,@body)
- [nongnu] elpa/lua-mode 85d01e9 429/468: `lua-funcname-at-point': fix regexes, (continued)
- [nongnu] elpa/lua-mode 85d01e9 429/468: `lua-funcname-at-point': fix regexes, Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode b647537 428/468: `lua-start-proces': don't hang if already running, Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode 853b040 432/468: `lua-start-process': start a new process sometimes, Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode fbdbf05 439/468: Merge pull request #181 from immerrr/treat-comment-delimiters-as-comments-too, Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode d63f2af 441/468: Merge pull request #183 from immerrr/add-lua-skip-ws-comment-functions, Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode e81d0f2 442/468: Merge pull request #179 from nbfalcon/code-cleanup/fix-fixmes, Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode d7ff9c0 444/468: Fix lua-goto-matching-block for when point is at the beginning of keyword, Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode 1f74cd5 453/468: Remove backward-up-list for "for" continuation lines, Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode 4e346d4 457/468: Add COPYING file, Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode cf076a6 460/468: Replace funcall-interactively -> call-interactively (for Emacs-24.3), Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode 9454aee 461/468: Merge pull request #187 from immerrr/re-enable-emacs-24,
Philip Kaludercic <=
- [nongnu] elpa/lua-mode 2d9a468 463/468: Merge pull request #189 from jcs-PR/badge, Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode a57b1b1 462/468: Add badges to README, Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode bc77051 464/468: Fix indentation, Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode 7ee3feb 468/468: Bump version tag for v20210802 release, Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode 4dc4cba 421/468: Remove stray tabs, Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode 2fc3251 426/468: `lua-funcname-at-point': don't modify the syntax, Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode 1135932 435/468: test-process: check if the buffer switching works, Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode 8858ffa 436/468: Add CI tests via Github Actions, Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode 07c6bad 440/468: Add lua-skip-ws-and-comments-forward/-backward functions, Philip Kaludercic, 2021/08/05
- [nongnu] elpa/lua-mode c96a836 445/468: is-continuing-p: use lua-skip-ws-and-comments-backward/-forward, Philip Kaludercic, 2021/08/05