-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Next/previous error should cycle instead of stopping at the end/start of the buffer #3755
Comments
Using For cycling backward, as (pos (if reset (if (>= n 0) (point-min) (point-max)) (point)))) instead of (pos (if reset (point-min) (point)))) and adding the |
Ping @lunaryorn ☝️ If you want to include proactively the support for backward Also, maybe are you interested to have directly the support for cycling functions in |
Whoever does this, make sure to keep the commands also working for non-flycheck errors. They are very useful for e.g. org sparse trees. |
@StreakyCobra Flycheck's error navigation is modelled after the built-in error navigation, and I won't change that for the sake of consistency. For this reason I'll neither add a If you'd like to have backwards cycling you have to build that yourself on top of giving negative arguments to |
As an alternative and maybe easier approach we could have another command that cycle through errors starting from the top of the file. Most of the time I don't care where the errors are, I just want an easy way to cycle amongst them without using an extra list buffer. That might be better because we wouldn't have to change the behavior of |
That said, while searching, |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Please let us know if this issue is still valid! |
It would be much more convenient if
next/previous-error
(SPC-e-n
,SPC-e-p
) would always cycle to the next error instead of stopping at the end/start of the buffer.In that regard,
SPC-e-n
for instance will always find an error if there is one.The text was updated successfully, but these errors were encountered: