开发者

echo in inf-ruby

开发者 https://www.devze.com 2022-12-17 20:13 出处:网络
I am trying to get inf-ruby to work in Emacs.For the most part it works fine, except for the very annoying habi开发者_Python百科t of echoing every input entered.Does anyone know what could be wrong?

I am trying to get inf-ruby to work in Emacs. For the most part it works fine, except for the very annoying habi开发者_Python百科t of echoing every input entered. Does anyone know what could be wrong?

I am using Carbon Emacs on OSX 10.5 with the default Ruby 1.8.6. My irb version is 0.9.5

The odd bit is that inf-ruby worked perfectly one time I opened it, but I can't figure out what I did differently that single time.


Add this to your init.el

;;

(defun echo-false-comint ()
(setq comint-process-echoes t))

(add-hook  ’comint-mode-hook  ’echo-false-comint)

;;

A little more explanation is on my blog post.

0

精彩评论

暂无评论...
验证码 换一张
取 消