Skip to content

Figure out why emacs sometimes can't parse file/line/char error info #845

@marijnh

Description

@marijnh

Sometimes, it considers the :line part or even the whole :line:char part as part of the filename, and fails to find the file. I haven't been able to recognize a pattern in the messages that go wrong. The way emacs parses error messages is quite obscure and full of hairy regexps. Probably some heuristic is going wrong.

Is the file:line:ch:line:ch something that's widely used? I suspect moving to file:line:ch line:ch solves this particular problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-frontendArea: Compiler frontend (errors, parsing and HIR)

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions