GNU bug report logs - #77809
adding next-error support for flymake diagnostics buffers

Previous Next

Package: emacs;

Reported by: matthewktromp <at> gmail.com

Date: Mon, 14 Apr 2025 21:08:02 UTC

Severity: normal

Tags: patch

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Spencer Baugh <sbaugh <at> janestreet.com>
Cc: 77809 <at> debbugs.gnu.org, matthewktromp <at> gmail.com
Subject: Re: bug#77809: adding next-error support for flymake diagnostics
 buffers
Date: Wed, 23 Apr 2025 14:46:37 +0300
> From: Spencer Baugh <sbaugh <at> janestreet.com>
> Cc: 77809 <at> debbugs.gnu.org,  Eli Zaretskii <eliz <at> gnu.org>
> Date: Tue, 22 Apr 2025 15:37:49 -0400
> 
> I think this is ready to be installed.  I went ahead and updated your
> commit message to include a changelog entry - please include that in
> future changes, see "Generating ChangeLog entries" in CONTRIBUTE.
> 
> Eli, can you please install the attached change?

See below.

> +(defvar-local flymake-current-diagnostic-line 0
> +  "The line of the most recently focused diagnostic in the flymake
> +diagnostics buffer.")

The first line of a doc string should be a single complete sentence.

> +(defun flymake--diagnostics-next-error (n &optional reset)
> +  "`next-error-function' for flymake diagnostics buffers.
> +N is an integer representing how many errors to move.
> +If RESET is non-nil, returns to the beginning of the errors before
                        ^^^^^^^
"return"

Thanks.




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.