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 methodin_list?’ for
0:Fixnum (NoMethodError)
from ./pdfobjects.rb:133:in to_pdf' from ./pdfobjects.rb:48:indictionary_writer’
from ./pdfobjects.rb:39:in dictionary_writer' from ./pdfobjects.rb:214:into_pdf’
from ./pdflib.rb:112:in to_s' from //opt/ruby/1.8.4/lib/ruby/1.8/delegate.rb:293:ineach_with_index’
from ./pdflib.rb:108:in to_s' from -:68:inwrite_pdf’
from -:75
Did anybody write an extension so these linenumbers are active? That
would ease finding the right places.
Patrick