Skip to content

isortify-buffer hangs on missing trailing newline  #5

@andersk

Description

@andersk

If you open a new Python buffer and type some code (e.g. import os) without a trailing newline, then run M-x isortify-buffer, Emacs hangs until you press C-g to interrupt it.

(I’m using Emacs 26.3 on NixOS 20.09.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions