backward-sexp fails from string

Bug #1034756 reported by Andreas Roehler
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-mode.el
Fix Released
Medium
Andreas Roehler

Bug Description

> 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)
>

Changed in python-mode:
assignee: nobody → Andreas Roehler (a-roehler)
milestone: none → 6.1.0
importance: Undecided → Medium
status: New → In Progress
Changed in python-mode:
milestone: 6.0.11 → 6.0.12
Changed in python-mode:
milestone: 6.0.12 → 6.1.0
Revision history for this message
Andreas Roehler (a-roehler) wrote :

Fixed in version 6.0.12

- py-sexp-function,
  When set, it's value is called instead of `forward-sexp', `backward-sexp

py-sexp-function will handle that

Changed in python-mode:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.