GNU bug report logs -
#77809
adding next-error support for flymake diagnostics buffers
Previous Next
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
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Okay, here you go.
Yes, please send me the copyright assignment paperwork.
On Sun, Apr 27, 2025 at 3:40 AM Eli Zaretskii <eliz <at> gnu.org> wrote:
>
> > From: Matthew Tromp <matthewktromp <at> gmail.com>
> > Date: Fri, 25 Apr 2025 13:43:57 -0400
> > Cc: Spencer Baugh <sbaugh <at> janestreet.com>, 77809 <at> debbugs.gnu.org
> >
> > Here you go
> >
> > On Wed, Apr 23, 2025 at 7:46 AM Eli Zaretskii <eliz <at> gnu.org> wrote:
> > >
> > > > 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.
>
> Thanks. Byte-compiling the modified flymake.el produces this warning:
>
> ELC progmodes/flymake.elc
>
> In flymake--diagnostics-next-error:
> progmodes/flymake.el:2111:6: Warning: `when-let' is an obsolete macro (as of 31.1); use `when-let*' or `and-let*' instead.
>
> Could you please fix the code to avoid this warning?
>
> Also, you don't seem to have copyright assignment on file. So we can
> accept this contribution from you, but any further contributions will
> require that you do the paperwork of assigning the copyright to the
> FSF. If you agree, I will send you the form to fill and the
> instructions to go with them, so you could get your legal paperwork
> rolling.
>
> Thanks.
[0001-Add-next-error-support-for-flymake-diagnostics-buffe.patch (text/x-patch, attachment)]
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.