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


Message #29 received at 10460 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Tom Tromey <tom <at> tromey.com>
Cc: 10460 <at> debbugs.gnu.org, Leo <sdl.web <at> gmail.com>
Subject: Re: bug#10460: 24.0.92; css-mode sexp movement
Date: Mon, 29 Dec 2014 21:46:41 -0500
> 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.


        Stefan




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.