Fix this problem by changing line 180 in xmp.rb from
rescue
  To
rescue Exception

(much nicer that way in vim - maybe I had an old version of xmp.rb)

Wayne

>xmp crashes on NameError because it isn't handled.

> C:\>ruby -r xmp/xmp -n -e 'xmp($_, "\%l\t\t\# \%r\n")'
> x=5
> x=5             # => 5
> x.bbb
> /cygdrive/e/ruby/lib/ruby/site_ruby/1.6/xmp/xmp.rb:182:in `eval':
(eval):3:
> unde
> fined method `bbb' for 5:Fixnum (NameError)
>         from /cygdrive/e/ruby/lib/ruby/site_ruby/1.6/xmp/xmp.rb:182:in
`xmp'
>         from -e:1
>
>
> for x.bbb I expected
> #!! undefined method `bbb' for #<Fixnum>
>
> Wayne
>
>