Hi,

In message "Re: BUG: ruby-mode.el : '/=' operator breaks following indentation"
    on Thu, 30 Nov 2006 08:35:06 +0900, Jeremy Henty <jeremy / chaos.org.uk> writes:

|Using emacs 21.4, ruby-mode.el from Ruby 1.8.5 (byte-compiled), if I
|open a file with the following code ...
|
|def foo
|  x /= y
|   bar
|end

Does this patch work for you?

							matz.

diff --git a/misc/ruby-mode.el b/misc/ruby-mode.el
index 38d5b71..33c5901 100755
--- a/misc/ruby-mode.el
+++ b/misc/ruby-mode.el
@@ -383,6 +383,8 @@ The variable ruby-indent-level controls the amount of indentation.
 	 (t
 	  (setq in-string (point))
 	  (goto-char end))))
+       ((looking-at "/=")
+	(goto-char pnt))
        ((looking-at "/")
 	(cond
 	 ((and (not (eobp)) (ruby-expr-beg 'expr-re))