Received: (at 69809) by debbugs.gnu.org; 25 Jul 2024 07:46:39 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jul 25 03:46:39 2024 Received: from localhost ([127.0.0.1]:35446 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1sWtBP-0005m3-2j for submit <at> debbugs.gnu.org; Thu, 25 Jul 2024 03:46:39 -0400 Received: from mail-oa1-f44.google.com ([209.85.160.44]:54430) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <joaotavora@HIDDEN>) id 1sWtBM-0005lr-MD for 69809 <at> debbugs.gnu.org; Thu, 25 Jul 2024 03:46:37 -0400 Received: by mail-oa1-f44.google.com with SMTP id 586e51a60fabf-25d6dd59170so328288fac.0 for <69809 <at> debbugs.gnu.org>; Thu, 25 Jul 2024 00:46:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1721893524; x=1722498324; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=6IVvgKmbeYHEKILoyOhTK8gdpmgK4yTzo8tn/hXc2Qs=; b=Q6sEe0DN3ZivguCZDDNs6V0oxHOP5EBsUkGxPmbLgDUp9xzU1tvkGLF2y/I1f/q6E/ MSJojZuDJ44flyinNcKg7WgzA1m6at/ZFX43jyyxkheEqSjN/mjLMKC4CHtVCDrrQBtx X7iqYPSTeB6QwLZDhDe+vQzuGKWZO+VauFygJZIqy6h3yQhqdM72cSUfiyy1qeTbUuA3 M9doUYO/uQxPU8jIsOZVXNRmVf7l27zaVncsQQmhavWR+PYX8x3DQ9HN7DDj00aGsZgL vkP/OvlnjANfG+1mwf5SdqRP3wjiPaPGUTUDiYP4jxwca9V2jL1gnAlD75//y3zWn60c EqyA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721893524; x=1722498324; h=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=6IVvgKmbeYHEKILoyOhTK8gdpmgK4yTzo8tn/hXc2Qs=; b=uBLfwQgSt1nyld15sdiJKXZY5cEYU5teQno2mq1KxfHKpz6j4dq/4WfJfqLQf7M7OB 1HROzwZH6hh8QSprwDjW2D6MyUPWxy475fPqCaODbx8vW1PCFNxIFZPNKcA6nGp2Si0C AksUvW6XmUX6fjmgNardkm4bm8q62QjqYcop3u7z4rvMJA2rjXBqxSAxZ72Xjs1U4MWT B7enEfkZo4LBOlYvv2HkSf34I4buyEEyr6d5PyvoJMxldh1FqgSc7ahjMe4p6GG8yq2Z kERE8+NLvDXo56IYnLzFPRPkPPcOGbwcjWute0UfFOqgOi40EweE4jq+6+SV+1PuHgYH 1tcQ== X-Forwarded-Encrypted: i=1; AJvYcCUg5oe+d8yqJ2Oj0l7qJSEuUc9qZMtXjdeiEIGfiXZ6nY+GN6rm/pWOJfH5cYoyrs5Rk6R9SuxIRukIOP7Ok1Hkime3X54= X-Gm-Message-State: AOJu0YyvHndtDvaRfu1Ti5xl6c7wzWGyRPoxWwOmgpJgc+SXrEwn9k3n saQL1xWPcXcabwhyJBlrk7V+Nuut3FvNIeoGEnf5MKUksp+MtTRee4VYNWvfmdSbVHhOdrnZfer 7BsNeUocAjMYN33H8mDYyJ+ON/sM= X-Google-Smtp-Source: AGHT+IH4PFdt0irBFS9E98Ps1HPnLplgH+KyZg44sKvtB7jP5Bv3ZbEcfc/D5QYj83q1LMnrRX+BiO8BpzIjNeDG8iM= X-Received: by 2002:a05:6870:fb9e:b0:261:16da:deca with SMTP id 586e51a60fabf-266cc37a2d9mr1409282fac.27.1721893523754; Thu, 25 Jul 2024 00:45:23 -0700 (PDT) MIME-Version: 1.0 References: <m25xxonf7v.fsf@HIDDEN> <867chv3mtf.fsf@HIDDEN> <87le696o86.fsf@HIDDEN> <m234shdo7a.fsf@HIDDEN> <m1le28cldh.fsf@HIDDEN> <m1a5ioch7m.fsf@HIDDEN> <86v81bktv5.fsf@HIDDEN> <ierh6cpukpy.fsf@HIDDEN> <m1y160r1go.fsf@HIDDEN> <CALDnm51JAZCr0R4aYNHxpMBgPgDO7eUGVUD7rH=5sBpm89dxKw@HIDDEN> <CALDnm53o=oQnd73bki1Gz9A5Bfhr76eJQ=N24XvFCRy3KoDdAA@HIDDEN> <m1msmgjhcs.fsf@HIDDEN> <CALDnm53MPm9PDb5Xm=bTU4pw9oDzKEPzqzQF0qAbWxFXPPEm_w@HIDDEN> <m11q3sexrg.fsf@HIDDEN> <CALDnm514dgLVJ38Bw9505QnDGieB1dON8DmrH0Skv9vo-hkwxw@HIDDEN> <CALDnm53ApRju5VCTwZEj-eJn0kEXt0FdpF8a=SX-LYKwYAMBgQ@HIDDEN> <ierikwudag3.fsf@HIDDEN> <86ikwu53rr.fsf@HIDDEN> In-Reply-To: <86ikwu53rr.fsf@HIDDEN> From: =?UTF-8?B?Sm/Do28gVMOhdm9yYQ==?= <joaotavora@HIDDEN> Date: Thu, 25 Jul 2024 08:45:12 +0100 Message-ID: <CALDnm50Fd=KQXES_OZmOKnCi4FCzSzLFLuTG_gwy_8047Kgd1A@HIDDEN> Subject: Re: bug#69809: 30.0.50; flymake: error in process sentinel To: Eli Zaretskii <eliz@HIDDEN> Content-Type: multipart/alternative; boundary="000000000000d316b8061e0d93e7" X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 69809 Cc: gerd.moellmann@HIDDEN, Spencer Baugh <sbaugh@HIDDEN>, sbaugh@HIDDEN, me@HIDDEN, 69809 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) --000000000000d316b8061e0d93e7 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, Jul 25, 2024 at 8:28=E2=80=AFAM Eli Zaretskii <eliz@HIDDEN> wrote: > > From: Spencer Baugh <sbaugh@HIDDEN> > > Cc: Eshel Yaron <me@HIDDEN>, gerd.moellmann@HIDDEN, Eli > > Zaretskii <eliz@HIDDEN>, 69809 <at> debbugs.gnu.org, sbaugh@HIDDEN > > Date: Wed, 24 Jul 2024 12:25:00 -0400 > > > > > Spencer please have a look and push it if you agree. > > > > Yes, this seems good to me, thank you for the improved patch! > > > > I unfortunately don't have commit access, so perhaps someone else can > > install the patch. > > I tried installing the last patch posted by Jo=C3=A3o, but it failed to > apply, even with the -3 option and with options that ignore whitespace > changes. > > Jo=C3=A3o, please either install this on the emacs-30 branch or post an > updated patch that will apply cleanly. > I posted two patches (as attached .patch files) Maybe that's the issue. Not 100% what patches Spencer has tested or greenlighting. --000000000000d316b8061e0d93e7 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div dir=3D"ltr">On Thu, Jul 25, 2024 at 8:28=E2=80=AFAM E= li Zaretskii <<a href=3D"mailto:eliz@HIDDEN">eliz@HIDDEN</a>> wrote= :<br></div><div class=3D"gmail_quote"><blockquote class=3D"gmail_quote" sty= le=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);paddi= ng-left:1ex">> From: Spencer Baugh <<a href=3D"mailto:sbaugh@janestre= et.com" target=3D"_blank">sbaugh@HIDDEN</a>><br> > Cc: Eshel Yaron <<a href=3D"mailto:me@HIDDEN" target=3D"_bl= ank">me@HIDDEN</a>>,=C2=A0 <a href=3D"mailto:gerd.moellmann@gmai= l.com" target=3D"_blank">gerd.moellmann@HIDDEN</a>,=C2=A0 Eli<br> >=C2=A0 =C2=A0Zaretskii <<a href=3D"mailto:eliz@HIDDEN" target=3D"_b= lank">eliz@HIDDEN</a>>,=C2=A0 <a href=3D"mailto:69809 <at> debbugs.gnu.org" = target=3D"_blank">69809 <at> debbugs.gnu.org</a>,=C2=A0 <a href=3D"mailto:sbaugh= @catern.com" target=3D"_blank">sbaugh@HIDDEN</a><br> > Date: Wed, 24 Jul 2024 12:25:00 -0400<br> > <br> > >=C2=A0 Spencer please have a look and push it if you agree.<br> > <br> > Yes, this seems good to me, thank you for the improved patch!<br> > <br> > I unfortunately don't have commit access, so perhaps someone else = can<br> > install the patch.<br> <br> I tried installing the last patch posted by Jo=C3=A3o, but it failed to<br> apply, even with the -3 option and with options that ignore whitespace<br> changes.<br> <br> Jo=C3=A3o, please either install this on the emacs-30 branch or post an<br> updated patch that will apply cleanly.<br></blockquote><div><br></div><div>= I posted two patches (as attached .patch files) Maybe that's the issue.= =C2=A0=C2=A0</div><div>Not 100% what patches Spencer has tested or greenlig= hting.</div><div>=C2=A0</div></div></div> --000000000000d316b8061e0d93e7--
bug-gnu-emacs@HIDDEN
:bug#69809
; Package emacs
.
Full text available.Received: (at 69809) by debbugs.gnu.org; 25 Jul 2024 07:28:59 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jul 25 03:28:59 2024 Received: from localhost ([127.0.0.1]:35384 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1sWsuI-0005GC-QW for submit <at> debbugs.gnu.org; Thu, 25 Jul 2024 03:28:59 -0400 Received: from eggs.gnu.org ([209.51.188.92]:51634) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1sWsuH-0005Fx-3T for 69809 <at> debbugs.gnu.org; Thu, 25 Jul 2024 03:28:57 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1sWsu4-0005Pj-9p; Thu, 25 Jul 2024 03:28:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=t8c0gksB17AWA/tsnrrqAt4Dwq33QMcM0/J7jnTTazg=; b=OevpC00pb7+Pu3jSwM0B xEZjq1I+oR3nbn8ZxsTdrYV96/5jDXyjEI2YKHLuD2m3gXMU3Bpwgz+d1B3y/H/ljSKE2iRT7sBOI Qink+1X5j1TJNABX2+pdw9dbvqx0+lyn89GLML6FrkWBrJkgCLXH7karAx116TutFnQGF9AO932NP PMbI44kckWclYEmwJ7MTeTNtkU+A5AUGGeyudwX+cAleclYtniYl+rBa8Ebu1Y7BXBsCM8q6n/6QL gGcn3E9xbNSfoqODXjdnR1HgJ8JAlvgjI2aBV7qPwiWaIXtBdSWgq3EMxNKpYVAq0DHIu3d0OSjzX K60dGZa8IpsoLA==; Date: Thu, 25 Jul 2024 10:28:40 +0300 Message-Id: <86ikwu53rr.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: joaotavora@HIDDEN, Spencer Baugh <sbaugh@HIDDEN> In-Reply-To: <ierikwudag3.fsf@HIDDEN> (message from Spencer Baugh on Wed, 24 Jul 2024 12:25:00 -0400) Subject: Re: bug#69809: 30.0.50; flymake: error in process sentinel References: <m25xxonf7v.fsf@HIDDEN> <867chv3mtf.fsf@HIDDEN> <87le696o86.fsf@HIDDEN> <m234shdo7a.fsf@HIDDEN> <m1le28cldh.fsf@HIDDEN> <m1a5ioch7m.fsf@HIDDEN> <86v81bktv5.fsf@HIDDEN> <ierh6cpukpy.fsf@HIDDEN> <m1y160r1go.fsf@HIDDEN> <CALDnm51JAZCr0R4aYNHxpMBgPgDO7eUGVUD7rH=5sBpm89dxKw@HIDDEN> <CALDnm53o=oQnd73bki1Gz9A5Bfhr76eJQ=N24XvFCRy3KoDdAA@HIDDEN> <m1msmgjhcs.fsf@HIDDEN> <CALDnm53MPm9PDb5Xm=bTU4pw9oDzKEPzqzQF0qAbWxFXPPEm_w@HIDDEN> <m11q3sexrg.fsf@HIDDEN> <CALDnm514dgLVJ38Bw9505QnDGieB1dON8DmrH0Skv9vo-hkwxw@HIDDEN> <CALDnm53ApRju5VCTwZEj-eJn0kEXt0FdpF8a=SX-LYKwYAMBgQ@HIDDEN> <ierikwudag3.fsf@HIDDEN> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 69809 Cc: gerd.moellmann@HIDDEN, sbaugh@HIDDEN, me@HIDDEN, 69809 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Spencer Baugh <sbaugh@HIDDEN> > Cc: Eshel Yaron <me@HIDDEN>, gerd.moellmann@HIDDEN, Eli > Zaretskii <eliz@HIDDEN>, 69809 <at> debbugs.gnu.org, sbaugh@HIDDEN > Date: Wed, 24 Jul 2024 12:25:00 -0400 > > > Spencer please have a look and push it if you agree. > > Yes, this seems good to me, thank you for the improved patch! > > I unfortunately don't have commit access, so perhaps someone else can > install the patch. I tried installing the last patch posted by João, but it failed to apply, even with the -3 option and with options that ignore whitespace changes. João, please either install this on the emacs-30 branch or post an updated patch that will apply cleanly. Thanks.
bug-gnu-emacs@HIDDEN
:bug#69809
; Package emacs
.
Full text available.Received: (at 69809) by debbugs.gnu.org; 24 Jul 2024 16:25:14 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jul 24 12:25:14 2024 Received: from localhost ([127.0.0.1]:34360 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1sWeni-0004Ik-9Q for submit <at> debbugs.gnu.org; Wed, 24 Jul 2024 12:25:14 -0400 Received: from mxout5.mail.janestreet.com ([64.215.233.18]:52133) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <sbaugh@HIDDEN>) id 1sWeng-0004IT-ET for 69809 <at> debbugs.gnu.org; Wed, 24 Jul 2024 12:25:13 -0400 From: Spencer Baugh <sbaugh@HIDDEN> To: =?utf-8?B?Sm/Do28gVMOhdm9yYQ==?= <joaotavora@HIDDEN> Subject: Re: bug#69809: 30.0.50; flymake: error in process sentinel In-Reply-To: <CALDnm53ApRju5VCTwZEj-eJn0kEXt0FdpF8a=SX-LYKwYAMBgQ@HIDDEN> (=?utf-8?Q?=22Jo=C3=A3o_T=C3=A1vora=22's?= message of "Thu, 18 Jul 2024 00:54:20 +0100") References: <m25xxonf7v.fsf@HIDDEN> <867chv3mtf.fsf@HIDDEN> <87le696o86.fsf@HIDDEN> <m234shdo7a.fsf@HIDDEN> <m1le28cldh.fsf@HIDDEN> <m1a5ioch7m.fsf@HIDDEN> <86v81bktv5.fsf@HIDDEN> <ierh6cpukpy.fsf@HIDDEN> <m1y160r1go.fsf@HIDDEN> <CALDnm51JAZCr0R4aYNHxpMBgPgDO7eUGVUD7rH=5sBpm89dxKw@HIDDEN> <CALDnm53o=oQnd73bki1Gz9A5Bfhr76eJQ=N24XvFCRy3KoDdAA@HIDDEN> <m1msmgjhcs.fsf@HIDDEN> <CALDnm53MPm9PDb5Xm=bTU4pw9oDzKEPzqzQF0qAbWxFXPPEm_w@HIDDEN> <m11q3sexrg.fsf@HIDDEN> <CALDnm514dgLVJ38Bw9505QnDGieB1dON8DmrH0Skv9vo-hkwxw@HIDDEN> <CALDnm53ApRju5VCTwZEj-eJn0kEXt0FdpF8a=SX-LYKwYAMBgQ@HIDDEN> Date: Wed, 24 Jul 2024 12:25:00 -0400 Message-ID: <ierikwudag3.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=janestreet.com; s=waixah; t=1721838300; bh=EObQugENTBAco5tFvXrZn903tOGvcLpddSc7spJxXN0=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=XKzwzo9AZ9LjFWRdfe7Wf4LAf0f3FXSDEkAKluxt8XP9c5hojiDEp3vLageW/xeN8 /mhdTaDPomR+CVuJpLUOZkkjWvV2f7WchUNflKJBUNP/gCqASAVm12NnInFVntCaFK t5Uy5AfR5YBKr+VVtbgCvR+yLkIhIrRct7m3T8iqU7KAvwNF026zQGBFfCCFOCfDqH l7jyVW3+em18JL34x+GOkMg7Q6A1oWosc+hpfYtLTRyyGFs7uJ//DNM+WhvmeM3/to 5rRqcLtFukopqlhnFGZFyOWLFdl5vOlgA5iyDj7XwbCVCVsFcBggsXUghru2SWJo3e JNWaL7GotwufQ== X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 69809 Cc: gerd.moellmann@HIDDEN, sbaugh@HIDDEN, Eli Zaretskii <eliz@HIDDEN>, Eshel Yaron <me@HIDDEN>, 69809 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Jo=C3=A3o T=C3=A1vora <joaotavora@HIDDEN> writes: > On Wed, Jul 17, 2024 at 6:38=E2=80=AFPM Jo=C3=A3o T=C3=A1vora <joaotavora= @gmail.com> wrote: > >> > > 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. > > Indeed it did create some subtle problems with "foreign diagnostics". > I made a better patch, attached. It should fix the Eglot/flymake-cc > scenario and be a net improvement for Flymake. Also adds a new > Flymake test. > > Spencer please have a look and push it if you agree. Yes, this seems good to me, thank you for the improved patch! I unfortunately don't have commit access, so perhaps someone else can install the patch.
bug-gnu-emacs@HIDDEN
:bug#69809
; Package emacs
.
Full text available.Received: (at 69809) by debbugs.gnu.org; 18 Jul 2024 00:10:55 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jul 17 20:10:55 2024 Received: from localhost ([127.0.0.1]:36387 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1sUEjW-0000fD-QD for submit <at> debbugs.gnu.org; Wed, 17 Jul 2024 20:10:55 -0400 Received: from mail-oa1-f44.google.com ([209.85.160.44]:49452) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <joaotavora@HIDDEN>) id 1sUEjV-0000f1-Eu for 69809 <at> debbugs.gnu.org; Wed, 17 Jul 2024 20:10:54 -0400 Received: by mail-oa1-f44.google.com with SMTP id 586e51a60fabf-25e397c51b2so138685fac.3 for <69809 <at> debbugs.gnu.org>; Wed, 17 Jul 2024 17:10:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1721261384; x=1721866184; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=LJXMP92EBzZDETbPSlC8wXSQBDqtoM4CkihjJ6KLvvk=; b=mn0HOvPNTH7tMD/gkNUGoNpoYqNKmHug8clCW4SMAPZc/NHbmTQpqeJj8XYpHjiK/Z ljh63izRCCUoUwK/bscLzNS61ccTdQ070hjzWD3lwLIlJs6K13y2fRliD0S6FxtO93GD W52ewq3evkZw4lkHeX/M49JFIBgqmuKV0tEyD0wo0CTlz2EE0uw8ffJBekVdToLkAreN Kev2mKFFkO5DzlkF+dKfHLD0ZzQ6KiatKHQzDicl0l96V7+UWSEa6eMK8L+APxz1Sk8I fdyGZ9ss32gDBvNYeTvEmw8eN1M2MhP3Nb7z8MCi2SFpJTxKDXWUkwNLnXUcd3eXVd/5 ARDg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721261384; x=1721866184; h=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=LJXMP92EBzZDETbPSlC8wXSQBDqtoM4CkihjJ6KLvvk=; b=OWmZqftCdl2nNXoPYmiICyhMA96uobKoE3GAMot4fOFrkzo3a7wDSUGLiYgrqq7okr 95cAvFlZtbyjERD6fwjbjvelxvAvQjuhmj767vWlkDf1+x6LoU9UbllimkaBFc2wGCq+ GfLX1OXkvnLVlWrDGjp91O9D3WYZ3SUgVAwxi3J3iUFXfYV5LsxGunrpsSyZ0dtqNI+Y H+Fdrii6WV8ocxAG9SG3gFTJrQ463/inW//h3t1F0M0Ceuu9AMWfRjbTy5OY1Vruk6qL 0rf3wS/DxVCMFvOPGSB2p73amYLmGb86A5BaQjt7e+IbMyvewt6FDwc5Ax3PUi/I3ETq zSqg== X-Forwarded-Encrypted: i=1; AJvYcCWrOXkOYjMXmqrwHj5feUNggB/8zxmmCmwI1dD8zUd9wDLRwtwUoDEcg4snY9MWSbq1X+rFd2ccFHnD+4Pt65FWPzNVzp0= X-Gm-Message-State: AOJu0Yxj2nhT6VsFD4mB2njGQvw5HJtNf0cl2qhgfKgjVYjqcq185QXK 07xkkE0eg2IbBeTo6cC60Kp6MrMqhW4DMQU/muUn19cZsMcHX52qYBCWKCuUBT6ztBTf4dDTUyC 0arn84LeSFgBBKNyXIqtppbAYg/M= X-Google-Smtp-Source: AGHT+IGNBXCLYaOyAYxm3sZLcFraYqzR36dLGgY9Xu0pXH5QXIN0hIgsO4dQSOVK0HfsOeUv2XlUxSkm2PORPUkWpBs= X-Received: by 2002:a05:6870:2312:b0:25e:d90:fe78 with SMTP id 586e51a60fabf-260d913efeemr2975509fac.8.1721261384125; Wed, 17 Jul 2024 17:09:44 -0700 (PDT) MIME-Version: 1.0 References: <m25xxonf7v.fsf@HIDDEN> <867chv3mtf.fsf@HIDDEN> <87le696o86.fsf@HIDDEN> <m234shdo7a.fsf@HIDDEN> <m1le28cldh.fsf@HIDDEN> <m1a5ioch7m.fsf@HIDDEN> <86v81bktv5.fsf@HIDDEN> <ierh6cpukpy.fsf@HIDDEN> <m1y160r1go.fsf@HIDDEN> <CALDnm51JAZCr0R4aYNHxpMBgPgDO7eUGVUD7rH=5sBpm89dxKw@HIDDEN> <CALDnm53o=oQnd73bki1Gz9A5Bfhr76eJQ=N24XvFCRy3KoDdAA@HIDDEN> <m1msmgjhcs.fsf@HIDDEN> <CALDnm53MPm9PDb5Xm=bTU4pw9oDzKEPzqzQF0qAbWxFXPPEm_w@HIDDEN> <m11q3sexrg.fsf@HIDDEN> <CALDnm514dgLVJ38Bw9505QnDGieB1dON8DmrH0Skv9vo-hkwxw@HIDDEN> <CALDnm53ApRju5VCTwZEj-eJn0kEXt0FdpF8a=SX-LYKwYAMBgQ@HIDDEN> In-Reply-To: <CALDnm53ApRju5VCTwZEj-eJn0kEXt0FdpF8a=SX-LYKwYAMBgQ@HIDDEN> From: =?UTF-8?B?Sm/Do28gVMOhdm9yYQ==?= <joaotavora@HIDDEN> Date: Thu, 18 Jul 2024 01:10:49 +0100 Message-ID: <CALDnm50vT3Qbe+CAJ=ymHQFiSn69yW5GXUzKtor7vW9pj8CsBg@HIDDEN> Subject: Re: bug#69809: 30.0.50; flymake: error in process sentinel To: Eshel Yaron <me@HIDDEN> Content-Type: multipart/mixed; boundary="0000000000005de722061d7a659c" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 69809 Cc: gerd.moellmann@HIDDEN, Spencer Baugh <sbaugh@HIDDEN>, Eli Zaretskii <eliz@HIDDEN>, 69809 <at> debbugs.gnu.org, sbaugh@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) --0000000000005de722061d7a659c Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable And here's another more ambitious cleanup patch. Be more careful with this one, test it with as many Flymake backends as you can find. On Thu, Jul 18, 2024 at 12:54=E2=80=AFAM Jo=C3=A3o T=C3=A1vora <joaotavora@= gmail.com> wrote: > > On Wed, Jul 17, 2024 at 6:38=E2=80=AFPM Jo=C3=A3o T=C3=A1vora <joaotavora= @gmail.com> wrote: > > > > > 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. > > Indeed it did create some subtle problems with "foreign diagnostics". > I made a better patch, attached. It should fix the Eglot/flymake-cc > scenario and be a net improvement for Flymake. Also adds a new > Flymake test. > > Spencer please have a look and push it if you agree. > > Jo=C3=A3o --=20 Jo=C3=A3o T=C3=A1vora --0000000000005de722061d7a659c Content-Type: text/x-patch; charset="US-ASCII"; name="0001-Flymake-more-ambitious-cleanup-in-flymake-mode-bug-6.patch" Content-Disposition: attachment; filename="0001-Flymake-more-ambitious-cleanup-in-flymake-mode-bug-6.patch" Content-Transfer-Encoding: base64 Content-ID: <f_lyqim4aq0> X-Attachment-Id: f_lyqim4aq0 RnJvbSA2ZGVmOGJkNWJkMjIxZWQ0MDFjODQzYmI5YzcwMTRlZmI3OGVkMjhmIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiA9P1VURi04P3E/Sm89QzM9QTNvPTIwVD1DMz1BMXZvcmE/PSA8 am9hb3Rhdm9yYUBnbWF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yZW50LWJ1ZmZl ciBzb3VyY2UKKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIChtYXBjIChsYW1i ZGEgKGRpYWcpCisgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIChm bHltYWtlLS1oaWdobGlnaHQtbGluZSBkaWFnCisgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAnZm9yZWlnbikpCisgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBkaWFncykpKSkKKyAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgIChmbHltYWtlLS1zdGF0ZS1mb3JlaWduLWRpYWdzIHN0YXRl KSkpCisgICAgICAgICAgICAgICAgICAgZmx5bWFrZS0tc3RhdGUpKSkpKSkKKwogKGRlZnVuIGZs eW1ha2Utc3RhcnQgKCZvcHRpb25hbCBkZWZlcnJlZCBmb3JjZSkKICAgIlN0YXJ0IGEgc3ludGF4 IGNoZWNrIGZvciB0aGUgY3VycmVudCBidWZmZXIuCiBERUZFUlJFRCBpcyBhIGxpc3Qgb2Ygc3lt Ym9scyBkZXNpZ25hdGluZyBjb25kaXRpb25zIHRvIHdhaXQgZm9yCkBAIC0xMzMwLDcgKzEzNjEs OCBAQCBmbHltYWtlLXN0YXJ0CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBiYWNr ZW5kKSkKICAgICAgICAgICAgICAgICAgICAodAogICAgICAgICAgICAgICAgICAgICAoZmx5bWFr ZS0tcnVuLWJhY2tlbmQgYmFja2VuZCBiYWNrZW5kLWFyZ3MpKSkKLSAgICAgICAgICAgICAgICAg IG5pbCkpKSkpKSkpCisgICAgICAgICAgICAgICAgICBuaWwpKSkKKyAgICAgICAgICAgICAoZmx5 bWFrZS0taW1wb3J0LWZvcmVpZ24tZGlhZ25vc3RpY3MpKSkpKSkKIAogKGRlZnZhciBmbHltYWtl LW1vZGUtbW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GlhZ25vc3RpY3MiIGFuZCBwb2ludGVkIHRoZW0gaGVyZS4g IFdlIG11c3QgaGlnaGxpZ2h0IHRoZW0gaW4KLSAgICAgIDs7IHRoaXMgYnVmZmVyLCBpLmUuIGNy ZWF0ZSBvdmVybGF5cyBmb3IgdGhlbS4gIFRob3NlIG90aGVyCi0gICAgICA7OyBidWZmZXJzIGFu ZCBiYWNrZW5kcyBhcmUgc3RpbGwgcmVzcG9uc2libGUgZm9yIHRoZW0sIGkuZS4gdGhlCi0gICAg ICA7OyBjdXJyZW50IGJ1ZmZlciBkb2VzIG5vdCAib3duIiB0aGVzZSBmb3JlaWduIGRpYWdzLgot ICAgICAgKGRvbGlzdCAoYnVmZmVyIChidWZmZXItbGlzdCkpCi0gICAgICAgICh3aXRoLWN1cnJl bnQtYnVmZmVyIGJ1ZmZlcgotICAgICAgICAgICh3aGVuIGZseW1ha2UtbW9kZQotICAgICAgICAg ICAgKG1hcGhhc2ggKGxhbWJkYSAoX2JhY2tlbmQgc3RhdGUpCi0gICAgICAgICAgICAgICAgICAg ICAgIChtYXBoYXNoIChsYW1iZGEgKGZpbGUgZGlhZ3MpCi0gICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgKHdoZW4gKG9yIChlcSBmaWxlIHNvdXJjZSkKLSAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgKHN0cmluZz0gYmZuIChleHBhbmQtZmlsZS1uYW1l IGZpbGUpKSkKLSAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICh3aXRoLWN1cnJl bnQtYnVmZmVyIHNvdXJjZQotICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAo bWFwYyAobGFtYmRhIChkaWFnKQotICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgIChmbHltYWtlLS1oaWdobGlnaHQtbGluZSBkaWFnCi0gICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICdm b3JlaWduKSkKLSAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgZGlh Z3MpKSkpCi0gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIChmbHltYWtlLS1zdGF0ZS1m b3JlaWduLWRpYWdzIHN0YXRlKSkpCi0gICAgICAgICAgICAgICAgICAgICBmbHltYWtlLS1zdGF0 ZSkpKSkpKQorICAgICh3aGVuIGZseW1ha2Utc3RhcnQtb24tZmx5bWFrZS1tb2RlIChmbHltYWtl LXN0YXJ0IHQpKSkKIAogICAgOzsgVHVybmluZyB0aGUgbW9kZSBPRkYuCiAgICAodAotLSAKMi40 NS4yCgo= --0000000000005de722061d7a659c--
bug-gnu-emacs@HIDDEN
:bug#69809
; Package emacs
.
Full text available.Received: (at 69809) by debbugs.gnu.org; 17 Jul 2024 23:54:24 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jul 17 19:54:24 2024 Received: from localhost ([127.0.0.1]:36373 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1sUETX-0000Dd-K2 for submit <at> debbugs.gnu.org; Wed, 17 Jul 2024 19:54:24 -0400 Received: from mail-ot1-f42.google.com ([209.85.210.42]:55727) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <joaotavora@HIDDEN>) id 1sUETT-0000DP-G9 for 69809 <at> debbugs.gnu.org; Wed, 17 Jul 2024 19:54:22 -0400 Received: by mail-ot1-f42.google.com with SMTP id 46e09a7af769-704473c0698so110736a34.3 for <69809 <at> debbugs.gnu.org>; Wed, 17 Jul 2024 16:54:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1721260395; x=1721865195; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=8REeT/tRa8z10BbVwCcWuY0lGT1l0geRjwVRyfVI6t8=; b=E7gydIf6w9RWC/o898Yt3l/S5xKfWN3JxFGmaPFTtviiYUsyl+dcEe79Fu41eQz+Kt +MGjNEsvNZUumRBmNSS/qtmCtICG3x1eiM0fFaAowM5Luvp4wlBbkMraLkCu/byJnz+I pOpD4uCgTwWYRKGzqXysnA5AjSPOlGZNvYo+/HtS6AtKu7rEQp9UFwDAOlPZ9Ghe9287 uwqk1NUZhKgttG13Jw8eHqKdYhlXoaMGJ4fs7ZEBAru6NWWbKpni7Zt2zWIzx1FD4dn+ VbTba9E2nI9ziiPXlZ8OkHdRW0L6OKIprvgN30TniULciE4/s3sMYZKzVeghm+RjTuii F1MQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721260395; x=1721865195; h=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=8REeT/tRa8z10BbVwCcWuY0lGT1l0geRjwVRyfVI6t8=; b=JfqTWAO7cTRrL+d+YQd4k1ru7JW5lvJlKld1tLAyByHWcNpvLsuJc2K9fs2cAvnVjY MGKMjW4dAgwepVQV2KY2Aexa7/pUBy84+ArIGK0R5eYXB+gVl1nutg6QziN0N9u0HRj2 L243R1TqobZcZELd/1KdkxsYDio2vc3cYZ4UZtzsvtEE1sOSm2ZSczS4ba4bimgNQffL vZRzjiUzMICj5vQKbcCGmDxsfSxdgU7njSjog+EOz9OIzRvexDYwxujANt47zT3mvmvI c6qmzLRpSNOaBwS8O57aMuLBNl/TH2Wh/oEtKkMneER/rAQCua5V5y8/4zG1hSNJ/Mkt vvig== X-Forwarded-Encrypted: i=1; AJvYcCVYVuH2N6DfjYzYT7JkDvekBrnPd9b4+GbrLQdyOormGtt4YoSllRnEe18T2lO2US54shVtT2wn7uXSnZsdZrH1j+9aoQ4= X-Gm-Message-State: AOJu0YwK05JsI6B7c7UC0MHm/I53bUdQtHhxps9aroBv+eguiNpNS3tg stl5TimMwqkOZeQ7Nq5RPZeCUpPYCgPLED1mfq3wcIbYaOZz0/7i3px4O4VrzmYI/WUvtSwRrxP fFKPgESRWht2D8hw/GMyGHaXTfYs= X-Google-Smtp-Source: AGHT+IFXQCtIWen5LVpkf+eUG8bgDwY0KGLPvVbJ9x2vfabCPNQx2wkc58cP8YBjD5SPLo471wuKdBwC1R7Wx5lzxQI= X-Received: by 2002:a05:6870:b41d:b0:260:df8a:52bf with SMTP id 586e51a60fabf-260df8a5bbamr2311250fac.2.1721260395064; Wed, 17 Jul 2024 16:53:15 -0700 (PDT) MIME-Version: 1.0 References: <m25xxonf7v.fsf@HIDDEN> <867chv3mtf.fsf@HIDDEN> <87le696o86.fsf@HIDDEN> <m234shdo7a.fsf@HIDDEN> <m1le28cldh.fsf@HIDDEN> <m1a5ioch7m.fsf@HIDDEN> <86v81bktv5.fsf@HIDDEN> <ierh6cpukpy.fsf@HIDDEN> <m1y160r1go.fsf@HIDDEN> <CALDnm51JAZCr0R4aYNHxpMBgPgDO7eUGVUD7rH=5sBpm89dxKw@HIDDEN> <CALDnm53o=oQnd73bki1Gz9A5Bfhr76eJQ=N24XvFCRy3KoDdAA@HIDDEN> <m1msmgjhcs.fsf@HIDDEN> <CALDnm53MPm9PDb5Xm=bTU4pw9oDzKEPzqzQF0qAbWxFXPPEm_w@HIDDEN> <m11q3sexrg.fsf@HIDDEN> <CALDnm514dgLVJ38Bw9505QnDGieB1dON8DmrH0Skv9vo-hkwxw@HIDDEN> In-Reply-To: <CALDnm514dgLVJ38Bw9505QnDGieB1dON8DmrH0Skv9vo-hkwxw@HIDDEN> From: =?UTF-8?B?Sm/Do28gVMOhdm9yYQ==?= <joaotavora@HIDDEN> Date: Thu, 18 Jul 2024 00:54:20 +0100 Message-ID: <CALDnm53ApRju5VCTwZEj-eJn0kEXt0FdpF8a=SX-LYKwYAMBgQ@HIDDEN> Subject: Re: bug#69809: 30.0.50; flymake: error in process sentinel To: Eshel Yaron <me@HIDDEN> Content-Type: multipart/mixed; boundary="0000000000006a0f2e061d7a2a5d" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 69809 Cc: gerd.moellmann@HIDDEN, Spencer Baugh <sbaugh@HIDDEN>, Eli Zaretskii <eliz@HIDDEN>, 69809 <at> debbugs.gnu.org, sbaugh@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) --0000000000006a0f2e061d7a2a5d Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, Jul 17, 2024 at 6:38=E2=80=AFPM Jo=C3=A3o T=C3=A1vora <joaotavora@g= mail.com> wrote: > > > 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. Indeed it did create some subtle problems with "foreign diagnostics". I made a better patch, attached. It should fix the Eglot/flymake-cc scenario and be a net improvement for Flymake. Also adds a new Flymake test. Spencer please have a look and push it if you agree. Jo=C3=A3o --0000000000006a0f2e061d7a2a5d Content-Type: text/x-patch; charset="US-ASCII"; name="0001-Flymake-improve-idempotence-of-flymake-mode-bug-6980.patch" Content-Disposition: attachment; filename="0001-Flymake-improve-idempotence-of-flymake-mode-bug-6980.patch" Content-Transfer-Encoding: base64 Content-ID: <f_lyqi18rk0> X-Attachment-Id: f_lyqi18rk0 RnJvbSBiZWM1NmY4OTVjN2JjMzI4ZmM0OWRiMDRlYTcwMGNhZmNiYWQ4MzdjIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiA9P1VURi04P3E/Sm89QzM9QTNvPTIwVD1DMz1BMXZvcmE/PSA8 am9hb3Rhdm9yYUBnbWFpbC5jb20+CkRhdGU6IFRodSwgMTggSnVsIDIwMjQgMDA6NDU6MjAgKzAx MDAKU3ViamVjdDogW1BBVENIXSBGbHltYWtlOiBpbXByb3ZlIGlkZW1wb3RlbmNlIG9mIGZseW1h a2UtbW9kZSAoYnVnIzY5ODA5KQoKKiBsaXNwL3Byb2dtb2Rlcy9mbHltYWtlLmVsIChmbHltYWtl LW1vZGUpOiBEb24ndCBzbWFzaApmbHltYWtlLS1zdGF0ZS4gIEFkZCBzb21lIGNvbW1lbnRzLiAg Tm8gbmVlZCB0byBjaGVjayBmb3IKZmx5bWFrZS0tc3RhdGUgbmlsLgooZmx5bWFrZS0tcHJvamVj dC1kaWFnbm9zdGljcyk6IE5vIG5lZWQgdG8gY2hlY2sgZm9yCmZseW1ha2UtLXN0YXRlIG5pbC4K CiogdGVzdC9saXNwL3Byb2dtb2Rlcy9mbHltYWtlLXRlc3RzLmVsIChmb3JlaWduLWRpYWdub3N0 aWNzKTogTmV3CnRlc3QuCi0tLQogbGlzcC9wcm9nbW9kZXMvZmx5bWFrZS5lbCAgICAgICAgICAg IHwgMzQgKysrKysrKysrKysrKysrKystLS0tLS0tLS0tLQogdGVzdC9saXNwL3Byb2dtb2Rlcy9m bHltYWtlLXRlc3RzLmVsIHwgMjAgKysrKysrKysrKysrKysrKwogMiBmaWxlcyBjaGFuZ2VkLCA0 MSBpbnNlcnRpb25zKCspLCAxMyBkZWxldGlvbnMoLSkKCmRpZm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w cm9ibGVtYXRpYy1maWxlLmMiKQorICAgIChmbHltYWtlLXRlc3RzLS13aXRoLWZseW1ha2UKKyAg ICAgICAgKCJzb21lLXByb2JsZW1zLmgiKQorICAgICAgKHNlYXJjaC1mb3J3YXJkICJmcm9iIikK KyAgICAgIChiYWNrd2FyZC1jaGFyIDEpCisgICAgICAoc2hvdWxkIChlcSAnZmx5bWFrZS1ub3Rl IChmYWNlLWF0LXBvaW50KSkpCisgICAgICAobGV0ICgoZGlhZ3MgKGZseW1ha2UtZGlhZ25vc3Rp Y3MgKHBvaW50KSkpKQorICAgICAgICAoc2hvdWxkICg9IDEgKGxlbmd0aCBkaWFncykpKQorICAg ICAgICAoc2hvdWxkIChlcSA6bm90ZSAoZmx5bWFrZS1kaWFnbm9zdGljLXR5cGUgKGNhciBkaWFn cykpKSkKKyAgICAgICAgOzsgVGhpcyBub3RlIHdvdWxkIG5ldmVyIGJlZW4gaGVyZSBpZiBpdCB3 ZXJlbnQnIGEgZm9yZWlnbgorICAgICAgICA7OyBkaWFnbm9zdGljIHNvdXJjZWQgaW4gJ2Fub3Ro ZXItcHJvYmxlbWF0aWMtZmlsZS5jJy4KKyAgICAgICAgKHNob3VsZCAoc3RyaW5nLW1hdGNoICJw cmV2aW91cyBkZWNsYXJhdGlvbiIKKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIChmbHlt YWtlLWRpYWdub3N0aWMtdGV4dCAoY2FyIGRpYWdzKSkpKSkpKSkKKwogKGRlZm1hY3JvIGZseW1h a2UtdGVzdHMtLWFzc2VydC1zZXQgKHNldAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgIHNob3VsZAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHNob3Vs ZC1ub3QpCi0tIAoyLjQ1LjIKCg== --0000000000006a0f2e061d7a2a5d--
bug-gnu-emacs@HIDDEN
:bug#69809
; Package emacs
.
Full text available.Received: (at 69809) by debbugs.gnu.org; 17 Jul 2024 17:39:50 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jul 17 13:39:50 2024 Received: from localhost ([127.0.0.1]:36170 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1sU8d3-0007j0-Up for submit <at> debbugs.gnu.org; Wed, 17 Jul 2024 13:39:50 -0400 Received: from mail-oa1-f45.google.com ([209.85.160.45]:53713) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <joaotavora@HIDDEN>) id 1sU8d1-0007ik-IE for 69809 <at> debbugs.gnu.org; Wed, 17 Jul 2024 13:39:48 -0400 Received: by mail-oa1-f45.google.com with SMTP id 586e51a60fabf-25e3bc751daso10828fac.3 for <69809 <at> debbugs.gnu.org>; Wed, 17 Jul 2024 10:39:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1721237918; x=1721842718; 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=k6Iq8ntYV8VLv/VsXehkUdCfLNawZvjTAJLVmjk6gDc=; b=G1Ss8o443cQKsdNRoBSI8ycWf2Twd+QFY6ePY46DWZfVqwvos1KlsapIJ32cpWvNMn hRw6abz5/bdQRDF/MHr3Q95NK5CD5vx7OrvQhWmckMXmXhNjh0FbQkZvdR6b8tboFuD2 6SxnVooD5yTmRr9ypceiD1azq9/D6rcv+YZ/6U4rC9T7jaPi0kc5xix/OMpor2Z6/hUi 96Rt6aCIM0hnKLuEost1ugYef8I81GWnrFV0ii84zbrrYl92KaaTBKxHDNNw7GjXjpcq tcuN4g4feBgBYwSB+gLgBRyIdLueaixXD4mYsTMl7OEqpqj/ewjaFOLbBRvtdWz1LLlV bEuQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721237918; x=1721842718; 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=k6Iq8ntYV8VLv/VsXehkUdCfLNawZvjTAJLVmjk6gDc=; b=mDbUCYSCxx8L06gzht93gtWGuzn99qaTtvlt/J1JDe4jOOVQUj9/fYfiHOh8NUnobf ulDCZX1ADlEP+sl2UiEXxJqaL2C+9k6IIzY1b7QoxWAih/I9OQwivOxJaLTUAlVMjEK0 NIIWHbQBNq38uCVvgyakomAvzZTKziQitI7ZQHRvgD7dmkULaac1cn9KD61SwQ/GHdtQ 3Y7r0dX5JFp4fFFGWxiSZPXWn2/n8hasPnJBZkRxj+TOQJRGL4xVuMMd/5pQbXcDkB35 skqaaPoahEmngfIFzb0BcACyUk2to+T0Ulin6yzlC6DMDPZoqnxFS6BxgF2XM5jZo2rO aDrA== X-Forwarded-Encrypted: i=1; AJvYcCVcZMUOGy3ZAI0X/tJYryrEcjnIZTgD6RgYanZUz3cjFfZ6WxOqaVJuSA3zbESKK0xwznAEQx98l09noICX3IWi8bmLYew= X-Gm-Message-State: AOJu0YySpJmubcry5kUklOJWs2zWvEcFd7aWid/MxmK/KFybpTqPD+NI 0DGHFLC8zH7BJd76rfefnZCMps25ogjnWBR5cecjON56urAjWF8LRv04xHhG1x61hOFcKdqXu13 DKdgxEOtoz3AKmmmr3op+mxobUPs= X-Google-Smtp-Source: AGHT+IEE1DDKFq88gZdXmgBVImXgqCpe3PRmhaSDmPI1hfUW86/wYEwWEHt4MmFWLzN0bSckvDP0GwhJuinBEraiqgc= X-Received: by 2002:a05:6870:d202:b0:250:70bb:1a97 with SMTP id 586e51a60fabf-260d90778a2mr2028907fac.24.1721237918618; Wed, 17 Jul 2024 10:38:38 -0700 (PDT) MIME-Version: 1.0 References: <m25xxonf7v.fsf@HIDDEN> <867chv3mtf.fsf@HIDDEN> <87le696o86.fsf@HIDDEN> <m234shdo7a.fsf@HIDDEN> <m1le28cldh.fsf@HIDDEN> <m1a5ioch7m.fsf@HIDDEN> <86v81bktv5.fsf@HIDDEN> <ierh6cpukpy.fsf@HIDDEN> <m1y160r1go.fsf@HIDDEN> <CALDnm51JAZCr0R4aYNHxpMBgPgDO7eUGVUD7rH=5sBpm89dxKw@HIDDEN> <CALDnm53o=oQnd73bki1Gz9A5Bfhr76eJQ=N24XvFCRy3KoDdAA@HIDDEN> <m1msmgjhcs.fsf@HIDDEN> <CALDnm53MPm9PDb5Xm=bTU4pw9oDzKEPzqzQF0qAbWxFXPPEm_w@HIDDEN> <m11q3sexrg.fsf@HIDDEN> In-Reply-To: <m11q3sexrg.fsf@HIDDEN> From: =?UTF-8?B?Sm/Do28gVMOhdm9yYQ==?= <joaotavora@HIDDEN> Date: Wed, 17 Jul 2024 18:38:27 +0100 Message-ID: <CALDnm514dgLVJ38Bw9505QnDGieB1dON8DmrH0Skv9vo-hkwxw@HIDDEN> Subject: Re: bug#69809: 30.0.50; flymake: error in process sentinel To: Eshel Yaron <me@HIDDEN> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 69809 Cc: gerd.moellmann@HIDDEN, Spencer Baugh <sbaugh@HIDDEN>, Eli Zaretskii <eliz@HIDDEN>, 69809 <at> debbugs.gnu.org, sbaugh@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) On Wed, Jul 17, 2024 at 6:25=E2=80=AFPM Eshel Yaron <me@HIDDEN> wro= te: > > Jo=C3=A3o T=C3=A1vora <joaotavora@HIDDEN> writes: > > > On Wed, Jul 17, 2024 at 2:08=E2=80=AFPM Eshel Yaron <me@HIDDEN>= wrote: > >> > >> Hi Jo=C3=A3o, > >> > >> Jo=C3=A3o T=C3=A1vora <joaotavora@HIDDEN> writes: > >> > >> > On Wed, Jul 17, 2024 at 9:20=E2=80=AFAM Jo=C3=A3o T=C3=A1vora <joaot= avora@HIDDEN> wrote: > >> >> > >> >> On Wed, Jul 17, 2024 at 7:12=E2=80=AFAM 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 a= sk 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? > > 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 reconne= cts. Anyway the fix that someone proposed -- to refrain from issuing `flymake-mo= de` 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/clean= up in flymake.el. Maybe the reason for brutally resetting flymake--state does= n't apply anymore: it doesn't seem right at all. Jo=C3=A3o
bug-gnu-emacs@HIDDEN
:bug#69809
; Package emacs
.
Full text available.Received: (at 69809) by debbugs.gnu.org; 17 Jul 2024 17:25:50 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jul 17 13:25:50 2024 Received: from localhost ([127.0.0.1]:36152 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1sU8PV-0007Np-K3 for submit <at> debbugs.gnu.org; Wed, 17 Jul 2024 13:25:50 -0400 Received: from mail.eshelyaron.com ([107.175.124.16]:60540 helo=eshelyaron.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <me@HIDDEN>) id 1sU8PR-0007Nf-KX for 69809 <at> debbugs.gnu.org; Wed, 17 Jul 2024 13:25:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=eshelyaron.com; s=mail; t=1721237141; bh=PudmczCq17cSjO+tMY3ghA4l0rdPyvxeB+2eQ218cwQ=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=hqJDmEYt91TYt/wpGR3008Fb5RRZKn2+y+Pg986TV76n1N7Rpc+esLQBNUwgaUAzl KtWOmUzqgOKkcY/xFmFWyr0DpG+XP9kca8124T0KLTTbdc+wE3HxhsKU12TLuD1IV2 GDJJuwJBV6GduRYBkHq/H8Qgr15HiFNsSNMXX0Qx6dk6oBgEIoj5+scGpkSFYnMoky Jms6Fp5j2wPsncH4AWr4Ev6XePA4j3otY9vHxTwIYPbsDk5qmujBlJag5zSYoLRPtw Un+TtfnNp4zbOneVHfFjQ6fGaOW/he2EF5EJ6Kcz6tGi9KA1Xm9AVmBSutSUX0L33n 5gyoxjapkcuqw== From: Eshel Yaron <me@HIDDEN> To: =?utf-8?B?Sm/Do28gVMOhdm9yYQ==?= <joaotavora@HIDDEN> Subject: Re: bug#69809: 30.0.50; flymake: error in process sentinel In-Reply-To: <CALDnm53MPm9PDb5Xm=bTU4pw9oDzKEPzqzQF0qAbWxFXPPEm_w@HIDDEN> (=?utf-8?Q?=22Jo=C3=A3o_T=C3=A1vora=22's?= message of "Wed, 17 Jul 2024 14:44:11 +0100") References: <m25xxonf7v.fsf@HIDDEN> <867chv3mtf.fsf@HIDDEN> <87le696o86.fsf@HIDDEN> <m234shdo7a.fsf@HIDDEN> <m1le28cldh.fsf@HIDDEN> <m1a5ioch7m.fsf@HIDDEN> <86v81bktv5.fsf@HIDDEN> <ierh6cpukpy.fsf@HIDDEN> <m1y160r1go.fsf@HIDDEN> <CALDnm51JAZCr0R4aYNHxpMBgPgDO7eUGVUD7rH=5sBpm89dxKw@HIDDEN> <CALDnm53o=oQnd73bki1Gz9A5Bfhr76eJQ=N24XvFCRy3KoDdAA@HIDDEN> <m1msmgjhcs.fsf@HIDDEN> <CALDnm53MPm9PDb5Xm=bTU4pw9oDzKEPzqzQF0qAbWxFXPPEm_w@HIDDEN> Date: Wed, 17 Jul 2024 19:25:39 +0200 Message-ID: <m11q3sexrg.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 69809 Cc: gerd.moellmann@HIDDEN, Spencer Baugh <sbaugh@HIDDEN>, Eli Zaretskii <eliz@HIDDEN>, 69809 <at> debbugs.gnu.org, sbaugh@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Jo=C3=A3o T=C3=A1vora <joaotavora@HIDDEN> writes: > On Wed, Jul 17, 2024 at 2:08=E2=80=AFPM Eshel Yaron <me@HIDDEN> w= rote: >> >> Hi Jo=C3=A3o, >> >> Jo=C3=A3o T=C3=A1vora <joaotavora@HIDDEN> writes: >> >> > On Wed, Jul 17, 2024 at 9:20=E2=80=AFAM Jo=C3=A3o T=C3=A1vora <joaotav= ora@HIDDEN> wrote: >> >> >> >> On Wed, Jul 17, 2024 at 7:12=E2=80=AFAM Eshel Yaron <me@HIDDEN= m> 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? Yes, that's what I see. > Anyway, can you try this patch? That seems to work too :) > 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 "2= 6.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))
bug-gnu-emacs@HIDDEN
:bug#69809
; Package emacs
.
Full text available.Received: (at 69809) by debbugs.gnu.org; 17 Jul 2024 13:45:34 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jul 17 09:45:34 2024 Received: from localhost ([127.0.0.1]:35305 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1sU4yL-0001lW-Uu for submit <at> debbugs.gnu.org; Wed, 17 Jul 2024 09:45:34 -0400 Received: from mail-oa1-f50.google.com ([209.85.160.50]:47423) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <joaotavora@HIDDEN>) id 1sU4yJ-0001lF-C1 for 69809 <at> debbugs.gnu.org; Wed, 17 Jul 2024 09:45:32 -0400 Received: by mail-oa1-f50.google.com with SMTP id 586e51a60fabf-260e5b2dfb5so108423fac.3 for <69809 <at> 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) MIME-Version: 1.0 References: <m25xxonf7v.fsf@HIDDEN> <867chv3mtf.fsf@HIDDEN> <87le696o86.fsf@HIDDEN> <m234shdo7a.fsf@HIDDEN> <m1le28cldh.fsf@HIDDEN> <m1a5ioch7m.fsf@HIDDEN> <86v81bktv5.fsf@HIDDEN> <ierh6cpukpy.fsf@HIDDEN> <m1y160r1go.fsf@HIDDEN> <CALDnm51JAZCr0R4aYNHxpMBgPgDO7eUGVUD7rH=5sBpm89dxKw@HIDDEN> <CALDnm53o=oQnd73bki1Gz9A5Bfhr76eJQ=N24XvFCRy3KoDdAA@HIDDEN> <m1msmgjhcs.fsf@HIDDEN> In-Reply-To: <m1msmgjhcs.fsf@HIDDEN> From: =?UTF-8?B?Sm/Do28gVMOhdm9yYQ==?= <joaotavora@HIDDEN> Date: Wed, 17 Jul 2024 14:44:11 +0100 Message-ID: <CALDnm53MPm9PDb5Xm=bTU4pw9oDzKEPzqzQF0qAbWxFXPPEm_w@HIDDEN> Subject: Re: bug#69809: 30.0.50; flymake: error in process sentinel To: Eshel Yaron <me@HIDDEN> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 69809 Cc: gerd.moellmann@HIDDEN, Spencer Baugh <sbaugh@HIDDEN>, Eli Zaretskii <eliz@HIDDEN>, 69809 <at> debbugs.gnu.org, sbaugh@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) On Wed, Jul 17, 2024 at 2:08=E2=80=AFPM Eshel Yaron <me@HIDDEN> wro= te: > > Hi Jo=C3=A3o, > > Jo=C3=A3o T=C3=A1vora <joaotavora@HIDDEN> writes: > > > On Wed, Jul 17, 2024 at 9:20=E2=80=AFAM Jo=C3=A3o T=C3=A1vora <joaotavo= ra@HIDDEN> wrote: > >> > >> On Wed, Jul 17, 2024 at 7:12=E2=80=AFAM Eshel Yaron <me@HIDDEN= > 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))
bug-gnu-emacs@HIDDEN
:bug#69809
; Package emacs
.
Full text available.Received: (at 69809) by debbugs.gnu.org; 17 Jul 2024 13:09:01 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jul 17 09:09:00 2024 Received: from localhost ([127.0.0.1]:35258 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1sU4Oy-0000en-4e for submit <at> debbugs.gnu.org; Wed, 17 Jul 2024 09:09:00 -0400 Received: from mail.eshelyaron.com ([107.175.124.16]:60824 helo=eshelyaron.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <me@HIDDEN>) id 1sU4Ov-0000ef-UR for 69809 <at> debbugs.gnu.org; Wed, 17 Jul 2024 09:08:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=eshelyaron.com; s=mail; t=1721221734; bh=OIUOpvz6v8C2gQL/mnTRAV9p4bmmBZeLWM4LAGHeZOs=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=RoBiqMYJAQrghg3xq8eBaxeebR5QUx3d1KXw21SuLcanrp4j+HGU70PXKBE6QhkfB /KoiPhwxrmCbnYgTCUtaPXib8ipZu5SBBTJP8tajvw83NQBGY0R00hpadTEMohIjgR ODubMvOPJwQkkBqqKIsv5gy29PJwPQ3Oi1D2On77Cg2bNv/24qvaSshKcRj483OuBc x015ugUG5EdkOWDM0De8KPC5g10vf+H6j2yVD8Z7CDxFuShgsGopfItive/+t8Evlq Z8aLR407aG2et6KftM/ILhA2nluFVN4cJluw/odSIn6hFtRkSyvqkOEYurMPrfyI97 m86nnS32J8Img== From: Eshel Yaron <me@HIDDEN> To: =?utf-8?B?Sm/Do28gVMOhdm9yYQ==?= <joaotavora@HIDDEN> Subject: Re: bug#69809: 30.0.50; flymake: error in process sentinel In-Reply-To: <CALDnm53o=oQnd73bki1Gz9A5Bfhr76eJQ=N24XvFCRy3KoDdAA@HIDDEN> (=?utf-8?Q?=22Jo=C3=A3o_T=C3=A1vora=22's?= message of "Wed, 17 Jul 2024 10:07:30 +0100") References: <m25xxonf7v.fsf@HIDDEN> <867chv3mtf.fsf@HIDDEN> <87le696o86.fsf@HIDDEN> <m234shdo7a.fsf@HIDDEN> <m1le28cldh.fsf@HIDDEN> <m1a5ioch7m.fsf@HIDDEN> <86v81bktv5.fsf@HIDDEN> <ierh6cpukpy.fsf@HIDDEN> <m1y160r1go.fsf@HIDDEN> <CALDnm51JAZCr0R4aYNHxpMBgPgDO7eUGVUD7rH=5sBpm89dxKw@HIDDEN> <CALDnm53o=oQnd73bki1Gz9A5Bfhr76eJQ=N24XvFCRy3KoDdAA@HIDDEN> Date: Wed, 17 Jul 2024 15:08:51 +0200 Message-ID: <m1msmgjhcs.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 69809 Cc: gerd.moellmann@HIDDEN, Spencer Baugh <sbaugh@HIDDEN>, Eli Zaretskii <eliz@HIDDEN>, 69809 <at> debbugs.gnu.org, sbaugh@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Hi Jo=C3=A3o, Jo=C3=A3o T=C3=A1vora <joaotavora@HIDDEN> writes: > On Wed, Jul 17, 2024 at 9:20=E2=80=AFAM Jo=C3=A3o T=C3=A1vora <joaotavora= @gmail.com> wrote: >> >> On Wed, Jul 17, 2024 at 7:12=E2=80=AFAM Eshel Yaron <me@HIDDEN> = 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): --8<---------------cut here---------------start------------->8--- Debugger entered--Lisp error: (error "Can=E2=80=99t find state for flymake-= cc in =E2=80=98flymake--state=E2=80=99") signal(error ("Can=E2=80=99t find state for flymake-cc in =E2=80=98flymak= e--state=E2=80=99")) error("Can't find state for %s in `flymake--state'" flymake-cc) (or (gethash backend flymake--state) (error "Can't find state for %s in `= flymake--state'" backend)) (let ((state (or (gethash backend flymake--state) (error "Can't find stat= e for %s in `flymake--state'" backend))) expected-token) (cond ((null state= ) (flymake-error "Unexpected report from unknown backend %s" backend)) ((le= t* ((cl-x state)) (progn (or (let* ((cl-x cl-x)) (progn (and (memq (type-of= cl-x) cl-struct-flymake--state-tags) t))) (signal 'wrong-type-argument (li= st 'flymake--state cl-x))) (aref cl-x 3))) (flymake-error "Unexpected repor= t from disabled backend %s" backend)) ((progn (setq expected-token (let* ((= cl-x state)) (progn (or (let* ((cl-x cl-x)) (progn (and (memq (type-of cl-x= ) cl-struct-flymake--state-tags) t))) (signal 'wrong-type-argument (list 'f= lymake--state cl-x))) (aref cl-x 1)))) (null expected-token)) (flymake-erro= r "Unexpected report from stopped backend %s" backend)) ((not (or (eq expec= ted-token token) force)) (flymake-error "Obsolete report from backend %s wi= th explanation %s" backend explanation)) ((eq :panic report-action) (flymak= e--disable-backend backend explanation)) ((not (listp report-action)) (flym= ake--disable-backend backend (format "Unknown action %S" report-action)) (f= lymake-error "Expected report, but got unknown key %s" report-action)) (t (= flymake--publish-diagnostics report-action :backend backend :state state :r= egion region) (if flymake-check-start-time (progn (flymake--log-1 :debug 'f= lymake "backend %s reported %d diagnostics in %.2f second(s)" backend (leng= th report-action) (float-time (time-since flymake-check-start-time))))))) (= let* ((cl-x state)) (or (let* ((cl-x cl-x)) (progn (and (memq (type-of cl-x= ) cl-struct-flymake--state-tags) t))) (signal 'wrong-type-argument (list 'f= lymake--state cl-x))) (let* ((v cl-x)) (aset v 2 t))) (if (and flymake-show= -diagnostics-at-end-of-line (not (cl-set-difference (flymake-running-backen= ds) (flymake-reporting-backends)))) (progn (flymake--update-eol-overlays)))= (flymake--update-diagnostics-listings (current-buffer))) (let* ((explanation (car (cdr (plist-member --cl-rest-- ':explanation))))= (force (car (cdr (plist-member --cl-rest-- ':force)))) (region (car (cdr (= plist-member --cl-rest-- ':region))))) (let ((state (or (gethash backend fl= ymake--state) (error "Can't find state for %s in `flymake--state'" backend)= )) expected-token) (cond ((null state) (flymake-error "Unexpected report fr= om unknown backend %s" backend)) ((let* ((cl-x state)) (progn (or (let* ((c= l-x cl-x)) (progn (and (memq (type-of cl-x) cl-struct-flymake--state-tags) = t))) (signal 'wrong-type-argument (list 'flymake--state cl-x))) (aref cl-x = 3))) (flymake-error "Unexpected report from disabled backend %s" backend)) = ((progn (setq expected-token (let* ((cl-x state)) (progn (or (let* ((cl-x c= l-x)) (progn (and (memq (type-of cl-x) cl-struct-flymake--state-tags) t))) = (signal 'wrong-type-argument (list 'flymake--state cl-x))) (aref cl-x 1))))= (null expected-token)) (flymake-error "Unexpected report from stopped back= end %s" backend)) ((not (or (eq expected-token token) force)) (flymake-erro= r "Obsolete report from backend %s with explanation %s" backend explanation= )) ((eq :panic report-action) (flymake--disable-backend backend explanation= )) ((not (listp report-action)) (flymake--disable-backend backend (format "= Unknown action %S" report-action)) (flymake-error "Expected report, but got= unknown key %s" report-action)) (t (flymake--publish-diagnostics report-ac= tion :backend backend :state state :region region) (if flymake-check-start-= time (progn (flymake--log-1 :debug 'flymake "backend %s reported %d diagnos= tics in %.2f second(s)" backend (length report-action) (float-time (time-si= nce flymake-check-start-time))))))) (let* ((cl-x state)) (or (let* ((cl-x c= l-x)) (progn (and (memq (type-of cl-x) cl-struct-flymake--state-tags) t))) = (signal 'wrong-type-argument (list 'flymake--state cl-x))) (let* ((v cl-x))= (aset v 2 t))) (if (and flymake-show-diagnostics-at-end-of-line (not (cl-s= et-difference (flymake-running-backends) (flymake-reporting-backends)))) (p= rogn (flymake--update-eol-overlays))) (flymake--update-diagnostics-listings= (current-buffer)))) flymake--handle-report(flymake-cc backend-token6 nil) apply(flymake--handle-report flymake-cc backend-token6 nil) (save-current-buffer (set-buffer buffer) (apply #'flymake--handle-report = backend token args)) (progn (save-current-buffer (set-buffer buffer) (apply #'flymake--handle-= report backend token args))) (if (buffer-live-p buffer) (progn (save-current-buffer (set-buffer buffer= ) (apply #'flymake--handle-report backend token args)))) #f(lambda (&rest args) [(buffer #<buffer search.c>) (token backend-token6= ) (backend flymake-cc)] (if (buffer-live-p buffer) (progn (save-current-buf= fer (set-buffer buffer) (apply #'flymake--handle-report backend token args)= ))))(nil) funcall(#f(lambda (&rest args) [(buffer #<buffer search.c>) (token backen= d-token6) (backend flymake-cc)] (if (buffer-live-p buffer) (progn (save-cur= rent-buffer (set-buffer buffer) (apply #'flymake--handle-report backend tok= en args))))) nil) (if (or diags (=3D 0 (process-exit-status p))) (funcall report-fn diags) = (funcall report-fn :panic :explanation (buffer-substring (point-min) (progn= (goto-char (point-min)) (line-end-position))))) (let ((diags (flymake-cc--make-diagnostics source))) (if (or diags (=3D 0= (process-exit-status p))) (funcall report-fn diags) (funcall report-fn :pa= nic :explanation (buffer-substring (point-min) (progn (goto-char (point-min= )) (line-end-position)))))) (save-current-buffer (set-buffer (process-buffer p)) (goto-char (point-mi= n)) (let ((diags (flymake-cc--make-diagnostics source))) (if (or diags (=3D= 0 (process-exit-status p))) (funcall report-fn diags) (funcall report-fn := panic :explanation (buffer-substring (point-min) (progn (goto-char (point-m= in)) (line-end-position))))))) (progn (save-current-buffer (set-buffer (process-buffer p)) (goto-char (p= oint-min)) (let ((diags (flymake-cc--make-diagnostics source))) (if (or dia= gs (=3D 0 (process-exit-status p))) (funcall report-fn diags) (funcall repo= rt-fn :panic :explanation (buffer-substring (point-min) (progn (goto-char (= point-min)) (line-end-position)))))))) (if (save-current-buffer (set-buffer source) (eq p flymake-cc--proc)) (pr= ogn (save-current-buffer (set-buffer (process-buffer p)) (goto-char (point-= min)) (let ((diags (flymake-cc--make-diagnostics source))) (if (or diags (= =3D 0 (process-exit-status p))) (funcall report-fn diags) (funcall report-f= n :panic :explanation (buffer-substring (point-min) (progn (goto-char (poin= t-min)) (line-end-position))))))))) (progn (if (save-current-buffer (set-buffer source) (eq p flymake-cc--pro= c)) (progn (save-current-buffer (set-buffer (process-buffer p)) (goto-char = (point-min)) (let ((diags (flymake-cc--make-diagnostics source))) (if (or d= iags (=3D 0 (process-exit-status p))) (funcall report-fn diags) (funcall re= port-fn :panic :explanation (buffer-substring (point-min) (progn (goto-char= (point-min)) (line-end-position)))))))))) (if (eq 'exit (process-status p)) (progn (if (save-current-buffer (set-bu= ffer source) (eq p flymake-cc--proc)) (progn (save-current-buffer (set-buff= er (process-buffer p)) (goto-char (point-min)) (let ((diags (flymake-cc--ma= ke-diagnostics source))) (if (or diags (=3D 0 (process-exit-status p))) (fu= ncall report-fn diags) (funcall report-fn :panic :explanation (buffer-subst= ring (point-min) (progn (goto-char (point-min)) (line-end-position)))))))))= )) (unwind-protect (if (eq 'exit (process-status p)) (progn (if (save-curren= t-buffer (set-buffer source) (eq p flymake-cc--proc)) (progn (save-current-= buffer (set-buffer (process-buffer p)) (goto-char (point-min)) (let ((diags= (flymake-cc--make-diagnostics source))) (if (or diags (=3D 0 (process-exit= -status p))) (funcall report-fn diags) (funcall report-fn :panic :explanati= on (buffer-substring (point-min) (progn (goto-char (point-min)) (line-end-p= osition))))))))))) (if (process-live-p p) nil (kill-buffer (process-buffer = p)))) #f(lambda (p _ev) [(source #<buffer search.c>) (report-fn #f(lambda (&res= t args) [(buffer #<buffer search.c>) (token backend-token6) (backend flymak= e-cc)] (if (buffer-live-p buffer) (progn (save-current-buffer (set-buffer b= uffer) (apply #'flymake--handle-report backend token args))))))] (unwind-pr= otect (if (eq 'exit (process-status p)) (progn (if (save-current-buffer (se= t-buffer source) (eq p flymake-cc--proc)) (progn (save-current-buffer (set-= buffer (process-buffer p)) (goto-char (point-min)) (let ((diags (flymake-cc= --make-diagnostics source))) (if (or diags (=3D 0 (process-exit-status p)))= (funcall report-fn diags) (funcall report-fn :panic :explanation (buffer-s= ubstring (point-min) (progn (goto-char (point-min)) (line-end-position)))))= )))))) (if (process-live-p p) nil (kill-buffer (process-buffer p)))))(#<pro= cess gcc-flymake> "finished\n") --8<---------------cut here---------------end--------------->8---
bug-gnu-emacs@HIDDEN
:bug#69809
; Package emacs
.
Full text available.Received: (at 69809) by debbugs.gnu.org; 17 Jul 2024 09:08:54 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jul 17 05:08:54 2024 Received: from localhost ([127.0.0.1]:35076 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1sU0eb-0000GR-Na for submit <at> debbugs.gnu.org; Wed, 17 Jul 2024 05:08:53 -0400 Received: from mail-oa1-f47.google.com ([209.85.160.47]:57396) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <joaotavora@HIDDEN>) id 1sU0eZ-0000GB-73 for 69809 <at> debbugs.gnu.org; Wed, 17 Jul 2024 05:08:52 -0400 Received: by mail-oa1-f47.google.com with SMTP id 586e51a60fabf-25e04a7d9f1so3156197fac.2 for <69809 <at> debbugs.gnu.org>; Wed, 17 Jul 2024 02:08:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1721207261; x=1721812061; 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=meRYSQIKvBuQuoyyHdljooOxDBIoAPwGs3QaeI2O1B0=; b=I8d5GiEnNwpIcZ9sK0yucF6B9k7KNF09Ab+cW143GZ3W0U8WwRiYxs/lVAdlP1Y5IS 6Y+2AdJ81TE5S2ojdsWxiKgxV6duTUAnH5FtOPhnSx7aCx/YwDE8TaylwT0QiLVYuV1F jN2ZAwVoVmJ2ROE7sdoSfn/kzuEA8wiNXj85k//bV1tWcEHXl8Fgn7yL+lrXVnNAxFcD Tptwr4s4K7PkQrJ90Wl66gMi5gMiPjjQOYPp0kENMOCOVqFHaQrMLBUj3cih5GAn3W1s xQiVctzF7TX+vcqu4aY9vxLCatbMxxVFK8ADfcU8TcqUUGYo2fV92jv5b8NV6KeLFtUm J5Gg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721207261; x=1721812061; 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=meRYSQIKvBuQuoyyHdljooOxDBIoAPwGs3QaeI2O1B0=; b=Q3vhdORdC4UF3WbW/efbvTDdwTSOsbf7EKh0aSn2XWJGwkWcbXieYLWAOAMdlJpDa5 qRMTl/k/MaWUTRxMGlLK/G3zrPV8UN/eynmjEtxJuwioRgAoF/QaJv1t5DXIK8TmW3kE sNenq+AkIMTkQy4/QHQ57VcGHfHAhZr2bChCVAuGsfM0JdxnqWGZdK4cChYLlHHu1vXi Wq9LWE3SoLYdQDNT/uvRA+IfF5nh3dBNYt/suG+Nd5Wn/xBKyO5BBATI7SaWnS4OiSjt l5RUf7nFl28Q0qZXFfn2aPEtCxN5MekkCDTmEceNd4afXuXXOpMn1USbCtzv9XYq1InX sECA== X-Forwarded-Encrypted: i=1; AJvYcCW9eU0f1EEjWH7yIdC8Kl4nBMLIkaxv6S8byS5N/AKemP/hdKgpO7Zqt4TydcMvuBIfAzSPvhRf0miQJUkbwk8GDSLb7N4= X-Gm-Message-State: AOJu0YzalvmpF5MV0eD2BFSUZr4vOwpQO09GiTe/QgE9rVMpdZyMKX0w B99yBk9saP19+ldjmbS5q+nNxZj1nlLF3iFQ+yOwk4mnf6L8hHQZKnI9HHfJolM0XyRx3v7HFzw Bykaf7+GEjLxpTs5nOtKX/CtD6GU= X-Google-Smtp-Source: AGHT+IFeU7aXf4umXABC6swQrMbWcaV3K561kKlSIiAAfuZavSjgQb51LDBAyiPkRrhN6sgiYD/Hp4kWoYwQAr/UgnY= X-Received: by 2002:a05:6870:5492:b0:254:b74e:d654 with SMTP id 586e51a60fabf-260d91abf12mr819914fac.22.1721207261336; Wed, 17 Jul 2024 02:07:41 -0700 (PDT) MIME-Version: 1.0 References: <m25xxonf7v.fsf@HIDDEN> <867chv3mtf.fsf@HIDDEN> <87le696o86.fsf@HIDDEN> <m234shdo7a.fsf@HIDDEN> <m1le28cldh.fsf@HIDDEN> <m1a5ioch7m.fsf@HIDDEN> <86v81bktv5.fsf@HIDDEN> <ierh6cpukpy.fsf@HIDDEN> <m1y160r1go.fsf@HIDDEN> <CALDnm51JAZCr0R4aYNHxpMBgPgDO7eUGVUD7rH=5sBpm89dxKw@HIDDEN> In-Reply-To: <CALDnm51JAZCr0R4aYNHxpMBgPgDO7eUGVUD7rH=5sBpm89dxKw@HIDDEN> From: =?UTF-8?B?Sm/Do28gVMOhdm9yYQ==?= <joaotavora@HIDDEN> Date: Wed, 17 Jul 2024 10:07:30 +0100 Message-ID: <CALDnm53o=oQnd73bki1Gz9A5Bfhr76eJQ=N24XvFCRy3KoDdAA@HIDDEN> Subject: Re: bug#69809: 30.0.50; flymake: error in process sentinel To: Eshel Yaron <me@HIDDEN> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 69809 Cc: gerd.moellmann@HIDDEN, Spencer Baugh <sbaugh@HIDDEN>, Eli Zaretskii <eliz@HIDDEN>, 69809 <at> debbugs.gnu.org, sbaugh@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) On Wed, Jul 17, 2024 at 9:20=E2=80=AFAM Jo=C3=A3o T=C3=A1vora <joaotavora@g= mail.com> wrote: > > On Wed, Jul 17, 2024 at 7:12=E2=80=AFAM Eshel Yaron <me@HIDDEN> w= rote: > > > > 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? There's also some conjecture about interference related to eglot-ensure. Is it_only_ related to `eglot-ensure`? How? This part of Eglot is extremely delicate. I spent many hours making sure the checks start only when they should, results of previous checks are properly erased, etc. This is because the Eglot Flymake backend doesn't real work like other backends in that it cannot issue an order to the LSP server (at least in most servers it can't) to provide diagnostic= s. So I need to understand the problem and its impact in detail. Jo=C3=A3o
bug-gnu-emacs@HIDDEN
:bug#69809
; Package emacs
.
Full text available.Received: (at 69809) by debbugs.gnu.org; 17 Jul 2024 08:22:03 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jul 17 04:22:03 2024 Received: from localhost ([127.0.0.1]:35030 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1sTzvG-0007Yg-Rb for submit <at> debbugs.gnu.org; Wed, 17 Jul 2024 04:22:03 -0400 Received: from mail-oa1-f48.google.com ([209.85.160.48]:57619) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <joaotavora@HIDDEN>) id 1sTzvE-0007Y9-8Q for 69809 <at> debbugs.gnu.org; Wed, 17 Jul 2024 04:22:00 -0400 Received: by mail-oa1-f48.google.com with SMTP id 586e51a60fabf-260e3e295a7so3552fac.3 for <69809 <at> debbugs.gnu.org>; Wed, 17 Jul 2024 01:21:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1721204451; x=1721809251; 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=Lh7HtXUriMYNSTQJoutwjgzs9oo7k6Jo0yPM/CCVUrM=; b=NNfXJP9Z1Pv8vzhO9mnUKP/i8BGxXSkJdgyvNnf3JLzSxgXuVdw4SOglX/nolSt2jD TjdVnf0j6/vzxL3sTrE1U3rm2ejJxOt3qwygV5h8JQPzU9HoyjvcZFjBbOo72DekgxHL Vvhs9pw4NjGuF2DLGJ8i9Qcw8ByzqrTmPvC8y68tXtSF3WlFT2x1mMWxFgCxQ2Ze5ZuV +pIg7ezWZSNK6ad1Xxlq5isYHpPrlJVDx5MzCnSZH16p2gU7k6TeEQ7h6R2S6/GSDzHh /eazFGTSpAEQwTLXoYdVJ8gssUlTzOegHIR2KON9A760JNtJ5JLWC/BKPPjOQu25qsb1 7yYA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721204451; x=1721809251; 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=Lh7HtXUriMYNSTQJoutwjgzs9oo7k6Jo0yPM/CCVUrM=; b=MimGdXUppJ0MSYedHKHJiMH8289KpiuYDTS5bOfuvRXb3p07NuNNRZN6J30rjBSP5A LndVlzUsE5nj9lq3ipCrkBxEHtN0IpBSCAbwv0/mE7RKEadlQn3r4McN0Gc+IOfQ1Wrg t44PE83i8CecA+aB9dI3Kz8ebjypSv7WIx7hFG+dQbKwsaE/N1TwSGMhjNrIfYnsNU5T YADOzDC0nIOLl+7VVcb/is8DIWcOi8d2W78whJvzsusWfSK48C01FM+LJ5lDOkpNRrb0 9Qvy+aC2OU1YlIAl3ha7s9ySPvdpv6eGt/N4xzn9jV89iVFyi/Fr0TrdQzo1A8QRiUWa 0dQg== X-Forwarded-Encrypted: i=1; AJvYcCWypitUWjDm/HoZcASwr8G5sNL1ZByhL9QkAd2C4dyaKvGQGV69w2EC4M4o6NyGIQRN3enheX8/QaIws4iCDeh7rM3CEpM= X-Gm-Message-State: AOJu0YxW+cTarXEMSixrgIgAE22Y4gvQSvHUg3eR7g78gJR5A9lsr3kg MCCPNSt2yMJ8SluC31uvRyOPNQNTcXNGDDC2CYDVOA/L+6ueSYXVytD20TCPWUaFgoAExvO7lWG +2lCkuwi1qs82EWiQ/y+mQwafIGs= X-Google-Smtp-Source: AGHT+IGExspEYFTU4hfsdrgrIGOLM1cqMv64hHJa7e/n897a57bCnVtozRTd8ThdMWeVPBtjTEmOTx/8iRYSzVocFxw= X-Received: by 2002:a05:6871:5806:b0:254:7f9f:3f21 with SMTP id 586e51a60fabf-260d92269b9mr780776fac.27.1721204451128; Wed, 17 Jul 2024 01:20:51 -0700 (PDT) MIME-Version: 1.0 References: <m25xxonf7v.fsf@HIDDEN> <867chv3mtf.fsf@HIDDEN> <87le696o86.fsf@HIDDEN> <m234shdo7a.fsf@HIDDEN> <m1le28cldh.fsf@HIDDEN> <m1a5ioch7m.fsf@HIDDEN> <86v81bktv5.fsf@HIDDEN> <ierh6cpukpy.fsf@HIDDEN> <m1y160r1go.fsf@HIDDEN> In-Reply-To: <m1y160r1go.fsf@HIDDEN> From: =?UTF-8?B?Sm/Do28gVMOhdm9yYQ==?= <joaotavora@HIDDEN> Date: Wed, 17 Jul 2024 09:20:40 +0100 Message-ID: <CALDnm51JAZCr0R4aYNHxpMBgPgDO7eUGVUD7rH=5sBpm89dxKw@HIDDEN> Subject: Re: bug#69809: 30.0.50; flymake: error in process sentinel To: Eshel Yaron <me@HIDDEN> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 69809 Cc: gerd.moellmann@HIDDEN, Spencer Baugh <sbaugh@HIDDEN>, Eli Zaretskii <eliz@HIDDEN>, 69809 <at> debbugs.gnu.org, sbaugh@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) On Wed, Jul 17, 2024 at 7:12=E2=80=AFAM Eshel Yaron <me@HIDDEN> wro= te: > > 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. Jo=C3=A3o
bug-gnu-emacs@HIDDEN
:bug#69809
; Package emacs
.
Full text available.Received: (at 69809) by debbugs.gnu.org; 17 Jul 2024 06:12:49 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jul 17 02:12:49 2024 Received: from localhost ([127.0.0.1]:34924 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1sTxuD-00048I-9f for submit <at> debbugs.gnu.org; Wed, 17 Jul 2024 02:12:49 -0400 Received: from mail.eshelyaron.com ([107.175.124.16]:54702 helo=eshelyaron.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <me@HIDDEN>) id 1sTxuA-000489-Cs for 69809 <at> debbugs.gnu.org; Wed, 17 Jul 2024 02:12:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=eshelyaron.com; s=mail; t=1721196762; bh=4gBtRo57xh7RsOAFTyA11FZ/tv7v1zRCJZfHDTmeoD4=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=qL5NqIJKLuS9DmAvFRHZ9bEofgYczY9SUbrRpt3x9UX3oST2hpFFn/4v5tQU9QO5U YvWYcwpOqkCkj/S2Ep7PGy5FudK0BLmgqq2SD/PhF8bmI07nRi8ngMlWrAU8n6OCyY McrUgFdbTdN0m9Aeopn/9lKl/ZlRZw420WYXDzzr2t67gJbb9sBU/kGLQm6BfqacmH fbBCZWPlZldRMwFCW7lm9oxF+tES4/SkZxNJJDxh7c8SkzfIUAsXnDfY9KeIpGEsMV wYO5enY7RYTAeqCWGUi+5DYqdIOzUZ49FLVT2WwQab0Xdi0znXxfK1UDNGGTqlls0H FR+3uVcScKX7g== From: Eshel Yaron <me@HIDDEN> To: Spencer Baugh <sbaugh@HIDDEN>, =?utf-8?B?Sm/Do28gVMOhdm9yYQ==?= <joaotavora@HIDDEN> Subject: Re: bug#69809: 30.0.50; flymake: error in process sentinel In-Reply-To: <ierh6cpukpy.fsf@HIDDEN> (Spencer Baugh's message of "Tue, 16 Jul 2024 16:48:25 -0400") References: <m25xxonf7v.fsf@HIDDEN> <867chv3mtf.fsf@HIDDEN> <87le696o86.fsf@HIDDEN> <m234shdo7a.fsf@HIDDEN> <m1le28cldh.fsf@HIDDEN> <m1a5ioch7m.fsf@HIDDEN> <86v81bktv5.fsf@HIDDEN> <ierh6cpukpy.fsf@HIDDEN> Date: Wed, 17 Jul 2024 08:12:39 +0200 Message-ID: <m1y160r1go.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 69809 Cc: gerd.moellmann@HIDDEN, sbaugh@HIDDEN, Eli Zaretskii <eliz@HIDDEN>, 69809 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Spencer Baugh <sbaugh@HIDDEN> writes: > Eli Zaretskii <eliz@HIDDEN> writes: > >>> From: Eshel Yaron <me@HIDDEN> >>> >>> [...]maybe something like the following is better: >>>=20 >>> diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el >>> index a893a8d749a..6cd48917d47 100644 >>> --- a/lisp/progmodes/eglot.el >>> +++ b/lisp/progmodes/eglot.el >>> @@ -2040,7 +2040,8 @@ eglot--managed-mode >>> (unless (eglot--stay-out-of-p 'imenu) >>> (add-function :before-until (local 'imenu-create-index-function) >>> #'eglot-imenu)) >>> - (unless (eglot--stay-out-of-p 'flymake) (flymake-mode 1)) >>> + (unless (eglot--stay-out-of-p 'flymake) >>> + (if flymake-mode (flymake-start) (flymake-mode 1))) >>> (unless (eglot--stay-out-of-p 'eldoc) >>> (add-hook 'eldoc-documentation-functions #'eglot-hover-eldoc-fun= ction >>> nil t) >> >> Spencer, any comments? >> >> From where I stand, this is okay for the emacs-30 release branch, >> unless you think it could break some legitimate workflow. > > 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? Cheers, Eshel
bug-gnu-emacs@HIDDEN
:bug#69809
; Package emacs
.
Full text available.Received: (at 69809) by debbugs.gnu.org; 16 Jul 2024 20:48:37 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jul 16 16:48:37 2024 Received: from localhost ([127.0.0.1]:34490 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1sTp6C-0003Tl-Hv for submit <at> debbugs.gnu.org; Tue, 16 Jul 2024 16:48:36 -0400 Received: from mxout6.mail.janestreet.com ([64.215.233.21]:45981) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <sbaugh@HIDDEN>) id 1sTp6A-0003TU-ER for 69809 <at> debbugs.gnu.org; Tue, 16 Jul 2024 16:48:35 -0400 From: Spencer Baugh <sbaugh@HIDDEN> To: Eli Zaretskii <eliz@HIDDEN> Subject: Re: bug#69809: 30.0.50; flymake: error in process sentinel In-Reply-To: <86v81bktv5.fsf@HIDDEN> (Eli Zaretskii's message of "Fri, 12 Jul 2024 09:27:26 +0300") References: <m25xxonf7v.fsf@HIDDEN> <867chv3mtf.fsf@HIDDEN> <87le696o86.fsf@HIDDEN> <m234shdo7a.fsf@HIDDEN> <m1le28cldh.fsf@HIDDEN> <m1a5ioch7m.fsf@HIDDEN> <86v81bktv5.fsf@HIDDEN> Date: Tue, 16 Jul 2024 16:48:25 -0400 Message-ID: <ierh6cpukpy.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=janestreet.com; s=waixah; t=1721162905; bh=QM7MVJWEDDDRHwEaLWSciO7oJMvhhrq8jhqd1n4z0dc=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=fz6z/7ewd0+xJ7hOS/UULY327WSlvbSk2/jY9UfTcv7nIL058lUcsyzp7BJOVUMkE 2YI/wBbWcF3/O4qJR146jvmzOOPAhJ/aMj9R7sPNoogWeHohX0zKkrmCqZlvWvbsZH tnk7SAPqAMTzvyIeTZpgpM5K9MF7Yl3WEzdRXOJtmZMG9VaSfEx5pitDY4US+XWFEY PGncMU8aDtk3qu437w3C72VLmW/TRrgMFbaz1BYd2FAJFcd7r6Fj0Xy7Xc1JFnyz7o LPlw0DkGuSpCsXY/JMPWMnUtPHfcgBh+r0mtC4EG1clQFShK9YgJHPvUn6CUrDsoCl tvWw6VnC6Sa8Q== X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 69809 Cc: gerd.moellmann@HIDDEN, sbaugh@HIDDEN, Eshel Yaron <me@HIDDEN>, 69809 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Eli Zaretskii <eliz@HIDDEN> writes: >> From: Eshel Yaron <me@HIDDEN> >> Cc: sbaugh@HIDDEN, Spencer Baugh <sbaugh@HIDDEN>, Eli >> Zaretskii <eliz@HIDDEN>, 69809 <at> debbugs.gnu.org >> Date: Thu, 11 Jul 2024 13:15:41 +0200 >> >> Eshel Yaron <me@HIDDEN> writes: >> >> [...] >> >> > This issue bothered me as well. Here's a recipe for reproducing on >> > master, with emacs -Q: >> > >> > 1. (add-hook 'c-mode-hook 'flymake-mode) >> > 2. (add-hook 'c-mode-hook 'eglot-ensure) >> > 3. Find some C file >> > >> > This happens because Eglot _restarts_ flymake-mode while flymake-cc's >> > process is already running. Here's a simple fix: >> > >> > diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el >> > index a893a8d749a..c9e1bb7b52d 100644 >> > --- a/lisp/progmodes/eglot.el >> > +++ b/lisp/progmodes/eglot.el >> > @@ -2040,7 +2040,7 @@ eglot--managed-mode >> > (unless (eglot--stay-out-of-p 'imenu) >> > (add-function :before-until (local 'imenu-create-index-function) >> > #'eglot-imenu)) >> > - (unless (eglot--stay-out-of-p 'flymake) (flymake-mode 1)) >> > + (unless (or (eglot--stay-out-of-p 'flymake) flymake-mode) (flymake-mode 1)) >> > (unless (eglot--stay-out-of-p 'eldoc) >> > (add-hook 'eldoc-documentation-functions #'eglot-hover-eldoc-function >> > nil t) >> >> I realized that the change above has the downside of no longer >> immediately initiating a Flymake analysis with Eglot in place. To >> preserve that behavior, maybe something like the following is better: >> >> diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el >> index a893a8d749a..6cd48917d47 100644 >> --- a/lisp/progmodes/eglot.el >> +++ b/lisp/progmodes/eglot.el >> @@ -2040,7 +2040,8 @@ eglot--managed-mode >> (unless (eglot--stay-out-of-p 'imenu) >> (add-function :before-until (local 'imenu-create-index-function) >> #'eglot-imenu)) >> - (unless (eglot--stay-out-of-p 'flymake) (flymake-mode 1)) >> + (unless (eglot--stay-out-of-p 'flymake) >> + (if flymake-mode (flymake-start) (flymake-mode 1))) >> (unless (eglot--stay-out-of-p 'eldoc) >> (add-hook 'eldoc-documentation-functions #'eglot-hover-eldoc-function >> nil t) > > Spencer, any comments? > > From where I stand, this is okay for the emacs-30 release branch, > unless you think it could break some legitimate workflow. Yes, this seems good for emacs-30. Thanks Eshel!
bug-gnu-emacs@HIDDEN
:bug#69809
; Package emacs
.
Full text available.Received: (at 69809) by debbugs.gnu.org; 12 Jul 2024 06:27:53 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jul 12 02:27:53 2024 Received: from localhost ([127.0.0.1]:53031 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1sS9l2-0001Il-Lz for submit <at> debbugs.gnu.org; Fri, 12 Jul 2024 02:27:53 -0400 Received: from eggs.gnu.org ([209.51.188.92]:47196) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1sS9l0-0001IX-G6 for 69809 <at> debbugs.gnu.org; Fri, 12 Jul 2024 02:27:51 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1sS9kt-0004ru-Tz; Fri, 12 Jul 2024 02:27:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=19m/KKG1XA+TCnpdElkpRkBM/RQ0TBrfdCrTE06RzAA=; b=e/bADRHYEnvh 3LPWn3L0ntrtLEhwZRHkz4tutQobCGDf2ENOF2mheZkoig0bdx+WczKxwWgL0yECG+DKAHGMMTcfv XHajPpawuR1G4JHKoPFd4nYISJn938F7TdsfxDFBTjVBIiG3PTs+V5s4FM7t4SDXfJ7YzbkCIg5Bg EZPq0WzY20EUwBdQATYd6WNhDyVyTEQI5w9Vg51h65fwjhyLaehOrOGF2oz9r6ec0DgTpIvc1ZeZ4 hS3tP76OHyRA+6cR+8LT7mzMnT7OWVBWK2Rk46WA9k5qsGaBDMSOiv8lKK+iELoVC8/26AX6rv6XN ++kpZiRk47TFOXyv+2Fbzw==; Date: Fri, 12 Jul 2024 09:27:26 +0300 Message-Id: <86v81bktv5.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Eshel Yaron <me@HIDDEN> In-Reply-To: <m1a5ioch7m.fsf@HIDDEN> (message from Eshel Yaron on Thu, 11 Jul 2024 13:15:41 +0200) Subject: Re: bug#69809: 30.0.50; flymake: error in process sentinel References: <m25xxonf7v.fsf@HIDDEN> <867chv3mtf.fsf@HIDDEN> <87le696o86.fsf@HIDDEN> <m234shdo7a.fsf@HIDDEN> <m1le28cldh.fsf@HIDDEN> <m1a5ioch7m.fsf@HIDDEN> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 69809 Cc: gerd.moellmann@HIDDEN, sbaugh@HIDDEN, 69809 <at> debbugs.gnu.org, sbaugh@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Eshel Yaron <me@HIDDEN> > Cc: sbaugh@HIDDEN, Spencer Baugh <sbaugh@HIDDEN>, Eli > Zaretskii <eliz@HIDDEN>, 69809 <at> debbugs.gnu.org > Date: Thu, 11 Jul 2024 13:15:41 +0200 > > Eshel Yaron <me@HIDDEN> writes: > > [...] > > > This issue bothered me as well. Here's a recipe for reproducing on > > master, with emacs -Q: > > > > 1. (add-hook 'c-mode-hook 'flymake-mode) > > 2. (add-hook 'c-mode-hook 'eglot-ensure) > > 3. Find some C file > > > > This happens because Eglot _restarts_ flymake-mode while flymake-cc's > > process is already running. Here's a simple fix: > > > > diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el > > index a893a8d749a..c9e1bb7b52d 100644 > > --- a/lisp/progmodes/eglot.el > > +++ b/lisp/progmodes/eglot.el > > @@ -2040,7 +2040,7 @@ eglot--managed-mode > > (unless (eglot--stay-out-of-p 'imenu) > > (add-function :before-until (local 'imenu-create-index-function) > > #'eglot-imenu)) > > - (unless (eglot--stay-out-of-p 'flymake) (flymake-mode 1)) > > + (unless (or (eglot--stay-out-of-p 'flymake) flymake-mode) (flymake-mode 1)) > > (unless (eglot--stay-out-of-p 'eldoc) > > (add-hook 'eldoc-documentation-functions #'eglot-hover-eldoc-function > > nil t) > > I realized that the change above has the downside of no longer > immediately initiating a Flymake analysis with Eglot in place. To > preserve that behavior, maybe something like the following is better: > > diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el > index a893a8d749a..6cd48917d47 100644 > --- a/lisp/progmodes/eglot.el > +++ b/lisp/progmodes/eglot.el > @@ -2040,7 +2040,8 @@ eglot--managed-mode > (unless (eglot--stay-out-of-p 'imenu) > (add-function :before-until (local 'imenu-create-index-function) > #'eglot-imenu)) > - (unless (eglot--stay-out-of-p 'flymake) (flymake-mode 1)) > + (unless (eglot--stay-out-of-p 'flymake) > + (if flymake-mode (flymake-start) (flymake-mode 1))) > (unless (eglot--stay-out-of-p 'eldoc) > (add-hook 'eldoc-documentation-functions #'eglot-hover-eldoc-function > nil t) Spencer, any comments? From where I stand, this is okay for the emacs-30 release branch, unless you think it could break some legitimate workflow.
bug-gnu-emacs@HIDDEN
:bug#69809
; Package emacs
.
Full text available.Received: (at 69809) by debbugs.gnu.org; 11 Jul 2024 11:48:04 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jul 11 07:48:04 2024 Received: from localhost ([127.0.0.1]:51177 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1sRsHL-0001Rz-Oh for submit <at> debbugs.gnu.org; Thu, 11 Jul 2024 07:48:03 -0400 Received: from mail-ej1-f54.google.com ([209.85.218.54]:47409) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <gerd.moellmann@HIDDEN>) id 1sRsHJ-0001RM-He for 69809 <at> debbugs.gnu.org; Thu, 11 Jul 2024 07:48:02 -0400 Received: by mail-ej1-f54.google.com with SMTP id a640c23a62f3a-a7523f0870cso95694166b.3 for <69809 <at> debbugs.gnu.org>; Thu, 11 Jul 2024 04:48:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1720698421; x=1721303221; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=znINrRGKrf1Kq+qcVWFMH+1SnOLpwDmjRI5OnDQN8yw=; b=gE830dwZAkrPfgwy9PVydeYK/RFOh5YGpm0KRqFPuIsIl6cEdkjnrRZF7Y7718J1Gj 2ZUswC4DHAI5O1ugeSKZcLv8tJ92EfmKJyhFI1NvuEpjUpV9IuzwFbQg1jbrowMVqMGH vZIj7wIjkkbqhC5wXy4X4PcxmGP+gTpuRnL7NbeyQr+efX3TYy5Ln0xDhzdPsmD+z3rN o9FMtBuSKqSBik6yWAAWdouiMWVfCbsUCL00f/Jnw8CZK15qg01RLJ7O5Ik0YHCVz/xR sQtN1n33gk5zqWcxqrBFKETyIxfMJXxV8gSwBsKSSJdmL3POPtPoUNBuZRlkHyHahBwN yvqA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720698421; x=1721303221; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=znINrRGKrf1Kq+qcVWFMH+1SnOLpwDmjRI5OnDQN8yw=; b=hkejwQrghyp2HYBhnGFU7LpSfYmKSTL1MKaAFcoEzxtMI2ZPefIPUMoyMy+0aqNEkO fluNpkibIn5sGvFh2i6x6aHHchJBueI/5CJjPmZFuoWP+g9qP/8CN7Oe9cUpn9t+czzF yWGDeniPZPGoT720S/wpxxEr7r9hCf29ghcxstZzhOSf/QC8u/0ja8OLNLgjwf85l0qs n/7vWvU+/oj1b1xdsy89wAPYncIL7+4RulNkhh8k2nqVe0WpQtxfIQ4ONJG6VN44abJx +dutUHy/zuVcQ+9pkUxAWLfe3JqOn4s5T0/QPcPEWk0G+aSG3h8Ikfcws2STux6ZBrMn NKfA== X-Forwarded-Encrypted: i=1; AJvYcCWoAkEgfzT2RHOrlbNFEa0XFaJF3sGkMS5apu4WdLjl2Eron8KAPTay65elbU0mjM7OkwlqBiPFdQ7nWjxieNxoxedhpOQ= X-Gm-Message-State: AOJu0Yx9JXF/ZtEHh5xeEqEICoglAXUdzkLfxTbD+DH328JgqqQSKUHw PCgWkOwGowFiAHDKbP7/ulVgX/JiIFF/wFsgsrQcEMm9UoXHMTzo X-Google-Smtp-Source: AGHT+IFB44M8JPPV2ylEw8JLnQALRzp9z5lZFMYs6Xtzyf4VZdJw/C44Q29v81kIvmK6B6SLW0mSsA== X-Received: by 2002:a17:906:f588:b0:a77:c583:4f75 with SMTP id a640c23a62f3a-a780b6fe391mr775789066b.38.1720698420916; Thu, 11 Jul 2024 04:47:00 -0700 (PDT) Received: from pro2.fritz.box (p4fe3a547.dip0.t-ipconnect.de. [79.227.165.71]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a780a8720f9sm248025266b.220.2024.07.11.04.47.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Jul 2024 04:47:00 -0700 (PDT) From: =?utf-8?Q?Gerd_M=C3=B6llmann?= <gerd.moellmann@HIDDEN> To: Eshel Yaron <me@HIDDEN> Subject: Re: bug#69809: 30.0.50; flymake: error in process sentinel In-Reply-To: <m1a5ioch7m.fsf@HIDDEN> (Eshel Yaron's message of "Thu, 11 Jul 2024 13:15:41 +0200") References: <m25xxonf7v.fsf@HIDDEN> <867chv3mtf.fsf@HIDDEN> <87le696o86.fsf@HIDDEN> <m234shdo7a.fsf@HIDDEN> <m1le28cldh.fsf@HIDDEN> <m1a5ioch7m.fsf@HIDDEN> Date: Thu, 11 Jul 2024 13:46:59 +0200 Message-ID: <m2bk34ywuk.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 69809 Cc: sbaugh@HIDDEN, Eli Zaretskii <eliz@HIDDEN>, Spencer Baugh <sbaugh@HIDDEN>, 69809 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Eshel Yaron <me@HIDDEN> writes: > I realized that the change above has the downside of no longer > immediately initiating a Flymake analysis with Eglot in place. To > preserve that behavior, maybe something like the following is better: > > diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el > index a893a8d749a..6cd48917d47 100644 > --- a/lisp/progmodes/eglot.el > +++ b/lisp/progmodes/eglot.el > @@ -2040,7 +2040,8 @@ eglot--managed-mode > (unless (eglot--stay-out-of-p 'imenu) > (add-function :before-until (local 'imenu-create-index-function) > #'eglot-imenu)) > - (unless (eglot--stay-out-of-p 'flymake) (flymake-mode 1)) > + (unless (eglot--stay-out-of-p 'flymake) > + (if flymake-mode (flymake-start) (flymake-mode 1))) > (unless (eglot--stay-out-of-p 'eldoc) > (add-hook 'eldoc-documentation-functions #'eglot-hover-eldoc-funct= ion > nil t) Makes sense =F0=9F=91=8D. Thanks Eshel!
bug-gnu-emacs@HIDDEN
:bug#69809
; Package emacs
.
Full text available.Received: (at 69809) by debbugs.gnu.org; 11 Jul 2024 11:15:47 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jul 11 07:15:47 2024 Received: from localhost ([127.0.0.1]:51148 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1sRrm7-0003Hp-BQ for submit <at> debbugs.gnu.org; Thu, 11 Jul 2024 07:15:47 -0400 Received: from mail.eshelyaron.com ([107.175.124.16]:45042 helo=eshelyaron.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <me@HIDDEN>) id 1sRrm4-0003Hc-L6 for 69809 <at> debbugs.gnu.org; Thu, 11 Jul 2024 07:15:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=eshelyaron.com; s=mail; t=1720696544; bh=wjwqeVwbcYYowvIRtOt12N9kXVlSrDs2pmg8qHN7fjA=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=THlmo9fHYY/4CEx6yFE8veksQrH6X3QqZub6u+2eMb24Ext3296MZnbSnFwe9yEtI OC/dGTqJsdYQFmCxwkiWQ0B3SdKD5tqoh9JXEehf9r3yQGayCqibLq7LNQUBqdt2Wa UoS2Dp8AiEUDo3AsharoOHjwIwmPksEVJRodIWfgWVaBksmzkamyma+P2q4+lGtq9s dNhP1+VGeLkp0RSNf4z2umg5FuK7JbtLDwCz6LODJc0zzBl2RxOQBtQEfNsW/uKk8B NNma/h1UMUb6km89KJswTBupD6xeEFI4a26g50DUlhX2BvbH1DlQFvCx0nJODkeDG5 ohXuQ7lq1KTZg== From: Eshel Yaron <me@HIDDEN> To: Gerd =?utf-8?Q?M=C3=B6llmann?= <gerd.moellmann@HIDDEN> Subject: Re: bug#69809: 30.0.50; flymake: error in process sentinel In-Reply-To: <m1le28cldh.fsf@HIDDEN> (Eshel Yaron's message of "Thu, 11 Jul 2024 11:45:46 +0200") References: <m25xxonf7v.fsf@HIDDEN> <867chv3mtf.fsf@HIDDEN> <87le696o86.fsf@HIDDEN> <m234shdo7a.fsf@HIDDEN> <m1le28cldh.fsf@HIDDEN> X-Hashcash: 1:20:240711:gerd.moellmann@HIDDEN::FtedQaE7mkpEjW0T:0naS X-Hashcash: 1:20:240711:sbaugh@HIDDEN::c5AgqCmSoC2UydZO:0Wfo X-Hashcash: 1:20:240711:sbaugh@HIDDEN::mlWAeDx3XiI5BzIx:5kah X-Hashcash: 1:20:240711:eliz@HIDDEN::DlH97CgDBViJ5bAb:2KUb X-Hashcash: 1:20:240711:69809 <at> debbugs.gnu.org::7K2DZVne6mh8iti6:19th Date: Thu, 11 Jul 2024 13:15:41 +0200 Message-ID: <m1a5ioch7m.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 69809 Cc: sbaugh@HIDDEN, Eli Zaretskii <eliz@HIDDEN>, 69809 <at> debbugs.gnu.org, Spencer Baugh <sbaugh@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Eshel Yaron <me@HIDDEN> writes: [...] > This issue bothered me as well. Here's a recipe for reproducing on > master, with emacs -Q: > > 1. (add-hook 'c-mode-hook 'flymake-mode) > 2. (add-hook 'c-mode-hook 'eglot-ensure) > 3. Find some C file > > This happens because Eglot _restarts_ flymake-mode while flymake-cc's > process is already running. Here's a simple fix: > > diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el > index a893a8d749a..c9e1bb7b52d 100644 > --- a/lisp/progmodes/eglot.el > +++ b/lisp/progmodes/eglot.el > @@ -2040,7 +2040,7 @@ eglot--managed-mode > (unless (eglot--stay-out-of-p 'imenu) > (add-function :before-until (local 'imenu-create-index-function) > #'eglot-imenu)) > - (unless (eglot--stay-out-of-p 'flymake) (flymake-mode 1)) > + (unless (or (eglot--stay-out-of-p 'flymake) flymake-mode) (flymake-mode 1)) > (unless (eglot--stay-out-of-p 'eldoc) > (add-hook 'eldoc-documentation-functions #'eglot-hover-eldoc-function > nil t) I realized that the change above has the downside of no longer immediately initiating a Flymake analysis with Eglot in place. To preserve that behavior, maybe something like the following is better: diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el index a893a8d749a..6cd48917d47 100644 --- a/lisp/progmodes/eglot.el +++ b/lisp/progmodes/eglot.el @@ -2040,7 +2040,8 @@ eglot--managed-mode (unless (eglot--stay-out-of-p 'imenu) (add-function :before-until (local 'imenu-create-index-function) #'eglot-imenu)) - (unless (eglot--stay-out-of-p 'flymake) (flymake-mode 1)) + (unless (eglot--stay-out-of-p 'flymake) + (if flymake-mode (flymake-start) (flymake-mode 1))) (unless (eglot--stay-out-of-p 'eldoc) (add-hook 'eldoc-documentation-functions #'eglot-hover-eldoc-function nil t)
bug-gnu-emacs@HIDDEN
:bug#69809
; Package emacs
.
Full text available.Received: (at 69809) by debbugs.gnu.org; 11 Jul 2024 09:45:51 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jul 11 05:45:51 2024 Received: from localhost ([127.0.0.1]:51087 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1sRqN5-0006iM-A3 for submit <at> debbugs.gnu.org; Thu, 11 Jul 2024 05:45:51 -0400 Received: from mail.eshelyaron.com ([107.175.124.16]:50240 helo=eshelyaron.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <me@HIDDEN>) id 1sRqN3-0006iE-16 for 69809 <at> debbugs.gnu.org; Thu, 11 Jul 2024 05:45:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=eshelyaron.com; s=mail; t=1720691148; bh=aytbCBlM3SvMaZPKMOibgOEjofKczfdWFzVHeL3nYuk=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=F1HSeIeZkskoCjgmjtD/w7aIut/peff7L7s8x6et2NWk1r7UWMYhFBQoi9h9c1rvp fodUaSpFIrAca5P7Z8cvSa8UDFHe2/mRwFISn3OQ6wbiKZuJ3zkPPdn1kLMWYlDHMe 8gQp0tYs2KE6Sjq3gu40JF+LUftznrHFGHpeiZweOF+OgSRYYdL4YzxESzD15NCP1w eGsyLq0VFh5MQoIL3p3qVhk/ZLGr7O8ihV5EWzeHOYt4cqFAwjXCD4fnD78s9OUlPN 6MqPz//wl//uE57HdtTj9o9UnacBz7NZSu0mfGbwBcwJJhCswSAaVwz7CEH0iSeU3Z 676bJA7w9eygA== From: Eshel Yaron <me@HIDDEN> To: Gerd =?utf-8?Q?M=C3=B6llmann?= <gerd.moellmann@HIDDEN> Subject: Re: bug#69809: 30.0.50; flymake: error in process sentinel In-Reply-To: <m234shdo7a.fsf@HIDDEN> ("Gerd =?utf-8?Q?M=C3=B6llmann?= =?utf-8?Q?=22's?= message of "Sat, 23 Mar 2024 15:20:41 +0100") References: <m25xxonf7v.fsf@HIDDEN> <867chv3mtf.fsf@HIDDEN> <87le696o86.fsf@HIDDEN> <m234shdo7a.fsf@HIDDEN> Date: Thu, 11 Jul 2024 11:45:46 +0200 Message-ID: <m1le28cldh.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 69809 Cc: sbaugh@HIDDEN, Eli Zaretskii <eliz@HIDDEN>, 69809 <at> debbugs.gnu.org, Spencer Baugh <sbaugh@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Hi, Gerd M=C3=B6llmann <gerd.moellmann@HIDDEN> writes: > sbaugh@HIDDEN writes: > >>> From: Gerd M=C3=B6llmann <gerd.moellmann@HIDDEN> >>> Date: Fri, 15 Mar 2024 08:09:40 +0100 >>> >>> In master, I am sometimes getting errors like these: >>> >>> error in process sentinel: flymake--handle-report: Can=E2=80=99t find= state for flymake-cc in =E2=80=98flymake--state=E2=80=99 >>> error in process sentinel: Can=E2=80=99t find state for flymake-cc in= =E2=80=98flymake--state=E2=80=99 >>> error in process sentinel: flymake--handle-report: Can=E2=80=99t find= state for flymake-cc in =E2=80=98flymake--state=E2=80=99 >>> error in process sentinel: Can=E2=80=99t find state for flymake-cc in= =E2=80=98flymake--state=E2=80=99 >>> error in process sentinel: flymake--handle-report: Can=E2=80=99t find= state for flymake-cc in =E2=80=98flymake--state=E2=80=99 >>> error in process sentinel: Can=E2=80=99t find state for flymake-cc in= =E2=80=98flymake--state=E2=80=99 >>> >>> when working with C files. >>> >>> I haven't configured anything for Flymake myself. I think Flymake gets >>> involved by using Eglot. The errors apparently don't prevent flymake >>> from working later on. >>> >>> I have looked around in flymake docs and source, but I can't figure out >>> what's wrong. >> >> It would be helpful if you could provide a minimal reproduction starting >> from "emacs -q". > > I know, but I can't reproduce it at will. And debug-on-error didn't help > catch it in the act, maybe there is some condition-case involved > somewhere that should have better been a condition-case-unless-debug. > >> My immediate suspicion is that flymake-mode is (somehow) enabled in your >> C files while flymake-diagnostic-functions is set to contain flymake-cc, >> which causes flymake-cc to start up a background process. Then, >> flymake-mode is enabled again by eglot--managed-mode, which causes >> flymake--state to be cleared, so when flymake-cc tries to report >> diagnostics from that background process through flymake--handle-report, >> it fails. >> >> But I can't be sure whether this is due to a bug in Emacs or due to a >> bug in your config without a more minimal reproduction. > > No config using flymake and none for eglot. The only thing I did is > put eglot-ensure on c-mode-common-hook. > > Maybe I can catch it in LLDB somehow, but that will have to wait a bit, > unfortunately. > > Anyway, thanks for the replay. This issue bothered me as well. Here's a recipe for reproducing on master, with emacs -Q: 1. (add-hook 'c-mode-hook 'flymake-mode) 2. (add-hook 'c-mode-hook 'eglot-ensure) 3. Find some C file This happens because Eglot _restarts_ flymake-mode while flymake-cc's process is already running. Here's a simple fix: diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el index a893a8d749a..c9e1bb7b52d 100644 --- a/lisp/progmodes/eglot.el +++ b/lisp/progmodes/eglot.el @@ -2040,7 +2040,7 @@ eglot--managed-mode (unless (eglot--stay-out-of-p 'imenu) (add-function :before-until (local 'imenu-create-index-function) #'eglot-imenu)) - (unless (eglot--stay-out-of-p 'flymake) (flymake-mode 1)) + (unless (or (eglot--stay-out-of-p 'flymake) flymake-mode) (flymake-mod= e 1)) (unless (eglot--stay-out-of-p 'eldoc) (add-hook 'eldoc-documentation-functions #'eglot-hover-eldoc-function nil t)
bug-gnu-emacs@HIDDEN
:bug#69809
; Package emacs
.
Full text available.Received: (at 69809) by debbugs.gnu.org; 23 Mar 2024 14:22:32 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Mar 23 10:22:32 2024 Received: from localhost ([127.0.0.1]:59844 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1ro2GW-0008Ub-9f for submit <at> debbugs.gnu.org; Sat, 23 Mar 2024 10:22:32 -0400 Received: from mail-ej1-f54.google.com ([209.85.218.54]:59646) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <gerd.moellmann@HIDDEN>) id 1ro2GU-0008UF-Jg for 69809 <at> debbugs.gnu.org; Sat, 23 Mar 2024 10:22:31 -0400 Received: by mail-ej1-f54.google.com with SMTP id a640c23a62f3a-a46ce2bd562so437067766b.2 for <69809 <at> debbugs.gnu.org>; Sat, 23 Mar 2024 07:21:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1711203643; x=1711808443; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=V4uacT0aYohwSrT+7q16PF80u/oEgOxQ5ybZ0V19xcA=; b=ncTHSuBZDb3i7ARi40IwFyedppbTVNewx0+ZAgn0vtPUFeLC/xQUheqZ8FBQuU8MFT h0tvQJ6fzgHCHuKOp3csOYZlzXgRGU3WoLmVM4NjRNk7JgaOIryeEzaxCw7Q/LyoRKic xqp7qpzLelzTrNPCXdepkaaHNYl8dq7rD87Zt74KrZYHqnud1LiPULMDeOV/ZuUOi475 CZA+fSAzixfXp7WJ5cSXYOtA2KRWthdhzTkn7JwuE6i9ljpTQQqxXB+4FlOQbekf/2t5 /PW421K6Q3sQN7+nUQCieJcT+wfxaOnMSxAsEDjTM/wzIK4mTPgeSW1lpjkc0sJVtwUB /aPA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711203643; x=1711808443; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=V4uacT0aYohwSrT+7q16PF80u/oEgOxQ5ybZ0V19xcA=; b=a8RdfLHMqucc5hrOJiZF2Qm/5sVj+Wnpuw2llQTQ3QQ4mOidXgB0c8n2+XdqhUMIq9 1vQUyH5qY9CMWdopEXXmVwJTbncd4iwu2huxQnxb63z9XWoyXsA8XYAWajdSlexq3n05 6mN06CpmJHDPuSyvVh+lQgQ8YnP5AsCcQZCisPfEMd6SUjG2X9VaxfL1VwGnt+BBnYdN POHHZrgQoO+WHdiHTY2gfcffS2WpDfduqL3s8++WuY+LqjSjsN0E+6K2aUjdPpdLwJE8 MyC/Czxb1c8TubPgxdLbJIogbQVyiQyGKcNEqiOMuT8qUeIrI7+0a+K+3nyFYQe4stXl LJ9w== X-Forwarded-Encrypted: i=1; AJvYcCUD6TZmsFWaCc8QVr2KZuZPaOLiD1v9/+i9Uwsqjm2neivHqlTRM2m6VYVqL4zAKPW2OLqz/bOPj/lkaN6oRpGuyaiskCQ= X-Gm-Message-State: AOJu0YxuPDAWz6C4i6KCjJQqSBiwp9YrgHvUEly5YjhAW4dpgos3powS l3N7l2YCaCw7G3tzLBjq6B29xpe/YYzqeBqF22RlZdV7PeOQCvtHP0v5Rj+6 X-Google-Smtp-Source: AGHT+IG/khOitZEXlOAqRfuCst70zdPYTh3xw9ew3XgPnBmtgNBlhV6mZCjiqQQEB40DlmY/PG9aTw== X-Received: by 2002:a17:906:c146:b0:a47:4bec:a211 with SMTP id dp6-20020a170906c14600b00a474beca211mr310656ejc.40.1711203643062; Sat, 23 Mar 2024 07:20:43 -0700 (PDT) Received: from Pro.fritz.box (pd9e36a8b.dip0.t-ipconnect.de. [217.227.106.139]) by smtp.gmail.com with ESMTPSA id la3-20020a170906ad8300b00a4678ee539bsm956009ejb.190.2024.03.23.07.20.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 23 Mar 2024 07:20:42 -0700 (PDT) From: =?utf-8?Q?Gerd_M=C3=B6llmann?= <gerd.moellmann@HIDDEN> To: sbaugh@HIDDEN Subject: Re: bug#69809: 30.0.50; flymake: error in process sentinel In-Reply-To: <87le696o86.fsf@HIDDEN> (sbaugh@HIDDEN's message of "Sat, 23 Mar 2024 14:02:02 +0000 (UTC)") References: <m25xxonf7v.fsf@HIDDEN> <867chv3mtf.fsf@HIDDEN> <87le696o86.fsf@HIDDEN> Date: Sat, 23 Mar 2024 15:20:41 +0100 Message-ID: <m234shdo7a.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 69809 Cc: Spencer Baugh <sbaugh@HIDDEN>, Eli Zaretskii <eliz@HIDDEN>, 69809 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) sbaugh@HIDDEN writes: >> From: Gerd M=C3=B6llmann <gerd.moellmann@HIDDEN> >> Date: Fri, 15 Mar 2024 08:09:40 +0100 >> >> In master, I am sometimes getting errors like these: >> >> error in process sentinel: flymake--handle-report: Can=E2=80=99t find = state for flymake-cc in =E2=80=98flymake--state=E2=80=99 >> error in process sentinel: Can=E2=80=99t find state for flymake-cc in = =E2=80=98flymake--state=E2=80=99 >> error in process sentinel: flymake--handle-report: Can=E2=80=99t find = state for flymake-cc in =E2=80=98flymake--state=E2=80=99 >> error in process sentinel: Can=E2=80=99t find state for flymake-cc in = =E2=80=98flymake--state=E2=80=99 >> error in process sentinel: flymake--handle-report: Can=E2=80=99t find = state for flymake-cc in =E2=80=98flymake--state=E2=80=99 >> error in process sentinel: Can=E2=80=99t find state for flymake-cc in = =E2=80=98flymake--state=E2=80=99 >> >> when working with C files. >> >> I haven't configured anything for Flymake myself. I think Flymake gets >> involved by using Eglot. The errors apparently don't prevent flymake >> from working later on. >> >> I have looked around in flymake docs and source, but I can't figure out >> what's wrong. > > It would be helpful if you could provide a minimal reproduction starting > from "emacs -q". I know, but I can't reproduce it at will. And debug-on-error didn't help catch it in the act, maybe there is some condition-case involved somewhere that should have better been a condition-case-unless-debug. > My immediate suspicion is that flymake-mode is (somehow) enabled in your > C files while flymake-diagnostic-functions is set to contain flymake-cc, > which causes flymake-cc to start up a background process. Then, > flymake-mode is enabled again by eglot--managed-mode, which causes > flymake--state to be cleared, so when flymake-cc tries to report > diagnostics from that background process through flymake--handle-report, > it fails. > > But I can't be sure whether this is due to a bug in Emacs or due to a > bug in your config without a more minimal reproduction. No config using flymake and none for eglot. The only thing I did is put eglot-ensure on c-mode-common-hook. Maybe I can catch it in LLDB somehow, but that will have to wait a bit, unfortunately. Anyway, thanks for the replay.
bug-gnu-emacs@HIDDEN
:bug#69809
; Package emacs
.
Full text available.Received: (at 69809) by debbugs.gnu.org; 23 Mar 2024 14:10:19 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Mar 23 10:10:19 2024 Received: from localhost ([127.0.0.1]:59238 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1ro24g-000808-7K for submit <at> debbugs.gnu.org; Sat, 23 Mar 2024 10:10:19 -0400 Received: from s.wrqvwxzv.outbound-mail.sendgrid.net ([149.72.154.232]:50366) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <bounces+21787432-0ce2-69809=debbugs.gnu.org@HIDDEN>) id 1ro1xS-0007fX-Dd for 69809 <at> debbugs.gnu.org; Sat, 23 Mar 2024 10:02:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=catern.com; h=from:subject:in-reply-to:references:mime-version:to:cc:content-type: content-transfer-encoding:cc:content-type:from:subject:to; s=s1; bh=K7NA6BQ5kciDEU+u9JVvP8hUZm0EbUM/VSxkdbhOSE4=; b=RRAnKFxX4/LqcZGzpIMmoUxeU7CMduIIrQvhGj1kQKSEhmjukNrk+w1tP1Lk7PJ7ZYkm WGYBHsKYlrWvF78QEHXFwIYC8eZKi3kkUtdoy6BuDjssMTqOXDUk2zYuH/C3WlxhpEoupk yiP1nQfYFL3Y6XMXlEPRS7UAd/xtv+Zhdtw6MdF++1hh0Rabnlh46I/hmMQolbhA+omkQR /ptixvWFJx5AWLUaFtvC2lUmfsNvb3NjrRyBuDfSNZeISFWhdznQ8lJoI5z6yEen1rSDpp SnFtRO7NK8diD9KQXEeJ9OTPlv5fbHCMUyajIUN+sDAGh5qVUvhNYLtJU4ODtX8A== Received: by recvd-6fc499775c-fwx7v with SMTP id recvd-6fc499775c-fwx7v-1-65FEE0DA-74 2024-03-23 14:02:02.657235022 +0000 UTC m=+406891.969486684 Received: from earth.catern.com (unknown) by geopod-ismtpd-34 (SG) with ESMTP id aXKLEunaRbagjPh3hcsKqQ Sat, 23 Mar 2024 14:02:02.443 +0000 (UTC) X-Comment: SPF check N/A for local connections - client-ip=127.0.0.1; helo=localhost; envelope-from=sbaugh@HIDDEN; receiver=gnu.org Received: from localhost (localhost [127.0.0.1]) by earth.catern.com (Postfix) with ESMTPSA id 15D4A600A9; Sat, 23 Mar 2024 10:02:02 -0400 (EDT) From: sbaugh@HIDDEN Subject: Re: bug#69809: 30.0.50; flymake: error in process sentinel In-Reply-To: <867chv3mtf.fsf@HIDDEN> (Eli Zaretskii's message of "Thu, 21 Mar 2024 12:23:56 +0200") References: <m25xxonf7v.fsf@HIDDEN> <867chv3mtf.fsf@HIDDEN> Date: Sat, 23 Mar 2024 14:02:02 +0000 (UTC) Message-ID: <87le696o86.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 X-SG-EID: =?us-ascii?Q?u001=2Ev6RTqHFpv1T6krEot6UFAVAJmQ+4h1t8=2FTfqqE2B07OvbuVEQyEv778T+?= =?us-ascii?Q?KrA0Lw=2FSDAIg3JHSqKMcgz7jY5IHqogSsr30m2=2F?= =?us-ascii?Q?K5ygC5XnprQVNFlMZAJsfgBJToebYTz9XdzbY4+?= =?us-ascii?Q?JyF1oWRN0sKsBDYgenT9523F6JDmVzrSUM82Cav?= =?us-ascii?Q?Ys9vRWcVdxQ3dvxWiDqmQBSHs++gRHcszArDiGy?= =?us-ascii?Q?g=3D=3D?= To: Eli Zaretskii <eliz@HIDDEN> X-Entity-ID: u001.oW4JupFKOzCccZAQN2OOFQ== Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.2 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: > From: Gerd Möllmann <gerd.moellmann@HIDDEN> > Date: Fri, 15 Mar 2024 08:09:40 +0100 > > In master, I am sometimes getting errors like these: > > error in process sentinel: flymake--handle-report [...] Content analysis details: (1.2 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.2 RCVD_IN_BL_SPAMCOP_NET RBL: Received via a relay in bl.spamcop.net [Blocked - see <https://www.spamcop.net/bl.shtml?149.72.154.232>] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [149.72.154.232 listed in wl.mailspike.net] 0.0 UNPARSEABLE_RELAY Informational: message has unparseable relay lines -0.0 T_SCC_BODY_TEXT_LINE No description available. X-Debbugs-Envelope-To: 69809 Cc: Gerd =?iso-8859-1?q?M=F6llmann?= <gerd.moellmann@HIDDEN>, Spencer Baugh <sbaugh@HIDDEN>, 69809 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: 0.2 (/) > From: Gerd M=C3=B6llmann <gerd.moellmann@HIDDEN> > Date: Fri, 15 Mar 2024 08:09:40 +0100 >=20 > In master, I am sometimes getting errors like these: >=20 > error in process sentinel: flymake--handle-report: Can=E2=80=99t find s= tate for flymake-cc in =E2=80=98flymake--state=E2=80=99 > error in process sentinel: Can=E2=80=99t find state for flymake-cc in = =E2=80=98flymake--state=E2=80=99 > error in process sentinel: flymake--handle-report: Can=E2=80=99t find s= tate for flymake-cc in =E2=80=98flymake--state=E2=80=99 > error in process sentinel: Can=E2=80=99t find state for flymake-cc in = =E2=80=98flymake--state=E2=80=99 > error in process sentinel: flymake--handle-report: Can=E2=80=99t find s= tate for flymake-cc in =E2=80=98flymake--state=E2=80=99 > error in process sentinel: Can=E2=80=99t find state for flymake-cc in = =E2=80=98flymake--state=E2=80=99 >=20 > when working with C files. >=20 > I haven't configured anything for Flymake myself. I think Flymake gets > involved by using Eglot. The errors apparently don't prevent flymake > from working later on. >=20 > I have looked around in flymake docs and source, but I can't figure out > what's wrong. It would be helpful if you could provide a minimal reproduction starting from "emacs -q". My immediate suspicion is that flymake-mode is (somehow) enabled in your C files while flymake-diagnostic-functions is set to contain flymake-cc, which causes flymake-cc to start up a background process. Then, flymake-mode is enabled again by eglot--managed-mode, which causes flymake--state to be cleared, so when flymake-cc tries to report diagnostics from that background process through flymake--handle-report, it fails. But I can't be sure whether this is due to a bug in Emacs or due to a bug in your config without a more minimal reproduction.
bug-gnu-emacs@HIDDEN
:bug#69809
; Package emacs
.
Full text available.Received: (at 69809) by debbugs.gnu.org; 21 Mar 2024 10:24:47 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Mar 21 06:24:47 2024 Received: from localhost ([127.0.0.1]:35214 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1rnFbK-0003eC-LA for submit <at> debbugs.gnu.org; Thu, 21 Mar 2024 06:24:46 -0400 Received: from eggs.gnu.org ([209.51.188.92]:50000) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1rnFbJ-0003dz-9Z for 69809 <at> debbugs.gnu.org; Thu, 21 Mar 2024 06:24:45 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1rnFaZ-0002gP-I6; Thu, 21 Mar 2024 06:23:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=tN0Besw/UwmQKiZxGX0Pt9nHoYdk7X+E+9GpjYVcKng=; b=DLWcBISrnG2/64DNf45w N/Dvo5okIWQcOUgBGEeVttXyfWl8BkAvHu7AM5bIFhTzQWdRdxYfmfBXwUMZHUyNhAGgu1WDXPmHj tAJosgD9Nf8wgoegdPSQOp6XcaW4woxXN4Gi48J4H+LDHZTySJq13UB1/p2f/EuRkb9zp9M0pLii2 Yzjs2FZRirZXDCqUzjpkQcWqdYQY9ojQWvpQX12GgZ+lEvsbR5LyM6qLxAHHOWs16uJbWj1iaMfk4 lPUj4348c77qeLVjFaR2CHwqY/M+cQRoqv8kD7UmE+7TZZalVyEvBtxjllH1NCbeuFk442ELJ90jK Z5j34XImbUOxoQ==; Date: Thu, 21 Mar 2024 12:23:56 +0200 Message-Id: <867chv3mtf.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Gerd =?utf-8?Q?M=C3=B6llmann?= <gerd.moellmann@HIDDEN>, Spencer Baugh <sbaugh@HIDDEN> In-Reply-To: <m25xxonf7v.fsf@HIDDEN> (message from Gerd =?utf-8?Q?M?= =?utf-8?Q?=C3=B6llmann?= on Fri, 15 Mar 2024 08:09:40 +0100) Subject: Re: bug#69809: 30.0.50; flymake: error in process sentinel References: <m25xxonf7v.fsf@HIDDEN> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 69809 Cc: 69809 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Gerd Möllmann <gerd.moellmann@HIDDEN> > Date: Fri, 15 Mar 2024 08:09:40 +0100 > > In master, I am sometimes getting errors like these: > > error in process sentinel: flymake--handle-report: Can’t find state for flymake-cc in ‘flymake--state’ > error in process sentinel: Can’t find state for flymake-cc in ‘flymake--state’ > error in process sentinel: flymake--handle-report: Can’t find state for flymake-cc in ‘flymake--state’ > error in process sentinel: Can’t find state for flymake-cc in ‘flymake--state’ > error in process sentinel: flymake--handle-report: Can’t find state for flymake-cc in ‘flymake--state’ > error in process sentinel: Can’t find state for flymake-cc in ‘flymake--state’ > > when working with C files. > > I haven't configured anything for Flymake myself. I think Flymake gets > involved by using Eglot. The errors apparently don't prevent flymake > from working later on. > > I have looked around in flymake docs and source, but I can't figure out > what's wrong. Spencer, any suggestions?
bug-gnu-emacs@HIDDEN
:bug#69809
; Package emacs
.
Full text available.Received: (at submit) by debbugs.gnu.org; 15 Mar 2024 07:10:31 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Mar 15 03:10:30 2024 Received: from localhost ([127.0.0.1]:51746 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1rl1i2-0005DM-JP for submit <at> debbugs.gnu.org; Fri, 15 Mar 2024 03:10:30 -0400 Received: from lists.gnu.org ([209.51.188.17]:39256) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <gerd.moellmann@HIDDEN>) id 1rl1hz-0005DC-Ij for submit <at> debbugs.gnu.org; Fri, 15 Mar 2024 03:10:29 -0400 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 <gerd.moellmann@HIDDEN>) id 1rl1hN-0000hF-8A for bug-gnu-emacs@HIDDEN; Fri, 15 Mar 2024 03:09:49 -0400 Received: from mail-ej1-x62a.google.com ([2a00:1450:4864:20::62a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <gerd.moellmann@HIDDEN>) id 1rl1hK-0002Ar-AK for bug-gnu-emacs@HIDDEN; Fri, 15 Mar 2024 03:09:47 -0400 Received: by mail-ej1-x62a.google.com with SMTP id a640c23a62f3a-a4675aaa2e8so164618666b.0 for <bug-gnu-emacs@HIDDEN>; Fri, 15 Mar 2024 00:09:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1710486583; x=1711091383; darn=gnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:from:to:cc:subject:date:message-id:reply-to; bh=MyA722AuZfMtPa0GmXN0Ydw7GagyIn3y63VXJ2NXXsI=; b=GmX+rddF9BrN1y9hFEgXwdQ67/hLbHYUXxEEPXI3oTac035IVWbSuvyvVT+mEtn9EK q3+gMmiPD0uXZ8O65qBFXAd9NlXa6biJ6VzfYsBpNrZ1L8l1eX0Plt2JJWZpXkfFQgfT hqPaTVOf+bxLJLfJT3XNX9ZV5iXuLvNK/RaEG8QHP/zwkr50OSGd/qksFbBYxrxMTkwl sEQmHEd3wPcNX9ioA8oMLlUsPPnuT7SzDdpspR5K6yOGhLvzHSUMZyNtu6pMGp49k3U3 b+DtmR3HJcPIk2/6VSjR4UthWyck8vbkb0v7t+ASgnvCvOuOgAQaF2MEp18Znmfpj+R0 pF9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710486583; x=1711091383; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=MyA722AuZfMtPa0GmXN0Ydw7GagyIn3y63VXJ2NXXsI=; b=iElcspbeEb+NViMcjJzNvZbgA31CMNvjSFCptXy8Nr664DxObIUuR5YKRUMGpuZyMU F1P6gsc7WtYcUDZqbZJt0rzbNI/WppqShJyAgey/Ffj8q3ksVMBca8x4M9yjQLNvebRt ROx1JUdHgoq86nmsvUyCEk3zl4tJlNmWEcGVo3GMuU6CjJTDYmSObEgwYzGUhYLHieed EfRZDlZQPjkVxuyQ1nyEcXHZLd/4sqT6R4kX7CsCrZNmiBSFsGuMFo4kGbuf8VeH6ZGo a4A9S7CygWjCX5gYmeGWyBTUCYOACwbXm14reNF3K/1GXWBv2TpApbYQ5xTZm0i5Pmfu tAjQ== X-Gm-Message-State: AOJu0YwdR2biVUU1KltGV16ewmOgspYA1O0bXHtDPMX5rr/MiQnulsx2 iNo6IuPhKnNcygJzkXa7xOuTFwgHufdacy6HsbiJxXCyFTgiktNzF49w4wUB X-Google-Smtp-Source: AGHT+IE5Rl2Sv01IF+C1MgHMORbxlNgqoRjVKSruars8fzzUvo64pKNSAflF7zGS3jk6IwFclF7/EQ== X-Received: by 2002:a17:906:eb4d:b0:a45:87d0:9010 with SMTP id mc13-20020a170906eb4d00b00a4587d09010mr1341035ejb.76.1710486582888; Fri, 15 Mar 2024 00:09:42 -0700 (PDT) Received: from Pro.fritz.box (pd9e36beb.dip0.t-ipconnect.de. [217.227.107.235]) by smtp.gmail.com with ESMTPSA id l23-20020a1709065a9700b00a460040a102sm1401291ejq.124.2024.03.15.00.09.41 for <bug-gnu-emacs@HIDDEN> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Mar 2024 00:09:42 -0700 (PDT) From: =?utf-8?Q?Gerd_M=C3=B6llmann?= <gerd.moellmann@HIDDEN> To: bug-gnu-emacs@HIDDEN Subject: 30.0.50; flymake: error in process sentinel X-Debbugs-Cc: Date: Fri, 15 Mar 2024 08:09:40 +0100 Message-ID: <m25xxonf7v.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::62a; envelope-from=gerd.moellmann@HIDDEN; helo=mail-ej1-x62a.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -2.3 (--) In master, I am sometimes getting errors like these: error in process sentinel: flymake--handle-report: Can=E2=80=99t find sta= te for flymake-cc in =E2=80=98flymake--state=E2=80=99 error in process sentinel: Can=E2=80=99t find state for flymake-cc in =E2= =80=98flymake--state=E2=80=99 error in process sentinel: flymake--handle-report: Can=E2=80=99t find sta= te for flymake-cc in =E2=80=98flymake--state=E2=80=99 error in process sentinel: Can=E2=80=99t find state for flymake-cc in =E2= =80=98flymake--state=E2=80=99 error in process sentinel: flymake--handle-report: Can=E2=80=99t find sta= te for flymake-cc in =E2=80=98flymake--state=E2=80=99 error in process sentinel: Can=E2=80=99t find state for flymake-cc in =E2= =80=98flymake--state=E2=80=99 when working with C files. I haven't configured anything for Flymake myself. I think Flymake gets involved by using Eglot. The errors apparently don't prevent flymake from working later on. I have looked around in flymake docs and source, but I can't figure out what's wrong.
Gerd Möllmann <gerd.moellmann@HIDDEN>
:bug-gnu-emacs@HIDDEN
.
Full text available.bug-gnu-emacs@HIDDEN
:bug#69809
; Package emacs
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.