From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Restore emacs-29.1 eglot behaviour on master Date: Thu, 22 Feb 2024 15:39:40 +0200 Message-ID: <86ttm01uub.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9350"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: "Pedro A. Aranda" , =?utf-8?B?Sm/Do28gVMOhdm9yYQ==?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Feb 22 14:40:38 2024 Return-path: Envelope-to: ged-emacs-devel@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 1rd9JV-00026N-Ub for ged-emacs-devel@m.gmane-mx.org; Thu, 22 Feb 2024 14:40:38 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rd9Ie-0008OB-0h; Thu, 22 Feb 2024 08:39:44 -0500 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 1rd9Ic-0008Nx-MR for emacs-devel@gnu.org; Thu, 22 Feb 2024 08:39:42 -0500 Original-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 ) id 1rd9Ic-0005H9-DG; Thu, 22 Feb 2024 08:39:42 -0500 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=/31FAp9aEspWrAnDuOzIJuOty7i71Yc+PhrZoMv9MMA=; b=BZX4Fu32NlUJsYyyIg/6 mv1vNeiolV/gj89GH6NqXmUP0zTUDh4IZl5MM3eDKbWT0z6Br7zvb8s56KBHZuP7habT/ZdSb4qd/ 5isF0ijI6pvTZ46FkDsm1qoX+Z0NBbzJKeOiil1TsO4Dy3ayoo5ryzi2N3U56dUAISP3mT5xw1gfx qMfvppH3SJLUSrJe/tlD2vSQ2SfCHkNyrlM8MsmXlf8lGk3eS0PgRfr3Cfvw/cbwvWkITBMXHpuR3 xQJbLh5GFFUiRl3zLo5ZAixg40aDkmPS9ckttqlLKlV+Qd8aQ0T4LQEK6XHSY2mApSFrHwbAbudJ/ wIl4uwYy5UopDQ==; In-Reply-To: (paaguti@gmail.com) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:316450 Archived-At: > Date: Sun, 18 Feb 2024 07:36:46 +0100 > From: "Pedro A. Aranda" > > Hi > > I've been having massive problems with eglot on master. I understand > evolution, being on master, etc. but this is taking too much time now > and some LSP implementers understand but others don't even react... > > I'm mainly working with Python and LaTeX and this is my eglot config: > >   (setq-default eglot-workspace-configuration >                 '(:pylsp >                   (:configurationSources ["pycodestyle"] >                    :plugins (:autopep8 (:enabled t) >                              :jedi_completion (:include_params t >                                                :eager t >                                                :fuzzy :json-false) >                              :flake8      (:enabled :json-false) >                              :pylint      (:enabled :json-false) >                              :pycodestyle (:enabled :json-false) >                              :pyflakes    (:enabled t) >                              :mccabe      (:enabled t ;; boolean: true > (default) or false >                                            :threshold 45))) >                   :texlab >                   (:completion (:matcher "prefix")))) > > What I have learnt: > > On emacs-29, the section relating to the LSP that is used when on a > specific buffer (and only that) is sent tp the LSP. And everything woks > as expected > > On emacs-30. the full configuration is sent. That confuses the LSP > servers and they start working with the default configuration, which is > sometimes of little help. > > Could the original behaviour be (re)implemented in master, please > > Thanks a ton in advance, João, any comments or suggestions? Thanks.