|
From: | Andreas Röhler |
Subject: | Re: moving in js |
Date: | Thu, 09 Aug 2012 07:45:18 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux i686; rv:14.0) Gecko/20120713 Thunderbird/14.0 |
Am 08.08.2012 19:37, schrieb João Távora:
On Wed, Aug 8, 2012 at 6:37 AM, Andreas Röhler <andreas.roehler@easy-emacs.de> wrote:Cursor on "i" in (spiel[i]) C-M-b --> Debugger entered--Lisp error: (scan-error "Containing expression ends prematurely" 349 349)The "\n" case moving to ".csv" is indeed an unexpected move, but I would say this error error is the expected behaviour. I mean, you can't `backward-sexp` there to go back one balanced sexp from 'i', so an error is expected, and the character positions are useful. -- João
"\n" composes a balanced expression, obviously doublequotes are a matching pair of delimiters: Balanced expressions typically include individual symbols, numbers, and string constants, as well as pieces of code enclosed in a matching pair of delimiters. http://www.gnu.org/software/emacs/manual/html_node/emacs/Expressions.html also seen from usage, that command should never fail, unless beginning or end of buffers are reached. backward-sexp can't deal with it, but that's just a bug. Andreas
[Prev in Thread] | Current Thread | [Next in Thread] |