You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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!
The text was updated successfully, but these errors were encountered:
When using flymake in conjunction with modes that use
selective-display
(such asfolding-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
andflymake-goto-line
to usegoto-line
rather thanforward-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 useforward-line
, as you are doing. I just thought I'd bring it up since it does not work correctly in this instance!The text was updated successfully, but these errors were encountered: