nonsequitur/inf-ruby — pull request #13 by dgutov (2012-12-15 02:45:44+00:00)
Title: Remove "--inf-ruby-mode" argument, we already handle continuation prompt

AFAICT, the difference between `inf-ruby-first-prompt-pattern` and `inf-ruby-prompt-pattern` is meant to handle the continuation prompt (the one we see after an unfinished expression or unclosed literal).

Pro:
You always see something after pressing RET. Seeing lots of whitespace instead isn't too helpful, especially if the repl has something running in another thread that sometimes prints to stdout.

Con:
[Pickaxe says](http://www.rubycentral.org/pickaxe/irb.html) that in addition to modifying the prompt, `--inf-ruby-mode` suppresses Readline. I tried both `--readline` and `--noreadline`, and couldn't find any difference with the latest Emacs. Maybe we'd have to pass `--noreadline` for older Emacsen. I suggest make the change and see if anyone complains.

Meh:
There's no difference in input history. You'd think that continued expressions would be single entries in history before this change, but no: each time you press RET - separate entry.