Description
The latest version of IRB is broken when used through Emacs comint (the inf-ruby package).
The standalone irb works okay-ish if passed --nomultiline, (EDIT:) and for Rails one can do rails console -- --nomultiline (with recent enough rails). Any other program that similarly embeds Irb is still affected, and in all cases, when a script has to make a choice whether to pass --nomultiline, it creates a performance penalty on top of it.
If IRB read some environment variable and disabled multiline editing (singleline too maybe, it doesn't seem any effect here), that would be great.
Terminal Emulator
Emacs comint.
Setting Files
Are you using ~/.irbrc and ~/.inputrc?
No. Changing IRB.conf[:USE_MULTILINE] through .irbrc works, but I can hardly ask every user to do that.
Description
The latest version of IRB is broken when used through Emacs comint (the
inf-rubypackage).The standalone
irbworks okay-ish if passed--nomultiline, (EDIT:) and for Rails one can dorails console -- --nomultiline(with recent enough rails). Any other program that similarly embeds Irb is still affected, and in all cases, when a script has to make a choice whether to pass--nomultiline, it creates a performance penalty on top of it.If IRB read some environment variable and disabled multiline editing (singleline too maybe, it doesn't seem any effect here), that would be great.
Terminal Emulator
Emacs comint.
Setting Files
Are you using
~/.irbrcand~/.inputrc?No. Changing
IRB.conf[:USE_MULTILINE]through.irbrcworks, but I can hardly ask every user to do that.