GNU bug report logs - #70974
next-error: allow looping back to the first error

Previous Next

Package: emacs;

Reported by: Dan Jacobson <jidanni <at> jidanni.org>

Date: Thu, 16 May 2024 08:08:02 UTC

Severity: normal

To reply to this bug, email your comments to 70974 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#70974; Package emacs. (Thu, 16 May 2024 08:08:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Dan Jacobson <jidanni <at> jidanni.org>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Thu, 16 May 2024 08:08:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Dan Jacobson <jidanni <at> jidanni.org>
To: bug-gnu-emacs <at> gnu.org
Subject: next-error: allow looping back to the first error
Date: Wed, 15 May 2024 10:41:50 +0800
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.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#70974; Package emacs. (Thu, 16 May 2024 10:21:02 GMT) Full text and rfc822 format available.

Message #8 received at 70974 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Dan Jacobson <jidanni <at> jidanni.org>
Cc: 70974 <at> debbugs.gnu.org
Subject: Re: bug#70974: next-error: allow looping back to the first error
Date: Thu, 16 May 2024 13:20:29 +0300
> From: Dan Jacobson <jidanni <at> 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.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#70974; Package emacs. (Fri, 17 May 2024 01:34:01 GMT) Full text and rfc822 format available.

Message #11 received at 70974 <at> debbugs.gnu.org (full text, mbox):

From: Dan Jacobson <jidanni <at> jidanni.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 70974 <at> debbugs.gnu.org
Subject: Re: bug#70974: next-error: allow looping back to the first error
Date: Fri, 17 May 2024 09:32:52 +0800
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.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#70974; Package emacs. (Fri, 17 May 2024 03:31:02 GMT) Full text and rfc822 format available.

Message #14 received at 70974 <at> debbugs.gnu.org (full text, mbox):

From: Rudolf Adamkovič <rudolf <at> adamkovic.org>
To: Dan Jacobson <jidanni <at> jidanni.org>, 70974 <at> debbugs.gnu.org
Subject: Re: bug#70974: next-error: allow looping back to the first error
Date: Thu, 16 May 2024 22:38:18 +0200
Dan Jacobson <jidanni <at> 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 <at> adamkovic.org> [he/him]
http://adamkovic.org




This bug report was last modified 15 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.