From: "Molitor, Stephen L" Date: 2006-06-13T23:48:45+09:00 Subject: Re: Emacs extension? There are some solutions here: http://wiki.rubygarden.org/Ruby/page/show/EmacsExtensions Steve -----Original Message----- From: list-bounce@example.com [mailto:list-bounce@example.com] On Behalf Of Patrick Gundlach Sent: Tuesday, June 13, 2006 8:23 AM To: ruby-talk ML Subject: Emacs extension? Hello Rubyists, I code ruby within emacs and I sometimes run scripts within emacs by running (shell-command-on-region (point-min) (point-max) "ruby -w") When the script throws errors, emacs outputs lines like these in a buffer called "*Shell Command Output*: ./pdfobjects.rb:134:in `to_pdf': undefined method `in_list?' for 0:Fixnum (NoMethodError) from ./pdfobjects.rb:133:in `to_pdf' from ./pdfobjects.rb:48:in `dictionary_writer' from ./pdfobjects.rb:39:in `dictionary_writer' from ./pdfobjects.rb:214:in `to_pdf' from ./pdflib.rb:112:in `to_s' from //opt/ruby/1.8.4/lib/ruby/1.8/delegate.rb:293:in `each_with_index' from ./pdflib.rb:108:in `to_s' from -:68:in `write_pdf' from -:75 Did anybody write an extension so these linenumbers are active? That would ease finding the right places. Patrick -- Posted via http://www.ruby-forum.com/.