From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Newsgroups: gmane.emacs.bugs Subject: bug#69809: 30.0.50; flymake: error in process sentinel Date: Wed, 17 Jul 2024 14:44:11 +0100 Message-ID: References: <867chv3mtf.fsf@gnu.org> <87le696o86.fsf@catern.com> <86v81bktv5.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27081"; mail-complaints-to="usenet@ciao.gmane.io" Cc: gerd.moellmann@gmail.com, Spencer Baugh , Eli Zaretskii , 69809@debbugs.gnu.org, sbaugh@catern.com To: Eshel Yaron Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jul 17 15:46:07 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1sU4yt-0006pN-Dc for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 17 Jul 2024 15:46:07 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sU4ym-0001m4-IV; Wed, 17 Jul 2024 09:46:00 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sU4yl-0001fl-A0 for bug-gnu-emacs@gnu.org; Wed, 17 Jul 2024 09:45:59 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sU4yl-0000G5-11 for bug-gnu-emacs@gnu.org; Wed, 17 Jul 2024 09:45:59 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sU4yn-0001mK-Um for bug-gnu-emacs@gnu.org; Wed, 17 Jul 2024 09:46:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 17 Jul 2024 13:46:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69809 X-GNU-PR-Package: emacs Original-Received: via spool by 69809-submit@debbugs.gnu.org id=B69809.17212239346794 (code B ref 69809); Wed, 17 Jul 2024 13:46:01 +0000 Original-Received: (at 69809) by debbugs.gnu.org; 17 Jul 2024 13:45:34 +0000 Original-Received: from localhost ([127.0.0.1]:35305 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sU4yL-0001lW-Uu for submit@debbugs.gnu.org; Wed, 17 Jul 2024 09:45:34 -0400 Original-Received: from mail-oa1-f50.google.com ([209.85.160.50]:47423) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sU4yJ-0001lF-C1 for 69809@debbugs.gnu.org; Wed, 17 Jul 2024 09:45:32 -0400 Original-Received: by mail-oa1-f50.google.com with SMTP id 586e51a60fabf-260e5b2dfb5so108423fac.3 for <69809@debbugs.gnu.org>; Wed, 17 Jul 2024 06:45:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1721223862; x=1721828662; darn=debbugs.gnu.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=D6+gD8eI0i9XVoSmdqVZbNu3K5Rlt59IV9VsBGPcPDY=; b=bv3I3Q7VkwL6PVlw5oQ7UUp7BlBca63rOhFg8s7/6FZt5J78mjaOhUILBcMOWQtJkZ bzaj+Xy4zo6AW05i77ERG+4v4TDpN4LPRxRfVlRFLAjNPNoGvoqLj8Enz9bCekTEdXu5 2T7RSEWxNx12CyKrDeLYjw2/lRs8K9O50lkhu5UQ47ejZwOovRxkmkJZaydrD+YfORAM XHgC0tbAbYJKqe/OJ/qP9pKrl50OeB8cwTdFSoK7PRb+0u9ql+4VZKO9AmaI3tVfEQS0 HDPZ9QKQ/ktvdIEorgYRl+uLhREqwDXrNMuFg7X7o10/hG9/eNY1KHXm3wIN9W2zXeWb 4iOg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721223862; x=1721828662; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=D6+gD8eI0i9XVoSmdqVZbNu3K5Rlt59IV9VsBGPcPDY=; b=SgKU3XmCYu2Qgg7SmjLOIBXSUIu574t3DRSzMCdS4H9WY3VHQUyS0L0Bw+ZbxpmDj3 ChC14aEPzZR9xP4Dqe1rijsmh6OSKPkx/ZCaB/GaKu2wjDgl9LwxBRAnC+O4mBEfhRXq vt90pyM11tkR3eXqtEh8wg2+L5xc6SoGLIIHzyehiaOjoJZ4TklzyxLNpqwOJ30JfoCH GerJqtKpOrp6BFpneQMHPpXLxiHUsqLID4ZG39WnjWnRzIOl9sOvJxtZdyhTK5mdNHJw 9gbGb+Z9IJgwOraYNM934amm0X6C2yF19x4EY9/6104nBaetefXICzIKNkptjuooUQHH dRFA== X-Forwarded-Encrypted: i=1; AJvYcCWakcQwy7LEBvlNwYqHX2upt0qNjUnrCJuZpkgk95NDKrXdys5raNu48plsfTcvDcKT7YxAcN3cKILk0/Vyyy+9AybEa9Y= X-Gm-Message-State: AOJu0YyMCyK7sqgoAccUbIgmAkPwJYBPcTjvQqwIIwnbBWwaUvpLVhJQ GUsB7Z1YcmokOu+Q42UFJPQqA3kOm3n5tYNN6mv0L2IBIy4Ul5zOSBMVuJ3CXoXez8rBm2YVQdS pXzyWqMdOk0TJxKAOcjL9Sk92Izo= X-Google-Smtp-Source: AGHT+IESQYPji9BAv3bGI39f+SWivRiD+CWhiizDS/0T8L+c0h8n3qcD3pDh1myFYeXNon/152ITza1mgzcI09LhGMY= X-Received: by 2002:a05:6870:170e:b0:25e:b6a2:2e6b with SMTP id 586e51a60fabf-260d914d2eamr1414549fac.2.1721223862274; Wed, 17 Jul 2024 06:44:22 -0700 (PDT) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:288923 Archived-At: On Wed, Jul 17, 2024 at 2:08=E2=80=AFPM Eshel Yaron wro= te: > > Hi Jo=C3=A3o, > > Jo=C3=A3o T=C3=A1vora writes: > > > On Wed, Jul 17, 2024 at 9:20=E2=80=AFAM Jo=C3=A3o T=C3=A1vora wrote: > >> > >> On Wed, Jul 17, 2024 at 7:12=E2=80=AFAM Eshel Yaron 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=C3=A3o > >> > before installing: Jo=C3=A3o, 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? Anyway, can you try this patch? diff --git a/lisp/progmodes/flymake.el b/lisp/progmodes/flymake.el index e72f25fd0cd..74db9b56dd9 100644 --- a/lisp/progmodes/flymake.el +++ b/lisp/progmodes/flymake.el @@ -991,7 +991,7 @@ flymake--highlight-line ;; third-party compatibility. (define-obsolete-function-alias 'flymake-display-warning 'message-box "26.= 1") -(defvar-local flymake--state nil +(defvar-local flymake--state (make-hash-table) "State of a buffer's multiple Flymake backends. The keys to this hash table are functions as found in `flymake-diagnostic-functions'. The values are structures @@ -1396,7 +1396,6 @@ flymake-mode ;; reinitializing `flymake--state' in the next line. ;; See https://github.com/joaotavora/eglot/issues/223. (mapc #'flymake--delete-overlay (flymake--really-all-overlays)) - (setq flymake--state (make-hash-table)) (setq flymake--recent-changes nil) (when flymake-start-on-flymake-mode (flymake-start t))