From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Newsgroups: gmane.emacs.bugs Subject: bug#62907: Eglot does not start managing LaTeX buffer despite reporting successful connection Date: Wed, 19 Apr 2023 01:10:57 +0100 Message-ID: References: <87354y1ofp.fsf@posteo.de> <87r0si9xhl.fsf@posteo.de> <87edoimc02.fsf@posteo.de> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26520"; mail-complaints-to="usenet@ciao.gmane.io" To: Michael Eliachevitch , 62907-done@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Apr 19 02:10:26 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1povP0-0006eb-I7 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 19 Apr 2023 02:10:26 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1povOf-0004y6-5c; Tue, 18 Apr 2023 20:10:05 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1povOd-0004xF-D2 for bug-gnu-emacs@gnu.org; Tue, 18 Apr 2023 20:10:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1povOd-0003Ok-4O for bug-gnu-emacs@gnu.org; Tue, 18 Apr 2023 20:10:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1povOc-0004jK-Fg for bug-gnu-emacs@gnu.org; Tue, 18 Apr 2023 20:10:02 -0400 Resent-From: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Wed, 19 Apr 2023 00:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 62907 X-GNU-PR-Package: emacs Mail-Followup-To: 62907@debbugs.gnu.org, joaotavora@gmail.com, m.eliachevitch@posteo.de Original-Received: via spool by 62907-done@debbugs.gnu.org id=D62907.168186295218102 (code D ref 62907); Wed, 19 Apr 2023 00:10:02 +0000 Original-Received: (at 62907-done) by debbugs.gnu.org; 19 Apr 2023 00:09:12 +0000 Original-Received: from localhost ([127.0.0.1]:60677 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1povNn-0004hu-VE for submit@debbugs.gnu.org; Tue, 18 Apr 2023 20:09:12 -0400 Original-Received: from mail-oo1-f51.google.com ([209.85.161.51]:52429) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1povNj-0004hM-6n for 62907-done@debbugs.gnu.org; Tue, 18 Apr 2023 20:09:11 -0400 Original-Received: by mail-oo1-f51.google.com with SMTP id 006d021491bc7-541b5cfa9d8so811861eaf.0 for <62907-done@debbugs.gnu.org>; Tue, 18 Apr 2023 17:09:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1681862941; x=1684454941; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=9B5rcV6G1vRXNX25ISz1GmQjWv3M4eMq/Vh8pu5qvZ4=; b=AaEDRNxubRtRsi5aT1K8MdoCLkg/2f59LXR2ZkKdxdnZPMbDDdSQO4ZHS3D064/Lth CAKIuY4ql2of6hvYGbLqNUwC9Yr5AWASQAXQFO8S7RevPG1GEjeLSi8dBoMsNZCtSjSI hnDRiRwcFl1AEeFpIrSB3gG+95Y7qwrtx1Wa3pNQv5yG8ViVx2IvEfCz/E52GfbO1rFH C9LwdQo1u00rCzehy1Nv7NRPG+2YVeXL6r0CjJZJ6RT1Bzc7ezkxmMNHRAAg9Vht7Ils Yc/V1qN1AqnRT60q9o2HkO+QVP/lpOzwasD43SYQwKu2J4EQxzqGhLgCi0N+NXMMlDGr jJZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681862941; x=1684454941; h=content-transfer-encoding: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=9B5rcV6G1vRXNX25ISz1GmQjWv3M4eMq/Vh8pu5qvZ4=; b=ITQMIszr6usYr40C7KzRFa+f9V2R6QZFX1vSsw2pZyhp1cpCPikk0SsT8kh0NZ181s ao1FdXx24lY2xcwWbIBantAouV/faIAICS+feFNec8ZHb0pNUsAdLCsZ1BIJzhGYuEgV useB4ch7eLM1l6nz6p0C5TTGn2u0eOcpS1Szy8HtJj0VM5hoZhMeKa+1/QBKHC2KCbNf zpQxngdur5k00yWnTCQFZ0bZKP5dPTXjORvlXRzlmREhczy+PVQLnPfyIjsvkn0lGQNy BfG5SlMZWGe9ODSkB/BdAGKjM+KF2SHUFZX+R4EI0PDfsRlTOTw+DX/DB5W1axFudfIl Z9WA== X-Gm-Message-State: AAQBX9di73KOPJ9ZURjaTg05z9H3gh3V7uiqg2j/RLVmHCJoD/EBkyGO wU+PrMtvcP7y9pn1O0SlSYQYZh995h9klEToysY= X-Google-Smtp-Source: AKy350akjPFOExcTvjAl1qIjAFJmpPB9LZLhNzWIQIDLICTDJiBV5Y0InuP31HRS4hhcW7qf/lDbDinV6LGzUcf6PLA= X-Received: by 2002:a05:6870:3927:b0:177:9f48:6284 with SMTP id b39-20020a056870392700b001779f486284mr2930136oap.14.1681862941374; Tue, 18 Apr 2023 17:09:01 -0700 (PDT) In-Reply-To: <87edoimc02.fsf@posteo.de> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:260249 Archived-At: On Mon, Apr 17, 2023 at 10:31=E2=80=AFPM Michael Eliachevitch wrote: > > > >> I just compiled the latest emacs29 git branch and there I can't > >> reproduce > >> the error > > > > This is good. You could try a Git bisection if you have time and > > know > > how. > > I did a minimal Git bisection on the eglot.el file only, without > recompiling the rest of Emacs. Seems the error was introduced in > eglot.el in > > a74403adda0d67b6f0430d1c038a7c96579f3450 > Eglot: fix LSP "languageId" detection > > It still works for the previous commit 43290391ce2. Your bisection was very effective and found the culprit. Don't worry about your "awkward" setup and configuration just for this bug, because I also found and reproduced the bug with your instructions and it was just a plain old oversight after a deeper-than-usual refactor. The bug is fixed now on master, just pushed the following commit: commit 9093834d0b590bc15ed994bd62f18f7b47a48f55 (HEAD -> master) Author: Jo=C3=A3o T=C3=A1vora Date: Wed Apr 19 00:59:17 2023 +0100 Eglot: unbreak activation/management of derived modes (bug#62907) So thanks for this report and perfectly complete recipe. I'm closing the bug (if you find it to be somehow _not_ fixed I will reopen). > 2. I'm sending my Emails from mu4e with format=3Dflowed and long > lines, inspired by [*], so that Email viewers with f=3Df support > reflow the lines and non-compliant clients like Gmail just reflow > them because the lines are too long. But I found this kind of sucks > when viewing the Email text on the debbugs.gnu.org website for > instance. Do you know if these long-line f=3Df mails are discouraged > on Emacs mailing lists, bugs or patches? Probably I should adapt > `fill-flowed-encode-column` based on the recipient and not use the > setup with long default lines on software mailing lists, will try a > smaller value now. Hopefully my mails looked okay to you. They looked OK but not the usual. The usual being the hard line breaks and about 70/80 columns I'm guilty of using Gmail to answer half of the mails I send to these lists (the other half I use Gnus). In Gmail, I break the lines manually (sometimes horribly). In Gnus I use M-q to justify the text. I have no idea what flags any of these MUAs is sending. Jo=C3=A3o