emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: trunk r114743: * lisp/emacs-lisp/smie.el (smie-rule-parent): Fix ope


From: Dmitry Gutov
Subject: Re: trunk r114743: * lisp/emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
Date: Tue, 22 Oct 2013 21:19:35 +0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Stefan Monnier <address@hidden> writes:
> ------------------------------------------------------------
> revno: 114743
> revision-id: address@hidden
> parent: address@hidden
> committer: Stefan Monnier <address@hidden>
> branch nick: trunk
> timestamp: Tue 2013-10-22 11:45:56 -0400
> message:
>   * lisp/emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
>   * lisp/progmodes/ruby-mode.el (ruby-smie-rules):
>   Remove corresponding workaround.  Fix indentation rule of ";" so it
>   also applies when ";" is the parent.

Thanks! Unfortunately, this change makes many examples in ruby.rb scan
until the beginning of the buffer when calculating indentation, and
among them the ones farther from the beginning give up with (error "Lisp
nesting exceeds `max-lisp-eval-depth'"), for example these:

foo.
  bar

foo
  .bar

z = {
  foo: {
    a: "aaa",
    b: "bbb"
  }
}



reply via email to

[Prev in Thread] Current Thread [Next in Thread]