bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#10460: 24.0.92; css-mode sexp movement


From: Tom Tromey
Subject: bug#10460: 24.0.92; css-mode sexp movement
Date: Sun, 28 Dec 2014 20:53:44 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

Leo> In a css-mode buffer with the following text:
Leo> a {
Leo>     color: red;
Leo> }
Leo>
Leo> @

Leo> Leave point right behind @ and hit C-M-b, point moved to the opening
Leo> '{'. Is this correct behaviour?

When I do this, point moves to the "a".  This seems clearly wrong to me
-- I think point should be left at the "{".

It seems like a bug in SMIE, in that this ends up calling
(smie-backward-sexp 'halfsexp), which does the wrong thing.

Tom






reply via email to

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