From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?Andreas_R=F6hler?= Newsgroups: gmane.emacs.help Subject: Re: moving in js Date: Wed, 08 Aug 2012 07:37:31 +0200 Message-ID: <5021FB1B.1070201@easy-emacs.de> References: <5021685A.2080408@easy-emacs.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1344404271 11926 80.91.229.3 (8 Aug 2012 05:37:51 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 8 Aug 2012 05:37:51 +0000 (UTC) Cc: "help-gnu-emacs@gnu.org List" To: Peter Dyballa Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Aug 08 07:37:51 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Syyxq-0004M1-Vy for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Aug 2012 07:37:51 +0200 Original-Received: from localhost ([::1]:52926 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Syyxq-0001LZ-9M for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Aug 2012 01:37:50 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:60530) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Syyxi-0001KL-TS for help-gnu-emacs@gnu.org; Wed, 08 Aug 2012 01:37:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Syyxh-0004wV-Uc for help-gnu-emacs@gnu.org; Wed, 08 Aug 2012 01:37:42 -0400 Original-Received: from moutng.kundenserver.de ([212.227.17.8]:57385) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Syyxh-0004wL-LC for help-gnu-emacs@gnu.org; Wed, 08 Aug 2012 01:37:41 -0400 Original-Received: from [192.168.178.27] (brln-4db9db9d.pool.mediaWays.net [77.185.219.157]) by mrelayeu.kundenserver.de (node=mrbap4) with ESMTP (Nemesis) id 0LiCJf-1TTrb511Zz-00nP2I; Wed, 08 Aug 2012 07:37:40 +0200 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:14.0) Gecko/20120713 Thunderbird/14.0 In-Reply-To: X-Provags-ID: V02:K0:Ez/qpQs/Io21bcz0NEcjgxg52oPcvzJPwkIZPok450W Pc69RG552vXKMfmXm3jPwigAC72PNqK6bz+P4o8vG1Mngi/QTa MtsfKYeZVntaWz1RM5Tcrc6/KNQb+kPY8Xrezyd1ln0PeCeq9t rfLKw6QxcerNwuCCf20Er4lwujMnlxBWMabvfnv805orE1SCSe z/4XVt0lCL8griR4IAwSjhg1XHhPJ3+VpHwngCyHKfHLtkCjGk 83p4J50SPtVXHKxraDufNdHKm9GeLKQTKHrjksCwpVHaQl31jA Crcz9FpXhZ6HfXblpcrAihxOpm6e4y0rnOAwJ77sasjuDoaT5d nGel+lgyMlqW8xuwnltNA9y3ypjEmhLG2oqaTLVRu X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 212.227.17.8 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:86246 Archived-At: 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) > >