I am running Windows Vista and Emacs 23.1.1, and I installed Ruby using the "One Click Ruby Installer". Then I installed the Emacs Lisp files that were installed with Ruby, as indicated in inf-ruby.el.
When I run run-ruby (Mx run-ruby), irb starts, but every time I press Enter, irb displays the line I just printed. 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 the cygwin shell, the echo is not executed. For example:
$ irb.bat --inf-ruby-mode
irb(main):001:0> def foo()
3 + 4
end
nil
How to disable echo in Emacs? Thanks!
source
share