Subject: Re: bug#70974: next-error: allow looping back to the first error

From: Eli Zaretskii <[email-masked]>
Date: Thu, 16 May 2024 13:20:29 +0300

> From: Dan Jacobson <[email-masked]>
> Date: Wed, 15 May 2024 10:41:50 +0800
> 
> C-x ` runs the command next-error.
> But it doesn't loop around. Nope. Beep:
> compilation-next-error: Moved past last error
> We must manually place it back up at the top.

I believe this is a feature, since wrapping around in this case makes
no sense, at least generally.  Of course, any particular
next-error-function could wrap around if the major mode for which it
is written justifies that.