unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#70974: next-error: allow looping back to the first error
@ 2024-05-15  2:41 Dan Jacobson
  2024-05-16 10:20 ` Eli Zaretskii
  2024-05-16 20:38 ` Rudolf Adamkovič
  0 siblings, 2 replies; 4+ messages in thread
From: Dan Jacobson @ 2024-05-15  2:41 UTC (permalink / raw)
  To: 70974

C-s runs the command isearch-forward
When we hit the bottom no worries, it will just print a
message and wrap back up to the top and keep searching.

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.





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#70974: next-error: allow looping back to the first error
  2024-05-15  2:41 bug#70974: next-error: allow looping back to the first error Dan Jacobson
@ 2024-05-16 10:20 ` Eli Zaretskii
  2024-05-17  1:32   ` Dan Jacobson
  2024-05-16 20:38 ` Rudolf Adamkovič
  1 sibling, 1 reply; 4+ messages in thread
From: Eli Zaretskii @ 2024-05-16 10:20 UTC (permalink / raw)
  To: Dan Jacobson; +Cc: 70974

> From: Dan Jacobson <jidanni@jidanni.org>
> 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.





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#70974: next-error: allow looping back to the first error
  2024-05-15  2:41 bug#70974: next-error: allow looping back to the first error Dan Jacobson
  2024-05-16 10:20 ` Eli Zaretskii
@ 2024-05-16 20:38 ` Rudolf Adamkovič
  1 sibling, 0 replies; 4+ messages in thread
From: Rudolf Adamkovič @ 2024-05-16 20:38 UTC (permalink / raw)
  To: Dan Jacobson, 70974

Dan Jacobson <jidanni@jidanni.org> writes:

> Beep: compilation-next-error: Moved past last error

+1 As a long-term, and somewhat heavy, user of the Compilation mode
myself, I too find this behavior counterproductive.

Rudy
-- 
"Logic is a science of the necessary laws of thought, without which no
employment of the understanding and the reason takes place."
--- Immanuel Kant, 1785

Rudolf Adamkovič <rudolf@adamkovic.org> [he/him]
http://adamkovic.org





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#70974: next-error: allow looping back to the first error
  2024-05-16 10:20 ` Eli Zaretskii
@ 2024-05-17  1:32   ` Dan Jacobson
  0 siblings, 0 replies; 4+ messages in thread
From: Dan Jacobson @ 2024-05-17  1:32 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 70974

On Thu, May 16, 2024 at 01:20:29PM +0300, Eli Zaretskii wrote:
> I believe this is a feature, since wrapping around in this case makes
> no sense, at least generally.
The same could be said for isearch-forward.
Perhaps there could be an option controlling it.





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-05-17  1:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-15  2:41 bug#70974: next-error: allow looping back to the first error Dan Jacobson
2024-05-16 10:20 ` Eli Zaretskii
2024-05-17  1:32   ` Dan Jacobson
2024-05-16 20:38 ` Rudolf Adamkovič

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).