I'm running Windows Vista and Emacs 23.1.1 and I have installed Ruby using the "One Click Ruby Installer". I then installed the Emacs Lisp files that were installed with Ruby as specified in inf-ruby.el.
When I run the run-ruby (M-x run-ruby) function, irb starts but every time I press Enter, irb prints out the line I just typed. For example:
irb(main):001:0> def foo()
def foo()
3 + 4
3 + 4
end
end
nil
This is annoying. If I just run irb in a cygwin command shell, no echoing is performed. For example:
$ irb.bat --inf-ruby-mode
irb(main):001:0> def foo()
3 + 4
end
nil
How do I turn off the echoing in Emacs? Thanks!