From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Michael Eliachevitch Newsgroups: gmane.emacs.bugs Subject: bug#62907: Eglot does not start managing LaTeX buffer despite reporting successful connection Date: Mon, 17 Apr 2023 20:29:26 +0000 Message-ID: <87edoimc02.fsf@posteo.de> References: <87354y1ofp.fsf@posteo.de> <87r0si9xhl.fsf@posteo.de> Mime-Version: 1.0 Content-Type: text/plain; format=flowed Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20554"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 62907@debbugs.gnu.org To: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Apr 17 23:32:25 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 1poWSW-00053i-5E for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 17 Apr 2023 23:32:24 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1poWSD-0006vl-JU; Mon, 17 Apr 2023 17:32: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 1poWSB-0006vP-0S for bug-gnu-emacs@gnu.org; Mon, 17 Apr 2023 17:32: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 1poWSA-0006Ec-OZ for bug-gnu-emacs@gnu.org; Mon, 17 Apr 2023 17:32:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1poWSA-00060S-90 for bug-gnu-emacs@gnu.org; Mon, 17 Apr 2023 17:32:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Michael Eliachevitch Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 17 Apr 2023 21:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62907 X-GNU-PR-Package: emacs Original-Received: via spool by 62907-submit@debbugs.gnu.org id=B62907.168176711423070 (code B ref 62907); Mon, 17 Apr 2023 21:32:02 +0000 Original-Received: (at 62907) by debbugs.gnu.org; 17 Apr 2023 21:31:54 +0000 Original-Received: from localhost ([127.0.0.1]:57090 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1poWS2-000602-11 for submit@debbugs.gnu.org; Mon, 17 Apr 2023 17:31:54 -0400 Original-Received: from mout01.posteo.de ([185.67.36.65]:34687) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1poWRz-0005zl-PO for 62907@debbugs.gnu.org; Mon, 17 Apr 2023 17:31:53 -0400 Original-Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 9B73E2401D4 for <62907@debbugs.gnu.org>; Mon, 17 Apr 2023 23:31:45 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1681767105; bh=Ck+4CVLt/+8oUP8hFdZfqKZ+3QmWlctwHrGpaixGfko=; h=From:To:Cc:Subject:Date:Autocrypt:OpenPGP:From; b=b/dOzMKMOnYtfJc2/X2z6eXbL/H/cmKENr8lIMmTwwJL61lfPW32GBV4F7m7tNorK L+G3Y4To3ovu+MuaYg27Us+R7URo5zT1nqadHZhZwZKzwBTGZUjvP4z+pfhYOO2L2X pWtAYvIkI3f+sSRwjjGpzUFmaNR4ua1v0zTcrqLp2j8DqL0U6MKltULO+2fmJt+kj4 KFNeGjzyFPUQh0tBKR7HDy7z5H7AmLl4BCrMF5mo/4StF4HXxvbIyKOwi9HIRlz/cW 8R2xO29dXoZeV7j1blR6/1zcy6wLxbNqmVFB9CciQGdNI+aXi+xiKVhRMF67kH+sve rqvScH4bUMLqQ== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Q0gH46SNXz6tsB; Mon, 17 Apr 2023 23:31:44 +0200 (CEST) In-reply-to: Autocrypt: addr=m.eliachevitch@posteo.de; keydata=xsBNBFHFxZABCADAAv2siayhA7Etl85WcwcyMPBD2bt/6Wh3A8a12AURV5J4tprzgbdlxC0w1LofvklG7ls25NERAY931hvQW+f5GEI0pwoNNFXEkKDa8/J4SxhrqXx8CJA85owPq1g4cFeO1ooQJ32BewlRGsnhd+taYExZ76oaMnFtx6jYjf6mPbjDyiLhC+Og3MBpOqAnmX7mhStgJl0uru1ZGEB17tzzVuQ4ljDv/MvUagVFymQBhmlbzvze5eLeDn90Ot0DjWHy3HzCFMEnVqQy8rmEA8N9GOANwyMY79KVymsPakeNwacPRFzYXCZvolC5jtY6I/1ALvVtNc45JyZWty+rMPo3ABEBAAHNGG0uZWxpYWNoZXZpdGNoQHBvc3Rlby5kZcLAlAQTAQgAPhYhBFRpCMeCODrQ59iU7BuPlcgSXc4xBQJgUmWNAhsDBQkSToKgBQsJCAcCBhUKCQgLAgQWAgMBAh4BAheAAAoJEBuPlcgSXc4xqC8H/06lkI7BimgkSobuEzsD9LsIPEyz5uUaQAP77u1nfoO1vB0DEdPxn7f3H3Hs7nyUfPgvgsn+9rTSV+ubHH5f/bzgQZgES2WItbV7iM290j6nWSc/iCTLlTmM2KMNvbMB9xGzV0m+UjMyAa9zUhB/3N+rd5ya/oSiTKw2/UbgfM5fR1knIUgPDENlKjJvO7/71Sxwpc+gKvAR9lHRT8JzQMyFaFO+zbo53Z7FzDTuj7zVyQ4MPIhe+UMI4rtNZeyPDM0QTep0+N39JbDhvUVevOh 15XJTYXl2Zdhl/yunnOibtg3XKtToakc4FjWJGrw8njbges5YqaodeMq OpenPGP: url=https://posteo.de/keys/m.eliachevitch@posteo.de.asc 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:260196 Archived-At: >> 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. I started it with git bisect start master emacs-29 -- lisp/progmodes/eglot.el in an Emacs repository. Than, at each step, I opened "emacs -Q", where the Emacs executable is compiled from the same Emacs 29 branch (as I said I didn't recompile). At each git-bisect step I just opened the eglot.el file from the Emacs repository and ran `M-x eval-buffer`, then opened the LaTeX file, ran `M-x eglot` and checked the value of `eglot--managed-buffer`. 1. At the moment my Emacs setup is a bit awkward as I compile Emacs from the Archlinux AUR repository via the emacs-git package. I tested emacs-29 by just editing the branch into the PKGBUILD, but this PKGBUILD-editing approach wouldn't be appropriate for a git bisect, for that I should probably just clone and compile Emacs normally. I have cloned the Emacs repo, but never set the compile flags myself. But probably should do that in the future if I want to follow Emacs development and be able to patch things myself). 2. I'm sending my Emails from mu4e with format=flowed and long lines, inspired by [*], so that Email viewers with f=f 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=f 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. [*]: https://vxlabs.com/2019/08/25/format-flowed-with-long-lines/