[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/forth-mode d09313f19c 035/153: Add forth-eval-region.
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/forth-mode d09313f19c 035/153: Add forth-eval-region. |
Date: |
Sat, 29 Jan 2022 08:02:14 -0500 (EST) |
branch: elpa/forth-mode
commit d09313f19cc1a564989b82b9924e38c974a8e38c
Author: Lars Brinkhoff <lars.brinkhoff@delphi.com>
Commit: Lars Brinkhoff <lars.brinkhoff@delphi.com>
Add forth-eval-region.
---
README.md | 3 ++-
forth-interaction-mode.el | 5 +++++
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/README.md b/README.md
index 3ff4854f5c..a8e6661f9a 100644
--- a/README.md
+++ b/README.md
@@ -6,7 +6,8 @@
Features in progress:
- Recognises definitions and moves by balanced expressions.
-- Interact with a Forth session: enter commands, load files.
+- Interact with a Forth session: enter commands, load files, evalutate
+ expressions.
- Display stack comment when moving the cursor over a word.
- Edit block files.
diff --git a/forth-interaction-mode.el b/forth-interaction-mode.el
index 35d20a4478..658b455b29 100644
--- a/forth-interaction-mode.el
+++ b/forth-interaction-mode.el
@@ -83,4 +83,9 @@
(defun forth-words ()
(split-string (forth-interaction-send "words")))
+;;;###autoload
+(defun forth-eval-region (start end)
+ (interactive "r")
+ (message "%s" (forth-interaction-send (buffer-substring start end))))
+
(provide 'forth-interaction-mode)
- [nongnu] elpa/forth-mode effb52b8e0 009/153: Load files from load-path., (continued)
- [nongnu] elpa/forth-mode effb52b8e0 009/153: Load files from load-path., ELPA Syncer, 2022/01/29
- [nongnu] elpa/forth-mode 3047dfa37a 008/153: Run a subprocess Forth for interaction., ELPA Syncer, 2022/01/29
- [nongnu] elpa/forth-mode 6ab334684b 010/153: Send a string to an interactive Forth session., ELPA Syncer, 2022/01/29
- [nongnu] elpa/forth-mode b6b1f049b0 017/153: Restart an interactive Forth session., ELPA Syncer, 2022/01/29
- [nongnu] elpa/forth-mode 7c75c452e9 022/153: Correct autoload cookie format, ELPA Syncer, 2022/01/29
- [nongnu] elpa/forth-mode e4ed4a8acf 050/153: Test with both Emacs 23 and 24., ELPA Syncer, 2022/01/29
- [nongnu] elpa/forth-mode cc267b4b85 043/153: Symbol completion. Candidates come from a running Forth., ELPA Syncer, 2022/01/29
- [nongnu] elpa/forth-mode 50adf0d552 024/153: Remove byte-compile warnings., ELPA Syncer, 2022/01/29
- [nongnu] elpa/forth-mode 85ce58e93e 020/153: Correct package header format, ELPA Syncer, 2022/01/29
- [nongnu] elpa/forth-mode d972e9fc7a 019/153: Escape some character constants., ELPA Syncer, 2022/01/29
- [nongnu] elpa/forth-mode d09313f19c 035/153: Add forth-eval-region.,
ELPA Syncer <=
- [nongnu] elpa/forth-mode 89b9904ceb 119/153: Add some tests for font-lock faces, ELPA Syncer, 2022/01/29
- [nongnu] elpa/forth-mode d47662b187 037/153: Add some installation and usage instrutions., ELPA Syncer, 2022/01/29
- [nongnu] elpa/forth-mode 1cb3071930 117/153: Move the font-locking for defining words to forth-syntax.el, ELPA Syncer, 2022/01/29
- [nongnu] elpa/forth-mode 21033fc700 031/153: Improve sending commands to an interactive Forth session., ELPA Syncer, 2022/01/29
- [nongnu] elpa/forth-mode 1c05a009a3 080/153: Fix warning about speedbar-add-supported-extension., ELPA Syncer, 2022/01/29
- [nongnu] elpa/forth-mode ef60dcd180 036/153: If forth-executable is nil, query user for file name., ELPA Syncer, 2022/01/29
- [nongnu] elpa/forth-mode b29a929b78 028/153: Add provide forms., ELPA Syncer, 2022/01/29
- [nongnu] elpa/forth-mode 992bfb64b4 103/153: Fix warning about font-lock-fontify-buffer non-interactive use., ELPA Syncer, 2022/01/29
- [nongnu] elpa/forth-mode efa1f0a336 046/153: Build Emacs Lisp files., ELPA Syncer, 2022/01/29
- [nongnu] elpa/forth-mode 1bc27cd6b6 115/153: Support paragraph filling in comments, ELPA Syncer, 2022/01/29