-
Notifications
You must be signed in to change notification settings - Fork 121
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
--inf-ruby-mode semantics #68
Comments
Anybody cares about Emacs support here? |
+1 |
i know its been 2 years since this opened, but i'd like to give it a +1. maybe it has been addressed in newer versions of ruby, but at least with my local version of ruby 2.7.5, adding it to the command options causes irb to fail to return the next prompt until i type another newline. it seems like the it does seem to work on Ruby 3 though, but for the Emacs integration it would be quite nice to depend on this flag as @dgutov suggests. |
ah i see my particular issue was addressed here #127 fwiw, i'm interested in helping with further Emacs support if any effort goes this way |
This works around Reline's misbehavior on low-capability terminals, such as when IRB is launched inside Emacs (ruby/reline#616). It should also resolve ruby#68 and resolve ruby#113 which were filed out of similar need.
* Switch to StdioInputMethod when TERM is 'dumb' This works around Reline's misbehavior on low-capability terminals, such as when IRB is launched inside Emacs (ruby/reline#616). It should also resolve #68 and resolve #113 which were filed out of similar need. * Add special env for testing See discussion in #907. --------- Co-authored-by: tomoya ishida <tomoyapenguin@gmail.com>
Can we make it imply
--nosingleline
and--nomultiline
, but not anything else?In particular, we (the inf-ruby upstream) decided not to use it because it also disables continuation prompts. Currently
inf-ruby
uses--prompt default --noreadline
instead.But with newer features here that we can't use from Emacs, it would be helpful if
--inf-ruby-mode
was an option one could use to avoid version checks. In particular, ifirb --inf-ruby-mode --prompt default
was a valid usage in the new IRB.The text was updated successfully, but these errors were encountered: