[Top][All Lists]

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

bug#10460: 24.0.92; css-mode sexp movement

From: Stefan Monnier
Subject: bug#10460: 24.0.92; css-mode sexp movement
Date: Mon, 29 Dec 2014 21:46:41 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

> However, this asymmetry does seem less regular, and IMO therefore less
> useful, than a simpler lexically-based movement scheme.

It's actually more powerful.  E.g. when point is on a comma
separating two arguments, C-M-t swaps the two arguments.

> Also conformity with other modes is a distinct plus

It's consistent with Lisp code (because the new behavior only occurs for
situations which don't exist in Lisp).  But it's not consistent with
non-SMIE non-Lisp-like languages, indeed.

> It's handy to have movement commands that means "symbol or balanced
> paren-like things".  I always thought that was *-sexp.

You can still have that if you set forward-sexp-function to nil.


reply via email to

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