[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/forth-mode 8c0e519c57 148/153: Add restart-forth to source
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/forth-mode 8c0e519c57 148/153: Add restart-forth to source window menu |
Date: |
Sat, 29 Jan 2022 08:02:28 -0500 (EST) |
branch: elpa/forth-mode
commit 8c0e519c57296d540684bb4997edcf43671adc07
Author: Jeronimo Pellegrini <j_p@aleph0.info>
Commit: Lars Brinkhoff <lars@nocrew.org>
Add restart-forth to source window menu
This also changes the default key binding for restart-forth,
which conflicted with forth-eval-region
---
forth-interaction-mode.el | 2 +-
forth-mode.el | 20 +++++++++++---------
2 files changed, 12 insertions(+), 10 deletions(-)
diff --git a/forth-interaction-mode.el b/forth-interaction-mode.el
index 6e9cfe99ca..8eaffbdcfb 100644
--- a/forth-interaction-mode.el
+++ b/forth-interaction-mode.el
@@ -23,7 +23,7 @@
(defvar forth-interaction-mode-map
(let ((map (copy-keymap forth-mode-map)))
(set-keymap-parent map comint-mode-map)
- (define-key map (kbd "C-c C-r") 'forth-restart)
+ (define-key map (kbd "C-c C-f") 'forth-restart)
(define-key map (kbd "C-c C-z") 'forth-switch-to-source-buffer)
map)
"Keymap for Forth interaction.")
diff --git a/forth-mode.el b/forth-mode.el
index 2c18798931..537bab670a 100644
--- a/forth-mode.el
+++ b/forth-mode.el
@@ -19,15 +19,16 @@
(defvar forth-mode-map
(let ((map (make-sparse-keymap)))
- (define-key map (kbd "C-c C-r") 'forth-eval-region)
- (define-key map (kbd "C-c C-l") 'forth-load-file)
- (define-key map (kbd "C-c C-s") 'forth-see)
- (define-key map (kbd "C-M-x") 'forth-eval-defun)
- (define-key map (kbd "C-c C-k") 'forth-kill)
- (define-key map (kbd "C-c C-e") 'forth-eval-last-expression)
- (define-key map (kbd "C-x M-e") 'forth-eval-last-expression-display-output)
- (define-key map (kbd "C-c C-z") 'forth-switch-to-output-buffer)
- (define-key map (kbd "C-c :") 'forth-eval)
+ (define-key map (kbd "C-c C-r") 'forth-eval-region)
+ (define-key map (kbd "C-c C-l") 'forth-load-file)
+ (define-key map (kbd "C-c C-s") 'forth-see)
+ (define-key map (kbd "C-M-x") 'forth-eval-defun)
+ (define-key map (kbd "C-c C-k") 'forth-kill)
+ (define-key map (kbd "C-c C-f") 'forth-restart)
+ (define-key map (kbd "C-c C-e") 'forth-eval-last-expression)
+ (define-key map (kbd "C-x M-e")
'forth-eval-last-expression-display-output)
+ (define-key map (kbd "C-c C-z") 'forth-switch-to-output-buffer)
+ (define-key map (kbd "C-c :") 'forth-eval)
(define-key map (kbd "C-c C-d 1") 'forth-spec-lookup-1994)
(define-key map (kbd "C-c C-d 2") 'forth-spec-lookup-2012)
;; (define-key map (kbd "C-c C-c") 'eval-buffer)
@@ -81,6 +82,7 @@
'(separator2 "--")
'(load-file "Load file" forth-load-file)
'(run "Run Forth" run-forth)
+ '(restart "Restart Forth" forth-restart)
'(kill "Kill" forth-kill))))
;; forth-create-menu will actually call define-key to
- [nongnu] elpa/forth-mode ab790fdac8 091/153: Don't kill *forth* buffer when there's a fatal error., (continued)
- [nongnu] elpa/forth-mode ab790fdac8 091/153: Don't kill *forth* buffer when there's a fatal error., ELPA Syncer, 2022/01/29
- [nongnu] elpa/forth-mode be0272be3a 076/153: Inhibut Gforth terminal attribute output., ELPA Syncer, 2022/01/29
- [nongnu] elpa/forth-mode 312f3860aa 124/153: Try to indent (foo), ELPA Syncer, 2022/01/29
- [nongnu] elpa/forth-mode 952995d95e 098/153: Add tests for indentation, ELPA Syncer, 2022/01/29
- [nongnu] elpa/forth-mode 0bbf7992d6 135/153: Workaround pcase bug in Emacs-24.3, ELPA Syncer, 2022/01/29
- [nongnu] elpa/forth-mode ee0781f0a8 066/153: Add more functions for evaluating Forth expressions., ELPA Syncer, 2022/01/29
- [nongnu] elpa/forth-mode 1ffc174c13 127/153: Pass Makefile variable FORTH as environment variable to build.el, ELPA Syncer, 2022/01/29
- [nongnu] elpa/forth-mode 9b0982e169 149/153: Fix CI, ELPA Syncer, 2022/01/29
- [nongnu] elpa/forth-mode 52d84393c0 141/153: Remove newlines to fix markdown formatting., ELPA Syncer, 2022/01/29
- [nongnu] elpa/forth-mode 2d30ca8eaa 142/153: Use add-to-list in installation instructions instead of pushnew., ELPA Syncer, 2022/01/29
- [nongnu] elpa/forth-mode 8c0e519c57 148/153: Add restart-forth to source window menu,
ELPA Syncer <=
- [nongnu] elpa/forth-mode 5e99586c1e 065/153: Remove prompt from Forth output., ELPA Syncer, 2022/01/29
- [nongnu] elpa/forth-mode 6bc035fd90 040/153: Fix missing argument to define-key., ELPA Syncer, 2022/01/29
- [nongnu] elpa/forth-mode fbd2c51cea 070/153: Initialize pseudo terminal window size, ELPA Syncer, 2022/01/29
- [nongnu] elpa/forth-mode 38f0ccbfc8 027/153: Rename to run-forth, forth-ensure, and forth-parse.el., ELPA Syncer, 2022/01/29
- [nongnu] elpa/forth-mode ccb14b4a47 136/153: Indentation rule for :noname, ELPA Syncer, 2022/01/29
- [nongnu] elpa/forth-mode d711fd5200 130/153: Remove tabs in wercker.yml, ELPA Syncer, 2022/01/29
- [nongnu] elpa/forth-mode dd450e6a01 120/153: Remove debugging code, ELPA Syncer, 2022/01/29
- [nongnu] elpa/forth-mode b3c1e62e5a 151/153: The Emacs 25 package can't coexist with Emacs-snapshot., ELPA Syncer, 2022/01/29
- [nongnu] elpa/forth-mode 157c14b18e 092/153: Include tab (\t) as whitespace delimiter for comments., ELPA Syncer, 2022/01/29
- [nongnu] elpa/forth-mode 93c90ebf97 129/153: Install gforth in wercker, ELPA Syncer, 2022/01/29