emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/forth-mode 2f5d87f3c5 126/153: No 64-bit build for pForth


From: ELPA Syncer
Subject: [nongnu] elpa/forth-mode 2f5d87f3c5 126/153: No 64-bit build for pForth in Ubuntu. Try Gforth.
Date: Sat, 29 Jan 2022 08:02:25 -0500 (EST)

branch: elpa/forth-mode
commit 2f5d87f3c5a17f789ef98b82b2447fdcf8a63122
Author: Helmut Eller <eller.helmut@gmail.com>
Commit: Helmut Eller <eller.helmut@gmail.com>

    No 64-bit build for pForth in Ubuntu.  Try Gforth.
---
 .travis.yml   | 2 +-
 test/tests.el | 9 ++++-----
 2 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 9337a8837b..65a87de777 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -7,7 +7,7 @@ env:
 install:
   - sudo add-apt-repository -y ppa:ubuntu-elisp
   - sudo apt-get update -y
-  - sudo apt-get install emacs23 emacs24 emacs-snapshot pforth
+  - sudo apt-get install emacs23 emacs24 emacs-snapshot gforth
 script: make EMACS=$EMACS
 notifications:
   email: lars@nocrew.org
diff --git a/test/tests.el b/test/tests.el
index 0f8bb26427..3329946032 100644
--- a/test/tests.el
+++ b/test/tests.el
@@ -88,7 +88,6 @@ The whitespace before and including \"|\" on each line is 
removed."
        (should (string= after (substring-no-properties (buffer-string))))
        (should (= (point) point-after))))))
 
-
 (defun forth-should-region-before/after (before after fun)
   (destructuring-bind (before start1 end1) (forth-strip-|-and-¹² before)
     (destructuring-bind (after point-after) (forth-strip-|-and-→ after)
@@ -102,18 +101,18 @@ The whitespace before and including \"|\" on each line is 
removed."
 
 (defmacro forth-with-gforth (&rest body)
   (declare (indent 0))
-  `(let* ((proc (get-buffer-process forth-interaction-buffer)))
+  `(let* ((forth-executable "gforth")
+         (proc (get-buffer-process forth-interaction-buffer)))
      ;; FIXME: there should be a better way to do this. Probably a
      ;; callback function.
      (while (not (processp proc))
        (run-forth)
-       (message "Waiting for pforth to start ...")
+       (message "Waiting for gforth to start ...")
        (accept-process-output nil 0.3)
        (setq proc (get-buffer-process forth-interaction-buffer)))
      (unwind-protect
         (progn . ,body)
         (kill-process proc))))
->>>>>>> Test completion-at-point
 
 (ert-deftest forth-paren-comment-font-lock ()
   (forth-assert-face "→( )" font-lock-comment-delimiter-face)
@@ -345,7 +344,7 @@ The whitespace before and including \"|\" on each line is 
removed."
      (call-interactively #'comment-dwim))))
 
 (ert-deftest forth-completion-at-point ()
-  (forth-with-forth
+  (forth-with-gforth
     (forth-should-before/after
      "2C→"
      "2Constant→"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]