GNU bug report logs - #10460
24.0.92; css-mode sexp movement

Previous Next

Package: emacs;

Reported by: Leo <sdl.web <at> gmail.com>

Date: Mon, 9 Jan 2012 01:44:01 UTC

Severity: normal

Found in version 24.0.92

Fixed in version 25.1

Done: Tom Tromey <tom <at> tromey.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Tom Tromey <tom <at> tromey.com>
To: Leo <sdl.web <at> gmail.com>
Cc: 10460 <at> debbugs.gnu.org, Stefan Monnier <monnier <at> iro.umontreal.ca>
Subject: bug#10460: 24.0.92; css-mode sexp movement
Date: Sun, 28 Dec 2014 20:53:44 -0700
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





This bug report was last modified 10 years and 145 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.