ruby-mode.el causes Emacs to consume all available CPU when using the
following odd indenting:
1: def foo
2: thingy = (bar.nil? ?
3: “goo” :
4: “stuff”)
5: end
Pressing return at the end of line 2, then hitting tab at the
beginning of line 3 causes the problem. The following doesn’t trigger
it, so I’m guessing that it’s getting confused by the double-? on line
2…
1: def foo
2: thingy = (bar.stuff ?
3: “foo” :
4: “stuff”)
5: end
Dan
···
–
/^Dan Debertin$/
airboss@nodewarrior.org
www.nodewarrior.org
ignorami: n:
The art of folding problem users into representational shapes.