Skip to content

flymake & selective-display #17

Description

@ctanis

When using flymake in conjunction with modes that use selective-display (such as folding-mode, the highlighting and error navigation ( flymake-goto-*-error) do not find the correct lines.

this is because forward-line jumps right over the hidden lines.

I redefined flymake-highlight-line and flymake-goto-line to use goto-line rather than forward-line, and I'm getting the behavior that I want -- that is flymake is highlighting the actual errors.

I'm not sure if this is an issue worth pursuing -- even the goto-line documentation says you "probably want" to use forward-line, as you are doing. I just thought I'd bring it up since it does not work correctly in this instance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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