[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/inf-ruby 771c7473b9 039/265: Pass --prompt default to ruby
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/inf-ruby 771c7473b9 039/265: Pass --prompt default to ruby and jruby |
Date: |
Sat, 9 Jul 2022 21:59:12 -0400 (EDT) |
branch: elpa/inf-ruby
commit 771c7473b9001ba7c0fbf75521842acd784d1072
Author: Dmitry Gutov <dgutov@yandex.ru>
Commit: Dmitry Gutov <dgutov@yandex.ru>
Pass --prompt default to ruby and jruby
Without it (or --inf-ruby-mode), IRB in Emacs on Windows defaults to
no prompt at all. The problem isn't limited to IRB, so we probably
should recommend fixing it via .irbrc instead, like here:
http://stackoverflow.com/questions/11221345/rails-console-runs-without-prompt
https://github.com/eschulte/rinari/issues/42#issuecomment-10626120
Haven't tested it with rubinius. I'm not modifying the yarv entry
because I don't believe anyone's using it (also, having different
versions of Ruby installed on Windows should be very uncommon).
---
inf-ruby.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/inf-ruby.el b/inf-ruby.el
index cbf84d5083..f0168230aa 100755
--- a/inf-ruby.el
+++ b/inf-ruby.el
@@ -51,8 +51,8 @@
"*Mode map for inf-ruby-mode")
(defvar inf-ruby-implementations
- '(("ruby" . "irb -r irb/completion")
- ("jruby" . "jruby -S irb -r irb/completion")
+ '(("ruby" . "irb --prompt default -r irb/completion")
+ ("jruby" . "jruby -S irb --prompt default -r irb/completion")
("rubinius" . "rbx -r irb/completion")
("yarv" . "irb1.9 -r irb/completion")
("macruby" . "macirb -r irb/completion"))
- [nongnu] elpa/inf-ruby 910658e1f3 029/265: Use 'ruby-backward-sexp' instead of 'backward-sexp', (continued)
- [nongnu] elpa/inf-ruby 910658e1f3 029/265: Use 'ruby-backward-sexp' instead of 'backward-sexp', ELPA Syncer, 2022/07/09
- [nongnu] elpa/inf-ruby 4f4f0ccdf7 026/265: Version 2.2.4, ELPA Syncer, 2022/07/09
- [nongnu] elpa/inf-ruby 032d3f024e 024/265: Merge pull request #9 from DrJKL/master, ELPA Syncer, 2022/07/09
- [nongnu] elpa/inf-ruby 505b3cd216 023/265: Changed the manual installation comments to reflect the change from inf-ruby-keys to inf-ruby-setup-keybindings, ELPA Syncer, 2022/07/09
- [nongnu] elpa/inf-ruby 5d159adddd 030/265: Fix commit 'Store non-whitespace input in the REPL history, ...', ELPA Syncer, 2022/07/09
- [nongnu] elpa/inf-ruby 87b96ca887 035/265: Drop --inf-ruby-mode, ELPA Syncer, 2022/07/09
- [nongnu] elpa/inf-ruby bf49b368a5 047/265: Fix #18, ELPA Syncer, 2022/07/09
- [nongnu] elpa/inf-ruby cfb1c89a25 038/265: inf-ruby-minor-mode-map: Initialize to the resulting map, ELPA Syncer, 2022/07/09
- [nongnu] elpa/inf-ruby 33b89e654a 048/265: Update comment, ELPA Syncer, 2022/07/09
- [nongnu] elpa/inf-ruby f33b4aa36b 051/265: inf-ruby-switch-from-compilation: enable undo, ELPA Syncer, 2022/07/09
- [nongnu] elpa/inf-ruby 771c7473b9 039/265: Pass --prompt default to ruby and jruby,
ELPA Syncer <=
- [nongnu] elpa/inf-ruby 6f4e68bb1c 043/265: Set comint-process-echoes on Windows, ELPA Syncer, 2022/07/09
- [nongnu] elpa/inf-ruby 928a5dfd73 059/265: inf-ruby-switch-from-compilation: Call `comint-output-filter` on current line, ELPA Syncer, 2022/07/09
- [nongnu] elpa/inf-ruby 6a45c1451a 069/265: inf-ruby-switch-to-compilation: Rename to -maybe-, tweak the docstring, ELPA Syncer, 2022/07/09
- [nongnu] elpa/inf-ruby 350b12fea3 062/265: inf-ruby-prompt-format: Minor cleanup, ELPA Syncer, 2022/07/09
- [nongnu] elpa/inf-ruby db01e3dd13 092/265: Fix send-region with pure-Pry repl, ELPA Syncer, 2022/07/09
- [nongnu] elpa/inf-ruby e3335232ce 081/265: Add missing code section to comment front-matter, ELPA Syncer, 2022/07/09
- [nongnu] elpa/inf-ruby 87a5fd3038 074/265: Make inf-ruby-minor-mode keymap visible when doing C-h f/C-h m, ELPA Syncer, 2022/07/09
- [nongnu] elpa/inf-ruby 422cc1be93 093/265: Fix #35, ELPA Syncer, 2022/07/09
- [nongnu] elpa/inf-ruby 20585d3983 108/265: Use file-name-as-directory to add a trailing slash, ELPA Syncer, 2022/07/09
- [nongnu] elpa/inf-ruby dc7df6541e 091/265: inf-ruby-completions: Make safer, ELPA Syncer, 2022/07/09