From unknown Sat Jun 21 10:40:33 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#67480 <67480@debbugs.gnu.org> To: bug#67480 <67480@debbugs.gnu.org> Subject: Status: 30.0.50; Cannot start eglot Reply-To: bug#67480 <67480@debbugs.gnu.org> Date: Sat, 21 Jun 2025 17:40:33 +0000 retitle 67480 30.0.50; Cannot start eglot reassign 67480 emacs submitter 67480 Mou Tong severity 67480 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 27 03:18:03 2023 Received: (at submit) by debbugs.gnu.org; 27 Nov 2023 08:18:03 +0000 Received: from localhost ([127.0.0.1]:43185 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r7Woc-0005CO-K4 for submit@debbugs.gnu.org; Mon, 27 Nov 2023 03:18:03 -0500 Received: from lists.gnu.org ([2001:470:142::17]:47798) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r7WoW-0005Bn-AR for submit@debbugs.gnu.org; Mon, 27 Nov 2023 03:18:00 -0500 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 1r7WoJ-0004Cb-TU for bug-gnu-emacs@gnu.org; Mon, 27 Nov 2023 03:17:43 -0500 Received: from mail-bn8nam12olkn2081e.outbound.protection.outlook.com ([2a01:111:f400:fe5b::81e] helo=NAM12-BN8-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r7WoH-0002LU-Tf for bug-gnu-emacs@gnu.org; Mon, 27 Nov 2023 03:17:43 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UiVghl53+cTNwZiTkZUcj/3rfiky5wqqNeyo0XdzBEhUoFYcJKm8J6tWkooDKOJLABW4ZzzXDxkzUeCvgjFZLSPSEv9M/GvkTc0guvAzw2GtjxO0MpPR5i/EX1oRSKVPbQR/RQaW+UKitpWPee+ah3LN0jxTzpj0veuVgXHH6P0lpiHXtHpK6jngLMed8fIvwVUN+9x8ZDqSIx0zezKObZX00PoI01ILIDoiaZYUKjX2jrZM464+8m5WWIXdPvCft3RC0HfnL/zdgjGXpsLngSvFgA8DsQHUTPRUIzMxzEKHN4VzTcdJKJtZfMMktq1YdT4qZkWMUxbN8PtG4vlSXQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=Pcfnu2ZmW5DKAZvdGQrS9VCp+pvYPHrLGyFKSEjOLbE=; b=JeqSX5JULnm3TIq/uH27eeF0R8gW17fK6/R86Oz5z3b//RdgPZEszyBhQgq0ON5VVen27dsRqlI2ZuqwwS0H/e2UDtnnoAAT4KfuWEhtOHI1g5uJ4MZBZIbaBmx3ACnm6FpjwXqAYqG6uoiHhktyWNPqKkn8QeHlbHIVJjVnuy4RrPhMJzJljhGnvmn7c++EDQ5a58P3qx9Ppnsiczy/V0Rk8gZ8q5b3Kt7SemWG3teRfD0GI9foimdy3bNakNBL6z7jTHOBIgCCoQsNNg6omj7Hrer7PirARsiAsDd3hdnP1yo7S0ps+l9DPQWXzPOpoCt8X1XgVbUhaqDeij7UZQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Pcfnu2ZmW5DKAZvdGQrS9VCp+pvYPHrLGyFKSEjOLbE=; b=DbzZUayntrbLNwJ/NiB2KpXEN9I/ZJ8hztcNQpVV6VY6b3XkhWXy6MuZ1wYU5yPbkpCG7/oMnGTcbqaqCDpZVaTU8kLbIGKoNZz0mgwqDdwq1G8O5GQv5xiATCpGV7mamIhaYZ6PinPiD5m1TLrTZQRssNhg+1620rV8kZ8jJXxV6/oZAoL506gQUBA+hwP/DWzg5FE7mFf0dhNze2Q3wQ4cl0cUHCF5gH+FWXfEh6DcVI1HBTJQcLrIB6FsEeLVHlM8Ck6bCsQU/tO3hlcWZo8AF1SyAiVmrHxgC+ryCKhX5eT7CAKg+EM1hl9KFBdIU6G2JQ3OYI+MaRFJlV6RFA== Received: from SJ0P220MB0675.NAMP220.PROD.OUTLOOK.COM (2603:10b6:a03:3ad::6) by CYXP220MB1177.NAMP220.PROD.OUTLOOK.COM (2603:10b6:930:dc::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7025.29; Mon, 27 Nov 2023 08:12:36 +0000 Received: from SJ0P220MB0675.NAMP220.PROD.OUTLOOK.COM ([fe80::ab08:a1eb:d318:9fae]) by SJ0P220MB0675.NAMP220.PROD.OUTLOOK.COM ([fe80::ab08:a1eb:d318:9fae%3]) with mapi id 15.20.7025.022; Mon, 27 Nov 2023 08:12:36 +0000 From: Mou Tong To: "bug-gnu-emacs@gnu.org" Subject: 30.0.50; Cannot start eglot Thread-Topic: 30.0.50; Cannot start eglot Thread-Index: AQHaIQl6ald4Irw3tke/McQx5cLkRA== Date: Mon, 27 Nov 2023 08:12:35 +0000 Message-ID: Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [4QdH3rLYvMUC2RR0yi6ODc/eJMsNk+zQ] x-ms-publictraffictype: Email x-ms-traffictypediagnostic: SJ0P220MB0675:EE_|CYXP220MB1177:EE_ x-ms-office365-filtering-correlation-id: b941a8f3-0c09-4845-6f44-08dbef209d36 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: GKfSPq73sjKT6V69AO7N7F3hjh8+jq1yayX8eouUiQK5onRMxClNDa+KwJCd2ufivNGchzcJudM7qIVPdLxpjnIDsQCNI4fQB2oXb5FtVfSy/aakflmf4OpYDk7pgMjETaVoYEpBW/eE5Fu5Lqjk6fOVEE/7fCuVfxoArIXwdL85qxvUphMKABaQwRa7CR2qeo6tHfD0dAmOawQjtWQDfQMDcAbrw9aQKQAUkclLwo+e24QrTh6UUv9z+qBy1hx7ydgmlxAu0rFJExydAt8z+e5e0FQu3gTuMf2Hjrz4cLI60mZvNYppcwVl9qMBW6tf3Kvlbj5EkagaoyI0GvlXns6qlQKT7oAmjOz9jJ482oxrw0h1XxvPs/EVfAS8oq8hOANEKUJrZTj9nYnSZhK9bhMAArPAHcsT+XWW4noTJVNaUgsCmazodI6ksT7aS7iv4dR3UrrrTpy65/pRQJGwYaX7+2eSo9oYxa/+hvb0wG0WlweoYySkhnoSKMXUrHvhaM9RiHcG2w75L7gh5EhooEp6P0B4+lD4tzUV0fNw5Ytb+yD+li7R/QcI4zImYwme x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?3TF/ZIF5VoVWnt20l2UgKV2m2d+zPEUi2YtBAOGGxZleXrNHyrzsc90CroCe?= =?us-ascii?Q?YAv4AxwrGBUj7kx3SI6prMaU9MJtXLuT7xFUf4cHUlUEvQOYIYdfp8+dDzqr?= =?us-ascii?Q?SB+r7xklGDPFh+d5/PD/tBLf1+1Sd1dfomt6efgGgSYCQeXEMV0Qjb8+CDgM?= =?us-ascii?Q?noUKdM71aek5q0TvBcVgnynCaLZ/9uX1bLZedZR8vxiywVU+o492jx+KlGAp?= =?us-ascii?Q?UfE14CaF3ZaBhrBXpfwcGyezRCbsjDStOUbAIfrf5wa36/lFDDM/NDWghEX9?= =?us-ascii?Q?svR/dlZ4nlH2+Dp5uk0mii2nDSSHAHkIXc3LxXEnd3tOdE7PlRdRu8q6RBPZ?= =?us-ascii?Q?6mlXJx3z/TzKsnmiSUNWZlEbjrPPgpcnNn31lyer2ARsQqGlrYWEri1uFyYP?= =?us-ascii?Q?wmwPMRdF/mPz1wThd2vYL7xUXV0mPj37ynFF7VYF/Iw560Owu+igGyRnSIvx?= =?us-ascii?Q?OfjcMoX1aDeChYgecB2ROZ9pBUoOQpwLAUL/bIy+9ssxylfajBh2Y++q6Bvk?= =?us-ascii?Q?6BiypdYY4GY2ifV3nfgM7jDlCIjXjUo+Np+G4EfT0Gb3i+gs8qUuGScrDq1E?= =?us-ascii?Q?xMO2Xhwg9y8XBKF6zKw/OnMTxfmExyp+aKE3Kw2MgBokm9OO+jF2l7geP8D7?= =?us-ascii?Q?2enVoasKL9cKegiu6QF2WyTIDqvQXFkjkaCsHFHKhDv//3v3b+Pff2pbwmKR?= =?us-ascii?Q?Je0DtAMIaP3KE8u75TztXHKQJXrf6S0TPq+4NdkSVAcJfKIkbOgBxcImTu39?= =?us-ascii?Q?ppmEkyf98Ps7Vac9FHVxNH5Mvt6P2wVDrDDNE5jwiQ8ZvIQPbMAnO8jCEN/W?= =?us-ascii?Q?YhdCTUB6Ai522BcAk5AxPwcfzLRrOzav+Hy41SD0JPeYgEsyl5o62ARlAL5P?= =?us-ascii?Q?tYYmIWs814R/AYVBzqQc+cAbpZ9hpHy0uGS2vovoh1dHHwF5o9YrhjSCe8iy?= =?us-ascii?Q?drJl4FbY8D7zvgCQqjNHGRB+WpU/I1bR5MFkzNmK+fllqEwPiP0L/giabLx0?= =?us-ascii?Q?Y6wLZRdoiWxT2hpm6DNjV4RDwoTkwBCxILlRnVNg3Wdd6IOPbT832bEprAmf?= =?us-ascii?Q?nGQq2s/Y7SL63TkXsr9uLGwpxZXzdxKAGr5RlyN+3zCZj736U052BK6V2OVi?= =?us-ascii?Q?UQLuiOdHBdzaeeHYiFZKp1U6GSpZRc3xFkuncE8B0OAIHow2GIU4+MVesi47?= =?us-ascii?Q?Y+IdulbSef9Xo9njQaOgg4VVNv3XlXbFaZ+hgZoQ9D1E1M++jD/e4+gcGe8?= =?us-ascii?Q?=3D?= Content-Type: multipart/alternative; boundary="_000_AA1B95AB624E46138A750D1365080F2Aoutlookcom_" MIME-Version: 1.0 X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SJ0P220MB0675.NAMP220.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: b941a8f3-0c09-4845-6f44-08dbef209d36 X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Nov 2023 08:12:35.8261 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CYXP220MB1177 Received-SPF: pass client-ip=2a01:111:f400:fe5b::81e; envelope-from=mou.tong@outlook.com; helo=NAM12-BN8-obe.outbound.protection.outlook.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, HTML_MESSAGE=0.001, SPF_HELO_PASS=-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.0 (+) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) --_000_AA1B95AB624E46138A750D1365080F2Aoutlookcom_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable 1. `emacs -Q` 2. Open a src file and `M-x eglot` 3. Get the following message: ``` Loading project (native compiled elisp)...done Loading eldoc (native compiled elisp)...done Loading seq (native compiled elisp)...done Loading flymake (native compiled elisp)...done Loading xref (native compiled elisp)...done Loading jsonrpc (native compiled elisp)...done Loading external-completion (native compiled elisp)...done Unbound slot: eglot-lsp-server, "#", -events-buffer, oref error in process filter: Unbound slot: eglot-lsp-server, "#", -events-buffer, oref [2 times] ``` I tested `.c` using `c-mode` or `c-ts-mode`, `.rs` with `rust-ts-mode`, all of them show the above error, so I guess it's not major mode's problem= . --- In GNU Emacs 30.0.50 (build 1, x86_64-apple-darwin21.6.0, NS appkit-2113.60 Version 12.7.1 (Build 21G920)) of 2023-11-27 built on dalum.local Repository revision: 2407f810136739da376ff0929b247a49dc196299 Repository branch: master Windowing system distributor 'Apple', version 10.3.2113 System Description: macOS 12.7.1 Configured using: 'configure --with-native-compilation=3Daot' Configured features: ACL DBUS GIF GLIB GMP GNUTLS JPEG JSON LCMS2 LIBXML2 MODULES NATIVE_COMP NOTIFY KQUEUE NS PDUMPER PNG RSVG SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP XIM ZLIB Important settings: value of $LC_COLLATE: C value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: C/* --_000_AA1B95AB624E46138A750D1365080F2Aoutlookcom_ Content-Type: text/html; charset="us-ascii" Content-ID: Content-Transfer-Encoding: quoted-printable
 1. `emacs= -Q`
 2. Open a= src file and `M-x eglot`
 3. Get th= e following message:

 ```
 Loading p= roject (native compiled elisp)...done
 Loading e= ldoc (native compiled elisp)...done
 Loading s= eq (native compiled elisp)...done
 Loading f= lymake (native compiled elisp)...done
 Loading x= ref (native compiled elisp)...done
 Loading j= sonrpc (native compiled elisp)...done
 Loading e= xternal-completion (native compiled elisp)...done
 Unbound s= lot: eglot-lsp-server, "#<eglot-lsp-server
 eglot-lsp= -server-1feea1d8dd60>", -events-buffer, oref
 error in = process filter: Unbound slot: eglot-lsp-server,
 "#&l= t;eglot-lsp-server eglot-lsp-server-1feea1d8dd60>", -events-buffer,= oref
 [2 times]=
 ```

 I tested = `.c` using `c-mode` or `c-ts-mode`, `.rs` with `rust-ts-mode`,
 all of th= em show the above error, so I guess it's not major mode's problem.

---

In GNU Emacs 30= .0.50 (build 1, x86_64-apple-darwin21.6.0, NS
 appkit-21= 13.60 Version 12.7.1 (Build 21G920)) of 2023-11-27 built on
 dalum.loc= al
Repository revi= sion: 2407f810136739da376ff0929b247a49dc196299
Repository bran= ch: master
Windowing syste= m distributor 'Apple', version 10.3.2113
System Descript= ion:  macOS 12.7.1

Configured usin= g:
 'configur= e --with-native-compilation=3Daot'

Configured feat= ures:
ACL DBUS GIF GL= IB GMP GNUTLS JPEG JSON LCMS2 LIBXML2 MODULES NATIVE_COMP
NOTIFY KQUEUE N= S PDUMPER PNG RSVG SQLITE3 THREADS TIFF
TOOLKIT_SCROLL_= BARS TREE_SITTER WEBP XIM ZLIB

Important setti= ngs:
  value of= $LC_COLLATE: C
  value of= $LANG: en_US.UTF-8
  locale-c= oding-system: utf-8-unix

Major mode: C/*=


--_000_AA1B95AB624E46138A750D1365080F2Aoutlookcom_-- From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 27 08:10:39 2023 Received: (at 67480) by debbugs.gnu.org; 27 Nov 2023 13:10:39 +0000 Received: from localhost ([127.0.0.1]:43500 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r7bNn-0007Vp-EW for submit@debbugs.gnu.org; Mon, 27 Nov 2023 08:10:39 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:49602) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r7bNl-0007VZ-S5 for 67480@debbugs.gnu.org; Mon, 27 Nov 2023 08:10:38 -0500 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 1r7bNZ-0007l7-8z; Mon, 27 Nov 2023 08:10:25 -0500 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=p8cg8NgYK+2QKOpvYLviU5JvIamaG2IFDoGxnGfFYWg=; b=oFKFCIw7tKRr 4b4tn2oi2e/N1aIV+gkAVD/PAeAosLyEOihfYsBD2NFnpLbP0O5VhLftPic517jGyRLacfPZP3s/D JWZxcxrWAbM1X6FK58j43+e8O1m1AtNp9Pw1GiWwURUubicRFP1RqVuPjNfE6vmObq5FiqouUjjWU H47wNhhMB6Y4aQmuc9DXx7oyTL3adoWBvF1Yw9x8Xcu/uhXsehfBsSOEzDjjn9kktOhSyXkdb5IFA qhcY/PnBbAT3jCrimsj9sG+Or6eQHPt7PWGq8STcw6nnLui9sbzm76ED+ff1BR9qb9NEjqaQ7GGhC AaHAZBr2WcZye8ZTRjmyyQ==; Date: Mon, 27 Nov 2023 15:09:49 +0200 Message-Id: <83y1ej8hr6.fsf@gnu.org> From: Eli Zaretskii To: Mou Tong In-Reply-To: (message from Mou Tong on Mon, 27 Nov 2023 08:12:35 +0000) Subject: Re: bug#67480: 30.0.50; Cannot start eglot References: X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 67480 Cc: 67480@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Mou Tong > Date: Mon, 27 Nov 2023 08:12:35 +0000 > > 1. `emacs -Q` > 2. Open a src file and `M-x eglot` > 3. Get the following message: > > ``` > Loading project (native compiled elisp)...done > Loading eldoc (native compiled elisp)...done > Loading seq (native compiled elisp)...done > Loading flymake (native compiled elisp)...done > Loading xref (native compiled elisp)...done > Loading jsonrpc (native compiled elisp)...done > Loading external-completion (native compiled elisp)...done Some of these files are preloaded, so I don't understand why you see these messages. I suspect some problem with your build. From debbugs-submit-bounces@debbugs.gnu.org Tue Nov 28 01:06:42 2023 Received: (at 67480) by debbugs.gnu.org; 28 Nov 2023 06:06:42 +0000 Received: from localhost ([127.0.0.1]:45345 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r7rF3-0000DN-NA for submit@debbugs.gnu.org; Tue, 28 Nov 2023 01:06:42 -0500 Received: from mail-dm6nam11olkn2080.outbound.protection.outlook.com ([40.92.19.80]:64608 helo=NAM11-DM6-obe.outbound.protection.outlook.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r7rF1-0000D8-QV for 67480@debbugs.gnu.org; Tue, 28 Nov 2023 01:06:40 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RtEyErvKrD9m9SzximpQH4oE0MIs+tWTV4rG4joYqQlkzr2EPc0HFNZ0H6P0fHcV4d/4QJ082Q/flUE9DZ29FqdS3ya0c295dkXI1zoHQMwKL/Rti28pcAFITA4LpwbkiHfnutoyDUIH5k9BVjLOSK6l1NJA1pz7wRZENmYT4WnuvG16dmke3zTxIoVBRMdMpdN+V5iLs3WJg7quSSXnBMd3aV764T4JtTe2exKMzsp7uBgOfupvWcn3r0U1Q0FsZHRT70s8JKDWR4d5/jKCycvQ9ID9eu7dQ6OItBYrdE54KN38ez3j+Y5zFGgfovEvCaOnQzQCAqha2CRFe+N0fw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=pPuDpPyCnbk80TbfLeuGpvbVtEMcoVqjBTBkCqSfGAU=; b=Y+WJdxf3nku21CQ2LgHSJI5z5V+MzXoXuIlUGGIWyb9xjWoeq8Qt44X1HXAkbSqKGsBIOCoOc9CMlDTOFLrqi3cJHlAhuF9LwFvytjWRMFZAQ8jK8hmCLmplEl757MAGZVP42wj64c1lGMi21QKwsTO0eI9KAI6H3kyoOk2hMA18VjbaU7c9F67NkomK3+LME/CATScJSI+qywGorvav74ueouH8A/J1xke7GrjBYG1vtj89s/3HxzsdXVRkTaFMOGxQGNICS7rZNlaIB3BfoYLxkyQdutQnwIgThZbdLbaVF1AMm6IEzmXwoI29W7enUW48ew4aPs+/DTfXeciURw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=pPuDpPyCnbk80TbfLeuGpvbVtEMcoVqjBTBkCqSfGAU=; b=cMvIefQYezQCVC8QsjghHzx9byKxoqeHHDgi/hZN3YQetdUoOl5Mw/ludlfgPA0MjVTq7ZBxZJGc9KWrOicSfnrsQ/maQqEZh46am+vtmSPr7sjjBQKwVY/kNtPX/TeUPVvRxa+PUGoABehuFRNU0oyIxwHeXETM61cLL3QvAqAPUWYXNqIFIgZFeggL4iQaAXQGDm8hcMUEgQfRJ8suikrJhHuzhluc1UfsCFIB0F/CWoI6bjypmRL6As49+l07aGjVc/wiXu3isr3WeL2u7Nx1u+QgZIbOXvhfgjtbbud5suGb34amz0DQkpD0xlrII0gya2mSi5iTk5FL9rxiOQ== Received: from SJ0P220MB0675.NAMP220.PROD.OUTLOOK.COM (2603:10b6:a03:3ad::6) by EA2P220MB1547.NAMP220.PROD.OUTLOOK.COM (2603:10b6:303:25d::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7025.28; Tue, 28 Nov 2023 06:06:26 +0000 Received: from SJ0P220MB0675.NAMP220.PROD.OUTLOOK.COM ([fe80::184:6498:1a43:539f]) by SJ0P220MB0675.NAMP220.PROD.OUTLOOK.COM ([fe80::184:6498:1a43:539f%4]) with mapi id 15.20.7025.022; Tue, 28 Nov 2023 06:06:26 +0000 From: Mou Tong To: Eli Zaretskii Subject: bug#67480: 30.0.50; Cannot start eglot Thread-Topic: bug#67480: 30.0.50; Cannot start eglot Thread-Index: AQHaIQl6i6tbcjxtPEKljQ2a4bpDh7COJB21gAEb1IA= Date: Tue, 28 Nov 2023 06:06:25 +0000 Message-ID: <6FCCDF6F-E29A-4C0E-9A57-168B226418F6@outlook.com> References: <83y1ej8hr6.fsf@gnu.org> In-Reply-To: <83y1ej8hr6.fsf@gnu.org> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [Y6hyn9qAaLGYwYnnyj5Vr3tZ+urB+aT5] x-ms-publictraffictype: Email x-ms-traffictypediagnostic: SJ0P220MB0675:EE_|EA2P220MB1547:EE_ x-ms-office365-filtering-correlation-id: fe0804a7-c118-43c1-bfe0-08dbefd82774 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: nUaFCao8ZwP0QvC67pW9cmjCUTheJ3Y9u077Hsn5LZn17woMN5hKWwCu6aJ7JBv/PuZaOchI4ubLz2/FsO7poYmpnjmCEQHRHcpeKnariLdBe7+FZCSm6DTdfKKP2lpwB+BFk6rUU2wAHKdzIaUFTqUVgS03BOO3FMnY8TO2ZO/+K7V/6ORmLrvq+jKpS9ColRo91CC4P9SO/5GnIRpkzGa6UnLcYuB64FtrjcPCSWqkgez+HNl2TXCWxyMzLUOirHSHJ78+ku0vR94z+JBzBkZ3383pjhPratDyE81uxGJJFhfWL/O9XTlsfyQ4HBY1sdzH6vJ5O2J852LMcV4dMF8puDsBERWji1JVpfRbBjbPpT4Yp/d6mI+WDlz5VkxmBJtWxgqZRAfJYMEvzeH6HuMlH6Cn47OImaj722lOItDX7TN72Gtm/Dl7VFn2pMniFGXlU0JIEmCsn6VyD2UqOxKy0efGQseBpCjliQ6bmkSCyIorzo1fi6CZQTbNvHWZPIBO5nZGFp1OFnEGi3orPsdQKy5U4tDnc2dXY3F+pjMsNbjkgCcZnAa53pbH3EJmAI3/QugH5gOcaOVgbYI1DFJXeNc8VkaMk9j34Gdvt7F4SE8K8UiK+MFzgNnBw2Bh x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?zAMw/bvijFpEZ4kZtA0B5UdZz7warg9IsJoHA4Nmcq4Y4ktDnqFhJzXz9onP?= =?us-ascii?Q?pOS/oG40JSAOZB+cnRci7bOpRDM+ZNNOlO1smKlljZ2AyabXVk+8gHlWjyi1?= =?us-ascii?Q?bsrknY4jKCxFCDCB3sW3wL20VhBQObUpUI9c5xQxE9wl8ylTzgf8gcLjtOu1?= =?us-ascii?Q?D6/ngMg/Ej/0ijoaboY+7qeJe6cNZuCOK5wSSHU7kKOPhHPLU+7UUsJiE3fh?= =?us-ascii?Q?0jtm+2jTjjFv/ZM5HtxxN5titdDJ+DScKdyVgqM6NoOdaLZmYyqSYzYUuDxu?= =?us-ascii?Q?9uUyEu8J69JUQnsF1I7R/W86mA7aEPgz35OpUqy+OPbdjztapV5mR49mRlge?= =?us-ascii?Q?whqAD9uTq1cwlRx0J2rK03X9Z//ZWzbsRiijxWG9z9GwIsip9ZzZJ4dIsG62?= =?us-ascii?Q?gXo+kU8PuSZxVQtbJfqU/+DGr4UGlD+daNLG6cxrlqpvZfL4RsspAfdRDeNp?= =?us-ascii?Q?aM4550TVayx8x4tR8QBw/tJ95Yf9UPOt32h6Rq6+nb4NkGmL5hafZPK2TXcj?= =?us-ascii?Q?0RHsyXW+ifmMsex5vivPF01vPIjWieTQl16vJyUGaJPzZZajoCQ8nSRTgEq2?= =?us-ascii?Q?pZjt+CYPcr1UWUmSMXVCZZY78g8CfQLjAbUAbQMdjM5phREAn92tgmZAHMt3?= =?us-ascii?Q?my5Cp+Uhd1qvyrVKn5uWqXPoSNGTiE+ROQeGrNE9Mend94yOr7bdOVswW1y/?= =?us-ascii?Q?2PPCq+FII2kVzcX+lI3cIrwFXSXCHlog6k11SFJ7Kd4up+vrKxFvvJczM6Lb?= =?us-ascii?Q?U5xFzQJa18qf1hpBX6NIRqicwMIlMtS9huNY8wH9YqPC+ZAcchmk3Ap8oKZ6?= =?us-ascii?Q?sUnfaAMcraeSRMxd5WaXpgUuXvWHNzHYmtxi3+qoeqDR4SjzZLcBjp/D+fQR?= =?us-ascii?Q?6jleJMciwjtZP5gz5t7bw3SBrAF6CKbE1y+lo/GmF/XfWIl74RHl7HaKwJrY?= =?us-ascii?Q?Qj9oSe828X1Th65MKpi602bV0NcwzkmczgqX6gjkLatcu2Wpm8w5EPDyQCe5?= =?us-ascii?Q?ElM5ZCTXl6Seciyun/huW6tXex8zBCoZ2v5v5lT6YuPRfSEWjcP6DHtcjAth?= =?us-ascii?Q?APF9vGycKfly4GmkcYsvfK8p9F6++KOAxYa2HvEmE4XItyDJkumjOEL9zkMO?= =?us-ascii?Q?TgbM6h00UCkkeVtffvx8cf0Wgsbxmc5vADvlKuZ9SQ8eX7poxU8tCt8iAROE?= =?us-ascii?Q?xsJqwNzk19WW3bnT6/GoHu1FcZNBRciODiE9vhrO5zEsaeVFXhQkFsT1Dh8?= =?us-ascii?Q?=3D?= Content-Type: multipart/alternative; boundary="_000_6FCCDF6FE29A4C0E9A57168B226418F6outlookcom_" MIME-Version: 1.0 X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SJ0P220MB0675.NAMP220.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: fe0804a7-c118-43c1-bfe0-08dbefd82774 X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Nov 2023 06:06:25.6523 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: EA2P220MB1547 X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 67480 Cc: "67480@debbugs.gnu.org" <67480@debbugs.gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --_000_6FCCDF6FE29A4C0E9A57168B226418F6outlookcom_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable 2023/11/27 21:10, Eli Zaretskii > wrote: > Some of these files are preloaded, so I don't understand why you see > these messages. Eglot need these libraries to work better, like `project` to manage src as a project, `eldoc` to provide doc... > I suspect some problem with your build. After I tried to build different version, I can confirm the problem occurs after this commit: https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=3D6c47931a1ad4de4af3= f147b9604169c2441100fe After I reverted this commit, everything works fine. --_000_6FCCDF6FE29A4C0E9A57168B226418F6outlookcom_ Content-Type: text/html; charset="us-ascii" Content-ID: <7C616E674BB23F4BBE6355118DF13E5D@NAMP220.PROD.OUTLOOK.COM> Content-Transfer-Encoding: quoted-printable 2023/11/27 21:10, Eli Zaretskii= <eliz@gnu.org> wrote:=

> Some of th= ese files are preloaded, so I don't understand why you see
> these mess= ages.

Eglot need thes= e libraries to work better, like `project` to manage
src as a projec= t, `eldoc` to provide doc...

> I suspect = some problem with your build.

After I tried t= o build different version, I can confirm the problem
occurs after th= is commit:


After I reverte= d this commit, everything works fine.

--_000_6FCCDF6FE29A4C0E9A57168B226418F6outlookcom_-- From debbugs-submit-bounces@debbugs.gnu.org Tue Nov 28 09:24:58 2023 Received: (at 67480) by debbugs.gnu.org; 28 Nov 2023 14:24:58 +0000 Received: from localhost ([127.0.0.1]:45869 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r7z1F-0002K3-Ld for submit@debbugs.gnu.org; Tue, 28 Nov 2023 09:24:57 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:49344) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r7z1D-0002Jp-AI for 67480@debbugs.gnu.org; Tue, 28 Nov 2023 09:24:55 -0500 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 1r7z10-0001XA-Cg; Tue, 28 Nov 2023 09:24:42 -0500 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=pr+fW3tF4SDf6gsXTCpc4XUUUxirFJ2g39BGFOZ3ayQ=; b=BT87DJXn9QLx dW2Lucyec5Sfgqy/h5FlbDW90KTHHTCWB3fxWyxq4+32euK4egHixwEt2c6KWP5eQrKGPIEm3O22i nwhcySzvvgyCGsIwjgOxSsn6cZ0qJ5Fcwh6naL4KulKL/U0FhAZ3YhsKYPXd0jOtYPrvsjHOJkcHP 4JaL1O2g8xGFamGHmF+QazYZbGb4U1vVgtGeTIkK34obJS7euNM8KTyy36nG3A9GX8lyVq2ZKBNJb eapRdJ7Xa9Jyu1e5gBkh54xiNokVyh45HtbE6ercS6yJ3IhItGWoO7YIyi9g58eZ4Wu4h3HgIQPAh rkoHLWUs0AIYu633QPX67A==; Date: Tue, 28 Nov 2023 16:24:29 +0200 Message-Id: <83edga7y76.fsf@gnu.org> From: Eli Zaretskii To: Mou Tong , Stefan Monnier , Brandon In-Reply-To: <6FCCDF6F-E29A-4C0E-9A57-168B226418F6@outlook.com> (message from Mou Tong on Tue, 28 Nov 2023 06:06:25 +0000) Subject: Re: bug#67480: 30.0.50; Cannot start eglot References: <83y1ej8hr6.fsf@gnu.org> <6FCCDF6F-E29A-4C0E-9A57-168B226418F6@outlook.com> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 67480 Cc: 67480@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Mou Tong > CC: "67480@debbugs.gnu.org" <67480@debbugs.gnu.org> > Date: Tue, 28 Nov 2023 06:06:25 +0000 > > 2023/11/27 21:10, Eli Zaretskii wrote: > > > Some of these files are preloaded, so I don't understand why you see > > these messages. > > Eglot need these libraries to work better, like `project` to manage > src as a project, `eldoc` to provide doc... But eldoc is preloaded, so why would Emacs need to load it again when using Eglot? > > I suspect some problem with your build. > > After I tried to build different version, I can confirm the problem > occurs after this commit: > > https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=6c47931a1ad4de4af3f147b9604169c2441100fe > > > After I reverted this commit, everything works fine. Let's see what the guilty parties (CC'ed) have to say about that... From debbugs-submit-bounces@debbugs.gnu.org Tue Nov 28 09:42:50 2023 Received: (at 67480) by debbugs.gnu.org; 28 Nov 2023 14:42:50 +0000 Received: from localhost ([127.0.0.1]:45909 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r7zIY-0005Pq-DO for submit@debbugs.gnu.org; Tue, 28 Nov 2023 09:42:50 -0500 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:54030) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r7zIW-0005Pd-3n for 67480@debbugs.gnu.org; Tue, 28 Nov 2023 09:42:48 -0500 Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 9C88A100068; Tue, 28 Nov 2023 09:42:35 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1701182554; bh=o8xhaPCK4wCR0G81QHmUBrI2H6HH8PrLhWQ+gVpaC/g=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=gban+4gvy3yPa1ALHNSVNJ/+82dmIl00slOy0jEIj0rmB6AKiu33WCdhQ3TjdNLQ5 TqMSjNXMMCAAJZJPSKM/VxE9gECX0yswYJXQVK7hvNsA+lVbg0QpnlQOBXGgfpeIiC bZpJ2qmwFCE28VxHIys+dLrUzVKKRMoikDwk5IF20NuCKiIPXPK7gwRYN17+qyr3J4 m/L6Quq+URCOPsHKp/GvGjlBdBLG0kORs0X0UFYS7H4Tt/B5WTtGgN9GEO4vhkOVYQ 5TUPG/KOaxZ0/HkeZDK89Bna6RDDc3sYEhOpSKu0V6tdE+3CFkxrDvGkngU6GKPuOH IJpVIIyv+n2jg== Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id E75C5100033; Tue, 28 Nov 2023 09:42:34 -0500 (EST) Received: from pastel (unknown [45.72.194.97]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id B632F120420; Tue, 28 Nov 2023 09:42:34 -0500 (EST) From: Stefan Monnier To: =?windows-1252?B?Sm/jbyBU4XZvcmE=?= Subject: Re: bug#67480: 30.0.50; Cannot start eglot In-Reply-To: <83y1ej8hr6.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 27 Nov 2023 15:09:49 +0200") Message-ID: References: <83y1ej8hr6.fsf@gnu.org> Date: Tue, 28 Nov 2023 09:42:28 -0500 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-INFO: Spam detection results: 0 ALL_TRUSTED -1 Passed through trusted hosts only via SMTP AWL -0.119 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain DKIM_VALID_EF -0.1 Message has a valid DKIM or DK signature from envelope-from domain T_SCC_BODY_TEXT_LINE -0.01 - X-SPAM-LEVEL: X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 67480 Cc: Eli Zaretskii , 67480@debbugs.gnu.org, Mou Tong X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Some of these files are preloaded, so I don't understand why you see > these messages. I suspect some problem with your build. [ Note: This is unrelated to bug#67480. ] No, it's a problem in `eglot.el`: ;; These dependencies are also GNU ELPA core packages. Because of ;; bug#62576, since there is a risk that M-x package-install, despite ;; having installed them, didn't correctly re-load them over the ;; built-in versions. (eval-and-compile (load "project") (load "eldoc") (load "seq") (load "flymake") (load "xref") (load "jsonrpc") (load "external-completion")) I suspect this should be fixed the same way I proposed to fix these kinds of problems in Org, i.e. with something like: (defun require-with-check (feature &optional filename noerror) "If FEATURE is not already loaded, load it from FILENAME. This is like `require' except if FEATURE is already a member of the list `features=E2=80=99, then we check if this was provided by a different f= ile than the one that we would load now (presumably because `load-path' has been changed since the file was loaded)." (let ((lh load-history) (res (require feature filename noerror))) ;; If the `feature' was not yet provided, `require' just loaded the= right ;; file, so we're done. (if (not (eq lh load-history)) res ;; If `require' did nothing, we need to make sure that was warran= ted. (let ((fn (locate-file (or filename (symbol-name feature)) load-path (get-load-suffixes)))) ;; If the right file was indeed loaded already, we're done. (if (assoc fn load-history) res (funcall (if noerror #'warn #'error) "Feature provided by other file: %S" feature) res))))) This sample code doesn't try to handle preloaded packages, so it would/will need some tweak for that. Stefan From debbugs-submit-bounces@debbugs.gnu.org Tue Nov 28 09:52:45 2023 Received: (at 67480) by debbugs.gnu.org; 28 Nov 2023 14:52:45 +0000 Received: from localhost ([127.0.0.1]:45923 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r7zS8-0008Ne-Vb for submit@debbugs.gnu.org; Tue, 28 Nov 2023 09:52:45 -0500 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:29879) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r7zS7-0008NR-0E for 67480@debbugs.gnu.org; Tue, 28 Nov 2023 09:52:43 -0500 Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id F3113442494; Tue, 28 Nov 2023 09:52:29 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1701183148; bh=ur006xhbFz/6xyPJwhMIGTVMUcMWR/9BSSC+XaNgUNA=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=c/maN8g5TAY6JYUQJ/ZaNzuqXEbmHNwdmjZQWZfNWLcEv0zJpU9H67KZ9wf30Npzc BHpso2+qLaXMPoGWyckmqNhXXkbeJvzgqgKZre6rXnrREyShG12iUAa1MZxOUJhKWE rRlHDaZfKp9V0vVj/Ti9UFOid+FY071b2Y7Y0NQD3co/nfwlIh+uc+9xIzhNiAeqYp e79QQlczuLaeEL4laqLuEvJUUHLnrdV/q6bi74P6hTZQjquys4wU0Eq/I0BrY+sNux cyZo1azTFuikPZinCVikglGJsAeHNhN9tz6X57QJwOGXK7ncx/HS8jGkyFZ903e4Zr zJzXReddREzrw== Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id CC72D442478; Tue, 28 Nov 2023 09:52:28 -0500 (EST) Received: from pastel (unknown [45.72.194.97]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id A65781202E4; Tue, 28 Nov 2023 09:52:28 -0500 (EST) From: Stefan Monnier To: =?windows-1252?B?Sm/jbyBU4XZvcmE=?= Subject: Re: bug#67480: 30.0.50; Cannot start eglot In-Reply-To: (Mou Tong's message of "Mon, 27 Nov 2023 08:12:35 +0000") Message-ID: References: Date: Tue, 28 Nov 2023 09:52:27 -0500 User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-SPAM-INFO: Spam detection results: 0 ALL_TRUSTED -1 Passed through trusted hosts only via SMTP AWL 0.030 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain DKIM_VALID_EF -0.1 Message has a valid DKIM or DK signature from envelope-from domain T_SCC_BODY_TEXT_LINE -0.01 - X-SPAM-LEVEL: X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 67480 Cc: 67480@debbugs.gnu.org, Mou Tong X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > 1. `emacs -Q` > 2. Open a src file and `M-x eglot` > 3. Get the following message: [...] > Loading external-completion (native compiled elisp)...done > Unbound slot: eglot-lsp-server, "# eglot-lsp-server-1feea1d8dd60>", -events-buffer, oref > error in process filter: Unbound slot: eglot-lsp-server, > "#", -events-buffer, oref > [2 times] > ``` [...] > After I tried to build different version, I can confirm the problem > occurs after this commit: > https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=3D6c47931a1ad4de4a= f3f147b9604169c2441100fe Thanks, that was very helpful. This commit makes it so `:accessor` functions behave like `:reader` functions, i.e. behave like `slot-value`, whereas the old code returned nil if the slot was "unbound". Maybe the better fix is something like the patch below? Jo=E3o? Stefan diff --git a/lisp/jsonrpc.el b/lisp/jsonrpc.el index 52ffb220d8b..4298d75c5bf 100644 --- a/lisp/jsonrpc.el +++ b/lisp/jsonrpc.el @@ -71,6 +71,7 @@ jsonrpc-connection :accessor jsonrpc--request-continuations :documentation "A hash table of request ID to continuation lambdas.") (-events-buffer + :initform nil :accessor jsonrpc--events-buffer :documentation "A buffer pretty-printing the JSONRPC events") (-events-buffer-scrollback-size From debbugs-submit-bounces@debbugs.gnu.org Tue Nov 28 10:11:34 2023 Received: (at 67480) by debbugs.gnu.org; 28 Nov 2023 15:11:34 +0000 Received: from localhost ([127.0.0.1]:47387 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r7zkL-0000kK-A6 for submit@debbugs.gnu.org; Tue, 28 Nov 2023 10:11:33 -0500 Received: from mail-lf1-x130.google.com ([2a00:1450:4864:20::130]:57700) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r7zk8-0000ju-GR for 67480@debbugs.gnu.org; Tue, 28 Nov 2023 10:11:32 -0500 Received: by mail-lf1-x130.google.com with SMTP id 2adb3069b0e04-50aab3bf71fso7632490e87.3 for <67480@debbugs.gnu.org>; Tue, 28 Nov 2023 07:11:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701184267; x=1701789067; 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=VjkwMAPDfQaqrfK1OAhFYZHs3H099WanfNuGdtvOGww=; b=Oe5sZajE+gxOdUC0oeIn5jUq7Hz08JD6cdAW5g4MJopy3HDlrNNViEdUVQzewWiXLJ 4idgQyOGtrSYBbcVkEBjpL5ARE3ut+HIhQutjjPh4gw8vcq2oCppMxJDxOQbR3v3JSMd 6fTXUXVtoTCtzdeP/ZH4dF/eap/Woz4yZCYXCFur3FF5HEIvd2r/gfD4UVKnc7DJGupH R6uEf07qxiTi1QCPZswa1RVdWwfU3c/OCF7mmfPOamQqOhCbEQaL6z6yNwc7hQPtnhMD j7f6k8sC0PadajrtPqo+Zckn2t1RZp5hSzEbhWD74vk3tdIlFkVVvOqRZDkebQuFPKT7 osig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701184267; x=1701789067; 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=VjkwMAPDfQaqrfK1OAhFYZHs3H099WanfNuGdtvOGww=; b=akWHCalD9C6zl5oIhliQn0dDlIAPg4yDmCnAa4IXWLDky1tk8WWx1rgclQhjNdZw/T hSUd+1IlLRMa/Gz0zCEGiUCmBuqzeWGoyOS91hJQRkINu/EWo16nzataeDiEst3/NPC6 8TL1NzoZTRN5YwYCXUIIHo9XMDMadQCakEcYwT8vuHoZkS28/1OYybacYbcaYoRqUTZ3 CjytAMUgFwFzob1zslGhY/OvqIob4++sYdO3gDryPyG4nfXQGDro32pq+dawSWUB37RP KC9aaAYJkY4H6+dS1W+0hB+GmrTQEGBLT2uaZ0A/Tpm5aO3ZCZ6jBNZkm/3UWYMnc7WP GgEQ== X-Gm-Message-State: AOJu0YySurbYwAWniRlSCq8d8MA3mhBZFwihbq4q7c+2VVwXLk3pGR74 FzTg52jrBb2y8ag15MIdAUbF9boKDp2H8H+/6I0= X-Google-Smtp-Source: AGHT+IHS581PqQC8n0fkM1NnspDjc8Wlqjyi+vRTrO8ya0Mvn0JYF0kC59mkgWhG4XZtcdNqsF8tiMWFLIFOUeuMFF8= X-Received: by 2002:a05:6512:2213:b0:50b:b834:d3c0 with SMTP id h19-20020a056512221300b0050bb834d3c0mr2137096lfu.32.1701184267017; Tue, 28 Nov 2023 07:11:07 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: =?UTF-8?B?Sm/Do28gVMOhdm9yYQ==?= Date: Tue, 28 Nov 2023 15:10:55 +0000 Message-ID: Subject: Re: bug#67480: 30.0.50; Cannot start eglot To: Stefan Monnier Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 67480 Cc: 67480@debbugs.gnu.org, Mou Tong X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On Tue, Nov 28, 2023 at 2:52=E2=80=AFPM Stefan Monnier wrote: > diff --git a/lisp/jsonrpc.el b/lisp/jsonrpc.el > index 52ffb220d8b..4298d75c5bf 100644 > --- a/lisp/jsonrpc.el > +++ b/lisp/jsonrpc.el > @@ -71,6 +71,7 @@ jsonrpc-connection > :accessor jsonrpc--request-continuations > :documentation "A hash table of request ID to continuation lambdas."= ) > (-events-buffer > + :initform nil > :accessor jsonrpc--events-buffer > :documentation "A buffer pretty-printing the JSONRPC events") > (-events-buffer-scrollback-size Seem sensible, and feel free to push, please. But it'd also be nice to have a backtrace to that error to see why jsonrpc.el is trying to access the jsonrpc--events-buffer "too early". And kudos for going through these EIEIO bugs, even if in backward incompatible ways ;-). Accessor functions definitely must go thru the slot-value protocol. Jo=C3=A3o From debbugs-submit-bounces@debbugs.gnu.org Tue Nov 28 10:48:29 2023 Received: (at 67480) by debbugs.gnu.org; 28 Nov 2023 15:48:29 +0000 Received: from localhost ([127.0.0.1]:47483 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r80K5-0001na-1e for submit@debbugs.gnu.org; Tue, 28 Nov 2023 10:48:29 -0500 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:4638) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r80K0-0001mW-3B for 67480@debbugs.gnu.org; Tue, 28 Nov 2023 10:48:27 -0500 Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id DD3B1807DB; Tue, 28 Nov 2023 10:48:10 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1701186490; bh=5gf7vQaXSicbxA+T19t5flQVoW1NNMbjwUk71XOYCyc=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=iNPJ4A0JOMP2iWXz7PM8RBsLA7RRHRCBNMVgFmlWmtBYo1Sd2gYjh6bIwXG/lO9ZN z9Le2WTah+egS9QM1bp4e90IfH3WLSTFRRU41cL3asvLEPPRzc8oT804Gm3SHm6oF0 K4X6A7k1RWxFBX1H+8ry5nGycuwkEZVFcX8vkqmC0URqcglIdc5whL2tEooz3/5hDy 0AQGaqslYHvwO/A30bNSNQ+87sLGhVccqq8W9OWLA2+dcecro9btwHDrkueOGDUJRd VMLogoWA1UxwRtW71xZR3Fv29DLKs1WrC9pBAAreTqCLQ40N7ljwgNskEra1U83m8C QuaGo2ZEkiBHA== Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 1AD2F800E0; Tue, 28 Nov 2023 10:48:10 -0500 (EST) Received: from pastel (unknown [45.72.194.97]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id E7CAC12024A; Tue, 28 Nov 2023 10:48:09 -0500 (EST) From: Stefan Monnier To: =?windows-1252?B?Sm/jbyBU4XZvcmE=?= Subject: Re: bug#67480: 30.0.50; Cannot start eglot In-Reply-To: (=?windows-1252?Q?=22Jo=E3o_T=E1vora=22's?= message of "Tue, 28 Nov 2023 15:10:55 +0000") Message-ID: References: Date: Tue, 28 Nov 2023 10:48:09 -0500 User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-SPAM-INFO: Spam detection results: 0 ALL_TRUSTED -1 Passed through trusted hosts only via SMTP AWL 0.027 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain DKIM_VALID_EF -0.1 Message has a valid DKIM or DK signature from envelope-from domain T_SCC_BODY_TEXT_LINE -0.01 - X-SPAM-LEVEL: X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 67480 Cc: 67480@debbugs.gnu.org, Mou Tong X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) >> diff --git a/lisp/jsonrpc.el b/lisp/jsonrpc.el >> index 52ffb220d8b..4298d75c5bf 100644 >> --- a/lisp/jsonrpc.el >> +++ b/lisp/jsonrpc.el >> @@ -71,6 +71,7 @@ jsonrpc-connection >> :accessor jsonrpc--request-continuations >> :documentation "A hash table of request ID to continuation lambdas.") >> (-events-buffer >> + :initform nil >> :accessor jsonrpc--events-buffer >> :documentation "A buffer pretty-printing the JSONRPC events") >> (-events-buffer-scrollback-size > > Seem sensible, and feel free to push, please. > > But it'd also be nice to have a backtrace to that error to Have you tried the recipe sent by Mou Tong? > see why jsonrpc.el is trying to access the jsonrpc--events-buffer > "too early". Not sure what you mean by "too early". Where is this slot filled? The only place I see is in `jsonrpc-events-buffer` where we always read it before setting it. Stefan From debbugs-submit-bounces@debbugs.gnu.org Tue Nov 28 13:17:48 2023 Received: (at 67480) by debbugs.gnu.org; 28 Nov 2023 18:17:48 +0000 Received: from localhost ([127.0.0.1]:47711 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r82eZ-0000EJ-W2 for submit@debbugs.gnu.org; Tue, 28 Nov 2023 13:17:48 -0500 Received: from mail-lf1-x132.google.com ([2a00:1450:4864:20::132]:55499) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r82eV-0000E2-Ts for 67480@debbugs.gnu.org; Tue, 28 Nov 2023 13:17:46 -0500 Received: by mail-lf1-x132.google.com with SMTP id 2adb3069b0e04-507a0907896so7583450e87.2 for <67480@debbugs.gnu.org>; Tue, 28 Nov 2023 10:17:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701195450; x=1701800250; 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=BQ9IQHTsrRaS+YNoK9blPZLHZB0uMxrdGFNB34Q8hsc=; b=ecO5kf2KCI89d20xjNBpUJCdkrl8NNbwYcuDmRmOR1HxH+IwxAaSod3fkJ1DcZX4Tz xjZ1Mice9ldsUdaf9/MLbPIQ2bN5GAeWgBTcllEGh1JlsPolXZ3/XSBGF11k5XeBbZGt Uo1lsO8uqAoSJZRPEgkDE1Ek6z6idxWwbeds3jGFyUOG5jeX192yejDtgOmQsyb6kU/N sfupgsqy5yqf/42n6dXb53X7n26GxxvDI58X/vETV5/O0Rtyr5mdppD3piElhgzKivVi Dw2hKfVzpqhhCJ9BPsGvG/1z16lY12Se2NLVOLSE/JIFsdwUGK8CmCDbppQwux1UDxKp SwPQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701195450; x=1701800250; 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=BQ9IQHTsrRaS+YNoK9blPZLHZB0uMxrdGFNB34Q8hsc=; b=FJUNlj3E71ik6G75QlyqZQg6qd6fV0eGctRuoK3LwFkr4MvJkV33c51g9V5WJdDsP9 FIQ1kLDqgLL/h+XpII+VQFbalpNtfk7VSzr6rpOWVO75egWDkA3e7iDyNqkGVhjnGhnX tzIHrEdO9dSEDkBXZV5Fi9M3T5YD8pZELEsHnsFX8EmsbHVBNF51PZjcnVdY5FwjQCAy i3wUB5DHFMzCW2LblPqX78GMNrDYkAUNZyjboI+RqOdFzdKodDQDcz+nrG5eMBbOwJ+s WtrFH3BHl0liW3buGeiAv9BSRq8G2XRq0IdDE8IZV+05wvbUfkshUXngGvvZXyAeUBiz jySQ== X-Gm-Message-State: AOJu0YxFwocbc65NRTqXVVGMxxVfcy9wAC9xLZ73iPr/5nRUeKy/2fr6 duSeH/duaWpph6Htvi4kpZ2EoAAWMUTrYW7t5Wo= X-Google-Smtp-Source: AGHT+IF/96W/Vz4zDnBrMfPP5q5WfpLe2UcjpBX/okYvao2FOfDZxQNDwdd1sCCInsMjkYpJCZq8y+Rs2AsSxP5IcDU= X-Received: by 2002:a05:6512:304e:b0:507:96cd:e641 with SMTP id b14-20020a056512304e00b0050796cde641mr10130465lfb.51.1701195450133; Tue, 28 Nov 2023 10:17:30 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: =?UTF-8?B?Sm/Do28gVMOhdm9yYQ==?= Date: Tue, 28 Nov 2023 17:27:33 +0000 Message-ID: Subject: Re: bug#67480: 30.0.50; Cannot start eglot To: Stefan Monnier Content-Type: multipart/alternative; boundary="0000000000007faf26060b3a6ee5" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 67480 Cc: 67480@debbugs.gnu.org, Mou Tong X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --0000000000007faf26060b3a6ee5 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, Nov 28, 2023, 15:48 Stefan Monnier wrote= : > >> diff --git a/lisp/jsonrpc.el b/lisp/jsonrpc.el > >> index 52ffb220d8b..4298d75c5bf 100644 > >> --- a/lisp/jsonrpc.el > >> +++ b/lisp/jsonrpc.el > >> @@ -71,6 +71,7 @@ jsonrpc-connection > >> :accessor jsonrpc--request-continuations > >> :documentation "A hash table of request ID to continuation > lambdas.") > >> (-events-buffer > >> + :initform nil > >> :accessor jsonrpc--events-buffer > >> :documentation "A buffer pretty-printing the JSONRPC events") > >> (-events-buffer-scrollback-size > > > > Seem sensible, and feel free to push, please. > > > > But it'd also be nice to have a backtrace to that error to > > Have you tried the recipe sent by Mou Tong? > No. Didn't have the chance. > see why jsonrpc.el is trying to access the jsonrpc--events-buffer > > "too early". > > Not sure what you mean by "too early". Where is this slot filled? > No, I meant where it is read. The only place I see is in `jsonrpc-events-buffer` where we always read > it before setting it. I don't have the code in front of me, but ok, so a lazy slot. So maybe another fix would be to put a :before in the accessor generic. Then the accessor could lose the '--', and simplify things. AFAIR this is a standard CLOS technique for lazy slots. But the nil initial value works fine too. Jo=C3=A3o --0000000000007faf26060b3a6ee5 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Tue, Nov 28, 2023, 15:48 Stefan Monnier <monnier@iro.umontreal.ca> wrote:
>> diff --git a/lisp/jsonrpc.el b/l= isp/jsonrpc.el
>> index 52ffb220d8b..4298d75c5bf 100644
>> --- a/lisp/jsonrpc.el
>> +++ b/lisp/jsonrpc.el
>> @@ -71,6 +71,7 @@ jsonrpc-connection
>>=C2=A0 =C2=A0 =C2=A0 :accessor jsonrpc--request-continuations
>>=C2=A0 =C2=A0 =C2=A0 :documentation "A hash table of request I= D to continuation lambdas.")
>>=C2=A0 =C2=A0 =C2=A0(-events-buffer
>> +=C2=A0 =C2=A0 :initform nil
>>=C2=A0 =C2=A0 =C2=A0 :accessor jsonrpc--events-buffer
>>=C2=A0 =C2=A0 =C2=A0 :documentation "A buffer pretty-printing = the JSONRPC events")
>>=C2=A0 =C2=A0 =C2=A0(-events-buffer-scrollback-size
>
> Seem sensible, and feel free to push, please.
>
> But it'd also be nice to have a backtrace to that error to

Have you tried the recipe sent by Mou Tong?

No. Didn't have the chance.<= /div>

> see why jsonrpc.el is trying to access the jsonrpc--events-buffer
> "too early".

Not sure what you mean by "too early".=C2=A0 Where is this slot f= illed?

No, I meant where it is read.

The only place I see is in `jsonrpc-events-buffer` where we always read
it before setting it.

<= div dir=3D"auto">I don't have the code in front of me, but ok, so a laz= y slot.

So maybe another= fix would be to put a :before in the accessor generic. Then the accessor c= ould lose the '--', and simplify things. AFAIR this is a standard C= LOS technique for lazy slots. But the nil initial value works fine too.

Jo=C3=A3o
--0000000000007faf26060b3a6ee5-- From debbugs-submit-bounces@debbugs.gnu.org Tue Nov 28 19:41:16 2023 Received: (at 67480) by debbugs.gnu.org; 29 Nov 2023 00:41:16 +0000 Received: from localhost ([127.0.0.1]:48477 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r88df-00038v-Uo for submit@debbugs.gnu.org; Tue, 28 Nov 2023 19:41:16 -0500 Received: from mail-lf1-x12d.google.com ([2a00:1450:4864:20::12d]:46086) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r88da-00038Y-MZ for 67480@debbugs.gnu.org; Tue, 28 Nov 2023 19:41:14 -0500 Received: by mail-lf1-x12d.google.com with SMTP id 2adb3069b0e04-507a98517f3so8372226e87.0 for <67480@debbugs.gnu.org>; Tue, 28 Nov 2023 16:41:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701218457; x=1701823257; 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=2K0iQsTgCg15nmX+OcilTFf0i1LbKVYEHaiiRmfPdf8=; b=MlnDPNgur7bPBnTFAXuC2r9McQb4uCyOthGv+fAySsILkpZ4L8ZEVCaDg9CEa7dtXc /4SJLTDtX0Gqhw0HXJcVZU6ZFpOzAzosxm8S4aIOosUKPyb8cKp3hTjrYnCJjKj6RVtj THCRbb+yq03VRFjd8/399ya9smE/QeRJ+u7ftoLxbZ8aMGPfVUAGJU2t+K9TDW5REBh5 0G67Oa0isXeqmKWB7SsnBsyFMIt4YcxazeDIEXuJjkUDcT0TeAHfKTHotWrswDO+sGOu TPGcecSlWVD57YXeZtHq1KzxtFNF5DEYvu+553mlEik9tObplKbhmz9a7tJPPtuQS68s R3DA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701218457; x=1701823257; 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=2K0iQsTgCg15nmX+OcilTFf0i1LbKVYEHaiiRmfPdf8=; b=hD5d0QZGSsypUa/K5neNyArIzIC7qZohsVnNA+3wQc+u0vvoDDE1VwJbcbAvGXt633 gJWuJ/IXOgqezRdtGKfX9zT/4Z9OvRljGFuqQGcksRgTzYU34g2A6KP38oicsyL7TWBJ 98VAe3FbCO2sOnnHRlVZp8oCzn4nDxY/y0DWInu4HSVOU+ZZrWgUVoKRwqGcreNP1Ufi F2/seEXT4wxBtWkPwktKAW4GxQUhYB65tdr9ALPQVxjrQWsXZJjzbRyZgKFbRS8IE5r+ hJKC6eG/HPLKu0/dmUep0ko7kMy9GfubkIBLiCwCMJZYHwa4ifbboOl0c3Jvj9s5/fD9 Z+kA== X-Gm-Message-State: AOJu0YzV8kyLSkrIAmtwfmsimlCfjEqzv6Z2QtCGum/fXIRPGCsuXL5X 25CMv2xMpGVs+7ttUHab3A3bk7e1+MuK1Qds0PJVp3A2jX8= X-Google-Smtp-Source: AGHT+IFU4wC4qnjc9bdfqkIAr4xCGVBgdZ1nWaH9NS1/JHQPmnnYFc1sV3HsCDpSz3OEbIYTt/UV7wnmq1IsxZr52is= X-Received: by 2002:ac2:53a3:0:b0:50b:c0bb:b48b with SMTP id j3-20020ac253a3000000b0050bc0bbb48bmr1512562lfh.43.1701218456765; Tue, 28 Nov 2023 16:40:56 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: =?UTF-8?B?Sm/Do28gVMOhdm9yYQ==?= Date: Wed, 29 Nov 2023 00:40:45 +0000 Message-ID: Subject: Re: bug#67480: 30.0.50; Cannot start eglot To: Stefan Monnier Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 67480 Cc: 67480@debbugs.gnu.org, Mou Tong X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On Tue, Nov 28, 2023 at 5:27=E2=80=AFPM Jo=C3=A3o T=C3=A1vora wrote: > I don't have the code in front of me, but ok, so a lazy slot. I've now fixed this and a bunch of other similar problems in master. But let's wait a few more days if some more related flak comes in before closing this. Maybe it also makes sense to merge this with bug#67480? Jo=C3=A3o PS: I wrote earlier that the :before on the accessor generic is standard CLOS technique for lazy slots. It could be, but slot-unbound of the slot-value protocol is more correct. Just nitpicking myself here. EIEIO seems to support slot-unbound. From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 29 08:11:11 2023 Received: (at control) by debbugs.gnu.org; 29 Nov 2023 13:11:11 +0000 Received: from localhost ([127.0.0.1]:49102 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r8KLO-0003aX-9Q for submit@debbugs.gnu.org; Wed, 29 Nov 2023 08:11:11 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:53036) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r8KLI-0003Zp-49; Wed, 29 Nov 2023 08:11:08 -0500 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 1r8KL5-0002EN-5S; Wed, 29 Nov 2023 08:10:51 -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=WaRVtSXzlthnPmEZ8D9IIGb1dHlX+Oenbf89AITh/58=; b=OgeHVLxproCx9Axi8Ccx DSArN0DYpeOX5ogT86vu6lYKh39YBTdYbQSSuTDCw6sowSzHGU7HGNIW68HNAP1B/Ff87UnSo8Y8u 0wLZjJkZfvst75DqVizdc5gwyAlFFjlPbAnCCMCngsRj7O1sMV0VLalcT0mAadrbJLsR5buLQJ64F yV8O9/iblUK1El3YPaTEuOEMyuk/ucv5kDdv9lNMlGbcdCoO4MCEGrXV6MNJTCWvt+PdYAJAzDN3R 29WMMkfMvr/DAHbz8gDE5A2BFYy4fN9AKgbiG/x9xdKzGViWfAo62Ly/U+p5sR6Dr8cB9W/OyBk6O NEaoFMTlqmKcXw==; Date: Wed, 29 Nov 2023 15:10:33 +0200 Message-Id: <83il5k7liu.fsf@gnu.org> From: Eli Zaretskii To: =?utf-8?Q?Bj=C3=B6rn?= Grambow In-Reply-To: (message from =?utf-8?Q?Bj=C3=B6rn?= Grambow on Wed, 29 Nov 2023 04:31:38 +0200) Subject: Re: bug#67522: 30.0.50; Unbound slot: eglot-lsp-server References: MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control Cc: 67522@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) merge 67522 67480 thanks > From: Björn Grambow > Date: Wed, 29 Nov 2023 04:31:38 +0200 > > Lets start with the error messages: > > [eglot] (warning) Unbound slot: eglot-lsp-server, "# eglot-lsp-server-15790d7cb140>", -events-buffer, oref > error in process filter: Unbound slot: eglot-lsp-server, > "#", -events-buffer, > oref [2 times] > error in process sentinel: Unbound slot: eglot-lsp-server, > "#", -events-buffer, > oref [ > > Because of better Elixir support I recently upgraded to Emacs 30. I > configured eglot to use typerescript and elixir language servers (see > below) and everything was working great. > After a few days vacation I got the above error and eglot doesn't start > in my major modes. I have no clue why, I do not recall any changes or > upgrades meanwhile. > > > (use-package eglot > :ensure nil > ;;:commands (eglot eglot-ensures) > :hook > (elixir-ts-mode . eglot-ensure) > (heex-ts-mode . eglot-ensure) > (typescript-ts-mode . eglot-ensure) > (tsx-ts-mode . eglot-ensure) > ;;(before-save . eglot-format-buffer) > :custom > (eglot-send-changes-idle-time 0.1) > :config > ;; (fset #'jsonrpc--log-event #'ignore) ; massive perf boost---don't > log every event > (add-to-list 'eglot-server-programs '(elixir-ts-mode > "~/.emacs.d/elixir-ls/language_server.sh")) > (add-to-list 'eglot-server-programs '(heex-ts-mode > "~/.emacs.d/elixir-ls/language_server.sh")) > (add-to-list 'eglot-server-programs '(typescript-ts-mode > "/snap/bin/typescript-language-server" "--stdio")) > ) > > > (use-package elixir-ts-mode) > > ... > > > > > In GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version > 3.24.20, cairo version 1.16.0) of 2023-11-27 built on lcy02-amd64-002 > Repository revision: 76cf700ecb78cb465bcd05ae2b2fb0d28e4d0aed > Repository branch: master > Windowing system distributor 'The X.Org Foundation', version 11.0.12201001 > System Description: Ubuntu 22.04.3 LTS > > Configured using: > 'configure --prefix=/snap/emacs/current/usr --with-x-toolkit=gtk3 > --without-xaw3d --with-modules --with-cairo > --with-native-compilation=aot --with-xinput2 --with-tree-sitter > --with-json > 'CFLAGS=-isystem/build/emacs/parts/emacs/install/usr/include > -isystem/build/emacs/parts/emacs/install/usr/include/x86_64-linux-gnu > -isystem/build/emacs/stage/usr/include -O2' > 'CPPFLAGS=-isystem/build/emacs/parts/emacs/install/usr/include > -isystem/build/emacs/parts/emacs/install/usr/include/x86_64-linux-gnu > -isystem/build/emacs/stage/usr/include' > 'LDFLAGS=-L/build/emacs/parts/emacs/install/lib > -L/build/emacs/parts/emacs/install/usr/lib > -L/build/emacs/parts/emacs/install/lib/x86_64-linux-gnu > -L/build/emacs/parts/emacs/install/usr/lib/x86_64-linux-gnu > -L/build/emacs/stage/usr/lib'' > > Configured features: > ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG > JSON LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES > NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 > THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER X11 XDBE XIM XINPUT2 XPM > GTK3 ZLIB > > Important settings: > value of $LC_MONETARY: en_GB.UTF-8 > value of $LC_NUMERIC: en_GB.UTF-8 > value of $LC_TIME: en_GB.UTF-8 > value of $LANG: en_US.UTF-8 > value of $XMODIFIERS: @im=ibus > locale-coding-system: utf-8-unix > > Major mode: Elixir > > Minor modes in effect: > which-key-mode: t > server-mode: t > show-smartparens-global-mode: t > show-smartparens-mode: t > smartparens-global-mode: t > smartparens-mode: t > global-corfu-mode: t > corfu-mode: t > projectile-mode: t > yas-global-mode: t > yas-minor-mode: t > global-treesit-auto-mode: t > helm-mode: t > helm-minibuffer-history-mode: t > async-bytecomp-package-mode: t > global-auto-revert-mode: t > override-global-mode: t > recentf-mode: t > tooltip-mode: t > global-eldoc-mode: t > show-paren-mode: t > electric-indent-mode: t > mouse-wheel-mode: t > file-name-shadow-mode: t > global-font-lock-mode: t > font-lock-mode: t > blink-cursor-mode: t > minibuffer-regexp-mode: t > column-number-mode: t > line-number-mode: t > transient-mark-mode: t > auto-composition-mode: t > auto-encryption-mode: t > auto-compression-mode: t > > Load-path shadows: > /home/bjorn/.emacs.d/elpa/transient-20231128.1536/transient hides > /snap/emacs/current/usr/share/emacs/30.0.50/lisp/transient > > Features: > (shadow sort mail-extr emacsbug message yank-media puny rfc822 mml > mml-sec epa derived epg rfc6068 epg-config gnus-util mm-decode mm-bodies > mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail > rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils vc-git > vc-dispatcher eglot external-completion jsonrpc xref flymake diff > diff-mode ert pp ewoc imenu heex-ts-mode winner tramp-archive tramp-gvfs > tramp-cache time-stamp zeroconf dbus xml helm-command helm-elisp > helm-eval edebug debug backtrace helm-info which-key comp-run server > smartparens-config smartparens-org smartparens-text smartparens-elixir > smartparens advice loadhist corfu compat projectile project lisp-mnt > grep ibuf-ext ibuffer ibuffer-loaddefs thingatpt yasnippet > elixir-ts-mode treesit-auto treesit org-clock org-tempo tempo ox-reveal > ox-odt rng-loc rng-uri rng-parse rng-match rng-dt rng-util rng-pttrn > nxml-parse nxml-ns nxml-enc xmltok nxml-util ox-latex ox-icalendar > org-agenda ox-html table ox-ascii ox-publish ox org-element org-persist > org-id org-refile org ob ob-tangle ob-ref ob-lob ob-table org-macro > org-src ob-comint org-pcomplete org-list org-footnote org-faces > org-entities noutline outline ob-emacs-lisp org-table org-keys > org-loaddefs find-func cal-menu calendar cal-loaddefs avl-tree generator > ol oc ob-exp ob-core org-cycle org-fold org-fold-core org-compat ob-eval > org-version org-macs move-text helm-ag helm-mode helm-misc helm-files > image-dired image-dired-tags image-dired-external image-dired-util > image-mode exif tramp trampver tramp-integration files-x tramp-message > tramp-compat xdg shell pcomplete parse-time iso8601 time-date > tramp-loaddefs helm-buffers helm-occur helm-tags helm-locate helm-grep > helm-regexp format-spec helm-utils helm-help helm-types helm > helm-global-bindings helm-easymenu helm-core async-bytecomp helm-source > helm-multi-match helm-lib async edmacro kmacro ag vc-svn compile > text-property-search comint ansi-osc ansi-color ring find-dired s dash > dired dired-loaddefs autorevert filenotify base16-ayu-mirage-theme > base16-theme use-package use-package-ensure use-package-delight > use-package-diminish use-package-bind-key bind-key easy-mmode > use-package-core recentf tree-widget wid-edit finder-inf site-start comp > comp-cstr cl-extra help-mode comp-common warnings icons rx ag-autoloads > base16-theme-autoloads corfu-autoloads helm-ag-autoloads helm-autoloads > helm-core-autoloads async-autoloads magit-autoloads pcase > git-commit-autoloads mermaid-mode-autoloads move-text-autoloads > org-roam-autoloads magit-section-autoloads emacsql-autoloads > ox-reveal-autoloads popup-autoloads projectile-autoloads s-autoloads > smartparens-autoloads dash-autoloads transient-autoloads > treesit-auto-autoloads wfnames-autoloads which-key-autoloads > with-editor-autoloads info compat-autoloads yasnippet-autoloads package > browse-url url url-proxy url-privacy url-expand url-methods url-history > url-cookie generate-lisp-file url-domsuf url-util mailcap url-handlers > url-parse auth-source cl-seq eieio eieio-core cl-macs password-cache > json subr-x map byte-opt gv bytecomp byte-compile url-vars cl-loaddefs > cl-lib rmc iso-transl tooltip cconv eldoc paren electric uniquify > ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win > term/common-win x-dnd touch-screen tool-bar dnd fontset image regexp-opt > fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode > register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select > scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors > frame minibuffer nadvice seq simple cl-generic indonesian philippine > cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao > korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech > european ethiopic indian cyrillic chinese composite emoji-zwj charscript > charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure > cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp > files window text-properties overlay sha1 md5 base64 format env > code-pages mule custom widget keymap hashtable-print-readable backquote > threads dbusbind inotify lcms2 dynamic-setting system-font-setting > font-render-setting cairo gtk x-toolkit xinput2 x multi-tty move-toolbar > make-network-process native-compile emacs) > > Memory information: > ((conses 16 644916 79303) (symbols 48 39212 1) > (strings 32 183922 7193) (string-bytes 1 5569076) (vectors 16 71765) > (vector-slots 8 1238690 33662) (floats 8 297 1047) > (intervals 56 1749 119) (buffers 992 24)) > > > > From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 01 11:02:25 2023 Received: (at 67480-done) by debbugs.gnu.org; 1 Dec 2023 16:02:25 +0000 Received: from localhost ([127.0.0.1]:56007 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r95yB-0007dD-4H for submit@debbugs.gnu.org; Fri, 01 Dec 2023 11:02:25 -0500 Received: from mail-lf1-x134.google.com ([2a00:1450:4864:20::134]:48517) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r95y5-0007cu-El for 67480-done@debbugs.gnu.org; Fri, 01 Dec 2023 11:02:22 -0500 Received: by mail-lf1-x134.google.com with SMTP id 2adb3069b0e04-50bdebb1786so459331e87.1 for <67480-done@debbugs.gnu.org>; Fri, 01 Dec 2023 08:02:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701446522; x=1702051322; 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=7Y3PDqKtVTEep7x3XHuDNMJu5xOmxNjHgIDQp4n+nEY=; b=a/w28bVlNaR0MYNsm1WCnhv7ntEcfenChJopGMP2kukwBFzZs9+PG3ZtGPKAC1PVYO hfBWG8mi14WpTM++go4l5KEMvPpfr5sj80OCcBKhkeDYwfw4Mmvpi7j/ckV5t4KDsyaR c2dMHN/x7AwYyT4OIeaU8VggiFQgWN/qIa+gepdij8Ee2REIgm/5VobojvUxwG4B7TId 0+gccWOwNBRazFZW/9sVq+arBZ1DGSVuVyfcNF2EaUfIDR7rfPOj7EIbjhqYRbyqG5L8 M4dXOMQIwH2qutQ9S0Mm0Kf/X+qbJxC9tNORLmb7RXmD+Km+sfgVVlKvFuZbhMdip8pl WIOw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701446522; x=1702051322; 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=7Y3PDqKtVTEep7x3XHuDNMJu5xOmxNjHgIDQp4n+nEY=; b=lqB/QleNMfLvJHiLtOLsT0p8aA+R1+AfrphaBlWmJEMPKx42S7n4s/58jVBEG4YnqH SV9Rzvx+gDZYnZyuGpZZQD2+l+TAEamBd87lww7Bmys4SxOyyCLsmBxVB3RmHqVG7tVk UMYDHaY/h2KbqHjiyNvAi2YeR/kChmTDlBmMH+fTfNHyGPXmJdjYerTDDOwUyU78WiN9 vg5P+F6YTkHZOtaSnXgNU4YBv0qm0LagH45XFlbtPVQndyq/aaZHKkAdaWrPJixsiBfA GmIbxgR9KML4CGDVQs8FgIAvgKA6sb65mSvS+pUntGzYJ7TZ6JeQHZgvKdehdG5ZIiN3 CfPQ== X-Gm-Message-State: AOJu0Yyw+P0qn8jSa6O+oV3C/u+v7c5bGxOYfhwyH+bdZl7CKHu4s7K2 WzrmzmjvLihOSc0P+rnfcpSmJ9/De0ovq7Cnm5c= X-Google-Smtp-Source: AGHT+IFiYY+bsFGC6Px2v68J5H6vw4oKUXCN78Xnd9qRFoYBxvqfW0mot5xM2GYrjYJZ/3HuNlncV+k09nsvRQOnUXs= X-Received: by 2002:a05:6512:2347:b0:50b:d764:64d2 with SMTP id p7-20020a056512234700b0050bd76464d2mr1115202lfu.135.1701446522025; Fri, 01 Dec 2023 08:02:02 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: =?UTF-8?B?Sm/Do28gVMOhdm9yYQ==?= Date: Fri, 1 Dec 2023 16:04:59 +0000 Message-ID: Subject: Re: bug#67480: 30.0.50; Cannot start eglot To: Stefan Monnier , 67480-done@debbugs.gnu.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 67480-done Cc: Mou Tong X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On Wed, Nov 29, 2023 at 12:40=E2=80=AFAM Jo=C3=A3o T=C3=A1vora wrote: > > On Tue, Nov 28, 2023 at 5:27=E2=80=AFPM Jo=C3=A3o T=C3=A1vora wrote: > > > I don't have the code in front of me, but ok, so a lazy slot. > > I've now fixed this and a bunch of other similar problems in > master. But let's wait a few more days if some more related > flak comes in before closing this. I think the problem has been fixed, so closing. I hope the other bugs merged with this one will be closed as well as a consequence. Jo=C3=A3o From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 02 13:54:57 2023 Received: (at 67480) by debbugs.gnu.org; 2 Dec 2023 18:54:57 +0000 Received: from localhost ([127.0.0.1]:58649 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r9V8j-0004xy-1x for submit@debbugs.gnu.org; Sat, 02 Dec 2023 13:54:57 -0500 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:20282) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r9V8i-0004xm-5h for 67480@debbugs.gnu.org; Sat, 02 Dec 2023 13:54:56 -0500 Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 4E69A100068; Sat, 2 Dec 2023 13:54:41 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1701543280; bh=7Rkwx6gQownTcOD6SkxpNEQWoKJBWCvFk4Qt2UK2O4w=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=mdXU7hql4Oy5M5D13jU7Wd9kcJ6uZrgsrC95P5fOD+qcJMne/scnHpt41paJZ37Tu ln4P3D17ZiSRo9vgOIYaNXZM/r3QwfBkN3AaPdRdS0fbfUQg2B2rct7sCAbdKnIKcc IjHBJ/XNYehhRhMBNuIemLouAFZhoCHGaELHET4H2shGBPJdUi9SlsZG5gmwgxZlPx xG0ECCoYMXLpJwuKY3n3vNenE9F8XLX0bWxB+DCb0CxzoqDJxqwxINmx3G+WZaSpAx 13cL2zVyNtTheMB0oyzcL8KuVng3WNSF8c23MsiSKmrDke7NlG6nVUAnNzCWfInQsr NAsvP3wReh/Ew== Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 8FE81100033; Sat, 2 Dec 2023 13:54:40 -0500 (EST) Received: from pastel (unknown [45.72.194.97]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 616C2120340; Sat, 2 Dec 2023 13:54:40 -0500 (EST) From: Stefan Monnier To: =?windows-1252?B?Sm/jbyBU4XZvcmE=?= Subject: Re: bug#67480: 30.0.50; Cannot start eglot In-Reply-To: (Stefan Monnier's message of "Tue, 28 Nov 2023 09:42:28 -0500") Message-ID: References: <83y1ej8hr6.fsf@gnu.org> Date: Sat, 02 Dec 2023 13:54:39 -0500 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-INFO: Spam detection results: 0 ALL_TRUSTED -1 Passed through trusted hosts only via SMTP AWL -0.115 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain DKIM_VALID_EF -0.1 Message has a valid DKIM or DK signature from envelope-from domain T_SCC_BODY_TEXT_LINE -0.01 - X-SPAM-LEVEL: X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 67480 Cc: Eli Zaretskii , 67480@debbugs.gnu.org, Mou Tong X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > I suspect this should be fixed the same way I proposed to fix these > kinds of problems in Org, i.e. with something like: > > (defun require-with-check (feature &optional filename noerror) > "If FEATURE is not already loaded, load it from FILENAME. > This is like `require' except if FEATURE is already a member of the l= ist > `features=E2=80=99, then we check if this was provided by a different= file than the > one that we would load now (presumably because `load-path' has been > changed since the file was loaded)." > (let ((lh load-history) > (res (require feature filename noerror))) > ;; If the `feature' was not yet provided, `require' just loaded t= he right > ;; file, so we're done. > (if (not (eq lh load-history)) res > ;; If `require' did nothing, we need to make sure that was warr= anted. > (let ((fn (locate-file (or filename (symbol-name feature)) > load-path (get-load-suffixes)))) > ;; If the right file was indeed loaded already, we're done. > (if (assoc fn load-history) res > (funcall (if noerror #'warn #'error) > "Feature provided by other file: %S" feature) > res))))) > > This sample code doesn't try to handle preloaded packages, so it > would/will need some tweak for that. Actually, it seems it does work with preloaded files as well because the `load-history` is adjusted at startup to make it look right for preloaded packages. So maybe we should add the above function to `subr.el` and then install the patch below, WDYT? Stefan diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el index d410367f902..468606086ec 100644 --- a/lisp/progmodes/eglot.el +++ b/lisp/progmodes/eglot.el @@ -116,13 +116,8 @@ ;; having installed them, didn't correctly re-load them over the ;; built-in versions. (eval-and-compile - (load "project") - (load "eldoc") - (load "seq") - (load "flymake") - (load "xref") - (load "jsonrpc") - (load "external-completion")) + (mapc #'require-with-check + '(project eldoc seq flymake xref jsonrpc external-completion))) =20 ;; forward-declare, but don't require (Emacs 28 doesn't seem to care) (defvar markdown-fontify-code-blocks-natively) From unknown Sat Jun 21 10:40:33 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 31 Dec 2023 12:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 10 12:41:34 2024 Received: (at control) by debbugs.gnu.org; 10 Jan 2024 17:41:34 +0000 Received: from localhost ([127.0.0.1]:42831 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rNca6-0008A7-Ha for submit@debbugs.gnu.org; Wed, 10 Jan 2024 12:41:34 -0500 Received: from mail-ed1-x52a.google.com ([2a00:1450:4864:20::52a]:50563) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rNca4-00089q-PC for control@debbugs.gnu.org; Wed, 10 Jan 2024 12:41:33 -0500 Received: by mail-ed1-x52a.google.com with SMTP id 4fb4d7f45d1cf-55569b59f81so5519541a12.1 for ; Wed, 10 Jan 2024 09:41:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1704908488; x=1705513288; darn=debbugs.gnu.org; h=to:subject:message-id:date:mime-version:from:from:to:cc:subject :date:message-id:reply-to; bh=Lp+jDCMJiAkhAWJX3cq1jA/Yas2GkMQl7gYBF48BaCE=; b=bV6xOQrW1R0i2f94CG/WK4/I4R75i0hPMUZE2YAiTugLOzKdlOZHgSzpOkL46Th69y nnV4QARYh3eCeqz1E28wtsvthcUS0yY20wFZLHAOxWpPGzv9di5p/4nh9bMwBDHe1e2+ hnRCQW4Koo8A+u1J/z7hBhEYReZXkX2UGB+GKaKORMVQtmkX1jVs9V6eFkOsaxIHZyEZ yEbrnOE+SGDwaMO4hG7HZ8nHmftuuNNgpf/ReOA0rO8Xu5Xio9fwZNHUeJnF1VxjKu4w hNRvkMvjlmXdWRrrmTZActTk34QBvglj/7GN8YJAx+FU/febdZgCodGjeQJejPL+Iy9h MP5w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704908488; x=1705513288; h=to:subject:message-id:date:mime-version:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=Lp+jDCMJiAkhAWJX3cq1jA/Yas2GkMQl7gYBF48BaCE=; b=wF0N1Zy71J4aLjZsaFWununUNdcvIHR6tHdn6VvyXBWexiS/jJxJ18VKZI7ed5rGzl VpOnQj8dMuHxPJITaAW1Gk3wYp3sBqJY3N6t4LptZZ3ec2JHmjBm59ricl9pS5c1aUuv JqXVwVl6DcKQhS4w65T2cPTX6WCE8yWZJzRS6+1XSykkvUK79SJ55aALmotHXYxc+qGr fF7cnuQAf11oQRgfWT56/O/rh96hw99PsTopxbtu9UKmF0aeZrFcB5QrxY0hReqkpCJ1 ItcuzWnkE8wJ/TnIv/7g1v4Df8ELRaT2ZV5eDMUEOvFsArySl5IAQ2hQlSey5K09WxIe v8/w== X-Gm-Message-State: AOJu0Yws+5cubyjaFih1ejYHyRgVygoWSObjGnKwmgvHHsoKTzBgPJXc /VpfbMcM0mNQrONbwVWMOdu36vEzkvdqQ5GVnr6B14UxYHsvHQ== X-Google-Smtp-Source: AGHT+IEbmf/PEglRO4TxuTqGxTCcd/To/wnGkEWthH2wwpPEM2+sEBUrt5LTHIOxY8jvTiFw/WjF2nRv+NccfPX7FGY= X-Received: by 2002:a50:c2c1:0:b0:557:17d5:9afe with SMTP id u1-20020a50c2c1000000b0055717d59afemr585164edf.66.1704908488266; Wed, 10 Jan 2024 09:41:28 -0800 (PST) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Wed, 10 Jan 2024 09:41:28 -0800 From: Stefan Kangas MIME-Version: 1.0 Date: Wed, 10 Jan 2024 09:41:28 -0800 Message-ID: Subject: To: control@debbugs.gnu.org Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 2.0 (++) 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: unarchive 67480 forcemerge 67480 67518 quit Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:52a listed in] [list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (stefankangas[at]gmail.com) 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -0.0 T_SCC_BODY_TEXT_LINE No description available. 2.0 BLANK_SUBJECT Subject is present but empty 0.0 UNPARSEABLE_RELAY Informational: message has unparseable relay lines X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) unarchive 67480 forcemerge 67480 67518 quit From unknown Sat Jun 21 10:40:33 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 08 Feb 2024 12:24:06 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator