[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/inf-ruby e05cc84738 196/265: Add menu for inf-ruby-minor-m
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/inf-ruby e05cc84738 196/265: Add menu for inf-ruby-minor-mode |
Date: |
Sat, 9 Jul 2022 21:59:25 -0400 (EDT) |
branch: elpa/inf-ruby
commit e05cc847385f9160703ae00b8046bb2a9eafdd64
Author: Dmitry Gutov <dgutov@yandex.ru>
Commit: Dmitry Gutov <dgutov@yandex.ru>
Add menu for inf-ruby-minor-mode
Closes #34.
---
inf-ruby.el | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/inf-ruby.el b/inf-ruby.el
index cd85135b54..5173c3496b 100755
--- a/inf-ruby.el
+++ b/inf-ruby.el
@@ -190,6 +190,22 @@ next one.")
(define-key map (kbd "C-c C-z") 'ruby-switch-to-inf)
(define-key map (kbd "C-c C-l") 'ruby-load-file)
(define-key map (kbd "C-c C-s") 'inf-ruby)
+ (easy-menu-define
+ inf-ruby-minor-mode-menu
+ map
+ "Inferior Ruby Minor Mode Menu"
+ '("Inf-Ruby"
+ ;; TODO: Add appropriate :active (or ENABLE) conditions.
+ ["Send definition" ruby-send-definition t]
+ ["Send last expression" ruby-send-last-sexp t]
+ ["Send block" ruby-send-block t]
+ ["Send region" ruby-send-region t]
+ "--"
+ ["Load file..." ruby-load-file t]
+ "--"
+ ["Start REPL" inf-ruby t]
+ ["Switch to REPL" ruby-switch-to-inf t]
+ ))
map))
;;;###autoload
- [nongnu] elpa/inf-ruby 965df80555 235/265: Copy edits, (continued)
- [nongnu] elpa/inf-ruby 965df80555 235/265: Copy edits, ELPA Syncer, 2022/07/09
- [nongnu] elpa/inf-ruby b0124578db 238/265: Copy edits, ELPA Syncer, 2022/07/09
- [nongnu] elpa/inf-ruby 7593d0f355 239/265: Change ruby-send-region to send any class and module lines that enlose the definition. Also throw error it not called within a definition, ELPA Syncer, 2022/07/09
- [nongnu] elpa/inf-ruby 16c2acb458 250/265: Apply code review - use original Cider's face definition, ELPA Syncer, 2022/07/09
- [nongnu] elpa/inf-ruby 2fae1a8ba9 248/265: Change 'C-x C-e' binding to use the new command, ELPA Syncer, 2022/07/09
- [nongnu] elpa/inf-ruby 871158bcad 255/265: Merge pull request #153 from tunnes/feature-create-eval-overlay, ELPA Syncer, 2022/07/09
- [nongnu] elpa/inf-ruby 7ed2b03c95 258/265: Check specifically than IRB.conf is defined, ELPA Syncer, 2022/07/09
- [nongnu] elpa/inf-ruby 8894867e9d 263/265: Fix #159 by bringing back --noreadline, ELPA Syncer, 2022/07/09
- [nongnu] elpa/inf-ruby 51ba99f6be 186/265: Proper heading for hooks, ELPA Syncer, 2022/07/09
- [nongnu] elpa/inf-ruby ec70d7f0e9 187/265: inf-ruby-buffer: Fix "wrong-type-argument stringp nil" outside of any project, ELPA Syncer, 2022/07/09
- [nongnu] elpa/inf-ruby e05cc84738 196/265: Add menu for inf-ruby-minor-mode,
ELPA Syncer <=
- [nongnu] elpa/inf-ruby 5d7397ddd9 206/265: Add Hanami console launcher, ELPA Syncer, 2022/07/09
- [nongnu] elpa/inf-ruby 2fa228f756 210/265: Add minitest-compilation-mode to Ruby compilation modes, ELPA Syncer, 2022/07/09
- [nongnu] elpa/inf-ruby d51fdaf2ac 218/265: Resolve deprecation warnings on inf-ruby-console-rails, ELPA Syncer, 2022/07/09
- [nongnu] elpa/inf-ruby 5531aaeb89 219/265: Merge pull request #119 from abicky/fix-deprecation-warning, ELPA Syncer, 2022/07/09
- [nongnu] elpa/inf-ruby f3c927c1b9 230/265: inf-ruby--irb-needs-nomultiline-p: Handle irb or ruby absence, ELPA Syncer, 2022/07/09
- [nongnu] elpa/inf-ruby d6aa7d32ae 261/265: Merge pull request #157 from tunnes/fix-broken-behaviour-on-load-current-ruby-file-fn, ELPA Syncer, 2022/07/09