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

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

Re: command-separator char


From: Stefan Monnier
Subject: Re: command-separator char
Date: Tue, 23 Jun 2015 15:33:15 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

> From end of first string jumps into second string.

Yes, that's the problem I mentioned in my "PS".

> While there is an expression of three minor expressions:

I don't know what you mean by that.

> echo _ "foo"_ ;
> WRT to deepest it should keep the level and end after ";"

Not sure what you mean by "keep the level".

>> SMIE's forward-sexp could very well check syntax-ppss to see we're
>> inside a string (or comment) and move outside of that string, but then
>> it would be a different command.
> IMHO a much more usefull one :)

`up-list' is aiming to do this.  It currently fails miserably at that, tho.

>> PS: That doesn't mean that it always works right either, of course.
>> M-C-f with point right after the second "o" of "foo" (i.e. right before
>> the closing double quotes) should signal an error
> Think navigation shouldn't signal an error. Rather return nil - as at EOB.

C-M-f when right before of a close paren signals an error, and it
would make a lot of sense to do the same when right before of
a closing quote.


        Stefan


reply via email to

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