From: Le Wang (nospam) Date: 2001-12-29T03:15:20+09:00 Subject: [ruby-talk:29561] ruby-mode.el indentation issue Hi all, Here is an indentation problem I noticed in ruby-mode.el 1.39 + GNU Emacs 21.1 or XEmacs 21.4.6. -------------- #!/usr/bin/env ruby class Test def method if mm_regex.match f if @hardLink f = File.expand_path(f) else f.sub!(%r{^#{@dir}/}, '') end # do a ruby-inent-command on this line. end end end -------------- If you press tab (ruby-indent-command) on line 11, the indentation gets messed up, and indentation stops working from that point forward, for the remainder of the method definition. Thanks -Le