all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Andreas Röhler" <andreas.roehler@easy-emacs.de>
To: Peter Dyballa <Peter_Dyballa@Web.DE>
Cc: "help-gnu-emacs@gnu.org List" <help-gnu-emacs@gnu.org>
Subject: Re: moving in js
Date: Wed, 08 Aug 2012 07:37:31 +0200	[thread overview]
Message-ID: <5021FB1B.1070201@easy-emacs.de> (raw)
In-Reply-To: <A08DDE36-FD47-49B2-8CC6-6DA14F2C8FA5@Web.DE>

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	other threads:[~2012-08-08  5:37 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-07 19:11 moving in js Andreas Röhler
2012-08-07 20:33 ` Peter Dyballa
2012-08-08  5:37   ` Andreas Röhler [this message]
2012-08-08 17:37     ` João Távora
2012-08-09  5:45       ` Andreas Röhler
     [not found]         ` <CALDnm512KSuJw+ZScjnn59x7OZLnWOfyZzLVBe_4CiLqdKTAkA@mail.gmail.com>
2012-08-09 16:20           ` Andreas Röhler
     [not found]             ` <CALDnm537EEG=6s9KJrqSZN35zBTg=GLcE7OBJy8h=N4zAD03cA@mail.gmail.com>
2012-08-09 17:19               ` Andreas Röhler
2012-08-10  1:14                 ` João Távora
2012-08-10  6:45                   ` Andreas Röhler
     [not found]                     ` <CALDnm52urB5ZD7gkDeGE4irOn+J-EWzLVcDfEetZVrf95ZESEA@mail.gmail.com>
2012-08-10 11:15                       ` Andreas Röhler

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=5021FB1B.1070201@easy-emacs.de \
    --to=andreas.roehler@easy-emacs.de \
    --cc=Peter_Dyballa@Web.DE \
    --cc=help-gnu-emacs@gnu.org \
    /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.