emacs-diffs
[Top][All Lists]
Advanced

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

Re: [Emacs-diffs] trunk r112888: * lisp/emacs-lisp/smie.el: Improve show


From: Stefan Monnier
Subject: Re: [Emacs-diffs] trunk r112888: * lisp/emacs-lisp/smie.el: Improve show-paren-mode behavior.
Date: Sat, 08 Jun 2013 00:28:56 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

>> +    * emacs-lisp/smie.el: Improve show-paren-mode behavior.
>> +    (smie--opener/closer-at-point): New function.
>> +    (smie--matching-block-data): Use it.  Don't match from right after an
>> +    opener or right before a closer.  Obey smie-blink-matching-inners.
>> +    Don't signal a mismatch for repeated inners like "switch..case..case".

> Thanks for the improvement. There is one glitch. When point is on the
> first char of a closer, nothing happens, for example, on the first char
> of 'endif' in octave-mode.

As the change log text above indicates, it's on purpose (same if point
is right after an "if").  This simply matches the show-paren-mode's
existing behavior where the paren is not highlighted if point is right
after an open paren or right before a close paren.


        Stefan



reply via email to

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