From: Bil Kleb Date: 2002-03-19T15:26:17+09:00 Subject: Re: Test::Unit GTk GUI Bil Kleb wrote: > > (and found some new instance warnings by invoking my test case > from an emacs shell) and it just occurred to me why: I'm running "ruby -w" within emacs when I type \C-c\C-c, viz, (defun ruby-execute-buffer () "Run Ruby on the contents of the current buffer." (interactive) (shell-command-on-region (point-min) (point-max) "ruby -w")) (add-hook 'ruby-mode-hook (function (lambda () (define-key ruby-mode-map "\C-c\C-c" 'ruby-execute-buffer)))) -- Bil