From: "João Távora" <joaotavora@gmail.com>
To: Eshel Yaron <me@eshelyaron.com>
Cc: gerd.moellmann@gmail.com, Spencer Baugh <sbaugh@janestreet.com>,
Eli Zaretskii <eliz@gnu.org>,
69809@debbugs.gnu.org, sbaugh@catern.com
Subject: bug#69809: 30.0.50; flymake: error in process sentinel
Date: Wed, 17 Jul 2024 18:38:27 +0100 [thread overview]
Message-ID: <CALDnm514dgLVJ38Bw9505QnDGieB1dON8DmrH0Skv9vo-hkwxw@mail.gmail.com> (raw)
In-Reply-To: <m11q3sexrg.fsf@dazzs-mbp.home>
On Wed, Jul 17, 2024 at 6:25 PM Eshel Yaron <me@eshelyaron.com> wrote:
>
> João Távora <joaotavora@gmail.com> writes:
>
> > On Wed, Jul 17, 2024 at 2:08 PM Eshel Yaron <me@eshelyaron.com> wrote:
> >>
> >> Hi João,
> >>
> >> João Távora <joaotavora@gmail.com> writes:
> >>
> >> > On Wed, Jul 17, 2024 at 9:20 AM João Távora <joaotavora@gmail.com> wrote:
> >> >>
> >> >> On Wed, Jul 17, 2024 at 7:12 AM Eshel Yaron <me@eshelyaron.com> wrote:
> >> >>
> >> >> > > Yes, this seems good for emacs-30. Thanks Eshel!
> >> >> > Great, thanks. Since this is a change in eglot.el, let me also ask João
> >> >> > before installing: João, any objections to the change above?
> >> >>
> >> >> I'd like to understand what problem it is solving.
> >> >
> >> > I've read a bit of the thread. There seems to be an error involved,
> >> > but I didn't see a backtrace for this error. Can someone produce it?
> >>
> >> Sure, here's one (also see the recipe I posted upthread):
> >
> > Thanks. Is the backtrace below what's unequivocally (or close)
> > produced by that recipe?
>
> Yes, that's what I see.
>
> > Anyway, can you try this patch?
>
> That seems to work too :)
I understand the source of _this_ problem, and the line I changed
addresses it. My worry is that my fix also creates more problems,
but it seems cleaner. It has to be tested, particularly with Eglot reconnects.
Anyway the fix that someone proposed -- to refrain from issuing `flymake-mode`
when flymake-mode is already active -- isn't right. It's just
papering over a bug
waiting to appear again when someone does that in another mode hook.
The correct fix is similar to what I did, fixing the state management/cleanup
in flymake.el. Maybe the reason for brutally resetting flymake--state doesn't
apply anymore: it doesn't seem right at all.
João
next prev parent reply other threads:[~2024-07-17 17:38 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-15 7:09 bug#69809: 30.0.50; flymake: error in process sentinel Gerd Möllmann
2024-03-21 10:23 ` Eli Zaretskii
2024-03-23 14:02 ` sbaugh
2024-03-23 14:20 ` Gerd Möllmann
2024-07-11 9:45 ` Eshel Yaron via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-07-11 11:15 ` Eshel Yaron via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-07-11 11:46 ` Gerd Möllmann
2024-07-12 6:27 ` Eli Zaretskii
2024-07-16 20:48 ` Spencer Baugh
2024-07-17 6:12 ` Eshel Yaron via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-07-17 8:20 ` João Távora
2024-07-17 9:07 ` João Távora
2024-07-17 13:08 ` Eshel Yaron via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-07-17 13:44 ` João Távora
2024-07-17 17:25 ` Eshel Yaron via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-07-17 17:38 ` João Távora [this message]
2024-07-17 23:54 ` João Távora
2024-07-18 0:10 ` João Távora
2024-07-24 16:25 ` Spencer Baugh
2024-07-25 7:28 ` Eli Zaretskii
2024-07-25 7:45 ` João Távora
2024-07-25 10:50 ` Eli Zaretskii
2024-07-25 11:49 ` João Távora
2024-07-27 7:26 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CALDnm514dgLVJ38Bw9505QnDGieB1dON8DmrH0Skv9vo-hkwxw@mail.gmail.com \
--to=joaotavora@gmail.com \
--cc=69809@debbugs.gnu.org \
--cc=eliz@gnu.org \
--cc=gerd.moellmann@gmail.com \
--cc=me@eshelyaron.com \
--cc=sbaugh@catern.com \
--cc=sbaugh@janestreet.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).