This is a minor bug but worth noting. Here’s some code indented by
ruby-mode.el (1.8.6-p36).
[snip]
foo do |x|
end
a ||
b
[snip]
The variable “b” should be indented, but it’s not. The indentation
appears properly if you remove the method call to foo , or remove the
block from that method call, or change the ‘||’ operator to ‘&&’. It
looks like an interaction between the ‘||’ and the preceding block but
I don’t have the elisp-fu to be sure.
Hope this helps,
Jeremy H.