scan-error on py-sort-imports
Bug #1545013 reported by
Barry Warsaw
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-mode.el |
Fix Committed
|
Low
|
Andreas Roehler | ||
Debian |
Fix Released
|
Unknown
|
Bug Description
From python-mode.el Debian 6.2.2
Visit an empty file and hit C-c C-f on an empty line (py-sort-imports). You get a scan-error:
up-list: Scan error: "Unbalanced parentheses", 1, 1
Changed in debian: | |
status: | Unknown → New |
Changed in python-mode: | |
assignee: | nobody → Andreas Roehler (a-roehler) |
importance: | Undecided → Low |
status: | New → In Progress |
Changed in python-mode: | |
status: | In Progress → Fix Committed |
milestone: | none → 6.2.3 |
Changed in debian: | |
status: | New → Fix Released |
To post a comment you must log in.
On 12.02.2016 15:51, Barry Warsaw wrote:
> Public bug reported:
>
> >From python-mode.el Debian 6.2.2
>
> Visit an empty file and hit C-c C-f on an empty line (py-sort-imports).
> You get a scan-error:
>
> up-list: Scan error: "Unbalanced parentheses", 1, 1
>
>
Doku says:
Put point inside the parentheses of a multiline import and hit
;;
Will it be okay if Emacs stays silent here?
Issuing a warning would mean over-engineering WRT to doku.