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

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

Re: moving in js


From: Andreas Röhler
Subject: Re: moving in js
Date: Wed, 08 Aug 2012 07:37:31 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:14.0) Gecko/20120713 Thunderbird/14.0

Am 07.08.2012 22:33, schrieb Peter Dyballa:

Am 07.08.2012 um 21:11 schrieb Andreas Röhler:

when looking in javascript modes, can't see mode-specific commands for moves 
onto beg/end of function, block, statement etc.

Is there no forward- or backward-sexp available?


unfortunatly that command  raises deliberatly errors or tends to unpredictable 
moves

Example in python-mode, but similar in lisp:

with file("roulette-" + zeit + ".csv", 'w') as datei:
    for i in range(anzahl):
        klauf.pylauf()
        datei.write(str(spiel[i]) + "\n")

Go inside "\n" in last line and call C-M-b

it jumps one char backward, resp. up to ".csv"

Cursor on "i" in (spiel[i])

C-M-b -->

Debugger entered--Lisp error: (scan-error "Containing expression ends 
prematurely" 349 349)
  scan-sexps(350 -1)
  forward-sexp(-1)
  backward-sexp(1)
  call-interactively(backward-sexp nil nil)


Reported years ago...

Cheers,

Andreas


--
Mit friedvollen Grüßen

   Pete

Ce qui a été compris n'existe plus.
                                (Paul Eluard)






reply via email to

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