all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Tom Tromey <tom@tromey.com>
Cc: 10460@debbugs.gnu.org, Leo <sdl.web@gmail.com>
Subject: bug#10460: 24.0.92; css-mode sexp movement
Date: Mon, 29 Dec 2014 21:46:41 -0500	[thread overview]
Message-ID: <jwv61cteu62.fsf-monnier+emacsbugs@gnu.org> (raw)
In-Reply-To: <87387yuusm.fsf@tromey.com> (Tom Tromey's message of "Mon, 29 Dec 2014 12:20:57 -0700")

> 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





  reply	other threads:[~2014-12-30  2:46 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-09  1:40 bug#10460: 24.0.92; css-mode sexp movement Leo
2012-01-09  9:45 ` Deniz Dogan
2012-01-17  4:43   ` Leo
2014-12-29  3:53 ` Tom Tromey
2014-12-29 14:50   ` Stefan Monnier
2014-12-29 16:35     ` Tom Tromey
2014-12-29 19:13       ` Stefan Monnier
2014-12-29 19:20         ` Tom Tromey
2014-12-30  2:46           ` Stefan Monnier [this message]
2014-12-30 19:15             ` Tom Tromey
2014-12-30 23:03               ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwv61cteu62.fsf-monnier+emacsbugs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=10460@debbugs.gnu.org \
    --cc=sdl.web@gmail.com \
    --cc=tom@tromey.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.