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

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

Re: command-separator char


From: Andreas Röhler
Subject: Re: command-separator char
Date: Tue, 23 Jun 2015 15:56:46 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.4.0


Am 23.06.2015 um 14:45 schrieb Stefan Monnier:
Hmm, in python-mode, C-M-f at beginning of
import time; import os
ends after "os", but should stop at semi-colon.
I was only talking about modes using SMIE.
Any example?
Prolog, sh, css, Ruby, Tuareg, SML, Coq, Octave, Postscript, Modula-2?
"grep smie-setup" is a good way to find out.


         Stefan

With buffer sh-mode,

Same inconsistencies as common forward-sexp:

echo "foo"; echo "asdf";

With cursor at first word --> end of first word

With cursor inside first string --> end of first string

With cursor at end of first string --> inside second string

With cursor after first semicolon --> after second "echo"

etc.

Seems still no idea or definition what a sexp should be.

Unusable...





reply via email to

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