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#61412: Inlay hints implementation Date: Wed, 22 Feb 2023 23:17:06 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000efba6005f552189e" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5235"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 61412@debbugs.gnu.org To: Chinmay Dalal Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Feb 23 00:18:21 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 1pUyNQ-00017d-T4 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 23 Feb 2023 00:18:20 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pUyNA-0006Ml-Jr; Wed, 22 Feb 2023 18:18:04 -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 1pUyN9-0006Ma-4d for bug-gnu-emacs@gnu.org; Wed, 22 Feb 2023 18:18:03 -0500 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 1pUyN8-0000sl-RG for bug-gnu-emacs@gnu.org; Wed, 22 Feb 2023 18:18:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pUyN8-0001wU-Gl for bug-gnu-emacs@gnu.org; Wed, 22 Feb 2023 18:18:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 22 Feb 2023 23:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61412 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 61412-submit@debbugs.gnu.org id=B61412.16771078457415 (code B ref 61412); Wed, 22 Feb 2023 23:18:02 +0000 Original-Received: (at 61412) by debbugs.gnu.org; 22 Feb 2023 23:17:25 +0000 Original-Received: from localhost ([127.0.0.1]:60633 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pUyMX-0001vW-3w for submit@debbugs.gnu.org; Wed, 22 Feb 2023 18:17:25 -0500 Original-Received: from mail-oa1-f47.google.com ([209.85.160.47]:46764) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pUyMV-0001vG-NI for 61412@debbugs.gnu.org; Wed, 22 Feb 2023 18:17:24 -0500 Original-Received: by mail-oa1-f47.google.com with SMTP id 586e51a60fabf-17211366c6aso11542368fac.13 for <61412@debbugs.gnu.org>; Wed, 22 Feb 2023 15:17:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=TMdQ4tgB84duJmuYYGz7QGbrEBcR0i42HVs9t/5Rw7c=; b=TqSP0p3mWAdLegjzRb9pCWRIGFSjkscEvpuOjuNvb/v7a6IrExzxDZs4R8CvGbQURw Hi3g8/KyXE3lJXaGdyWQAteVYLr3EgM9W2DQBUFMRtbFqvbLYdkeUZiCrZMD+EXAvViG kfnqW6eDcZTEEmV7Hy45XELVsDE7t+/hRkvBmJbtA1EPTgVrvADe0QG4mHc2c/msj/Cv 2qPgxaOYnyOhR6gK4uE9ZYLFOulQ8t6geMOpTuQLPnv4dOVwGH/OVu1ntlmIf5+QS+QY O2wg63QxcfIq/ayGNoMpTm+/hvMeLuO2P/2UomC8IZ47EpD++V2WsS5vcVsPp01+aY2a /x/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=TMdQ4tgB84duJmuYYGz7QGbrEBcR0i42HVs9t/5Rw7c=; b=cvhetcIAefr6mPnH4KWCXsSti0pfhoSj9Nq1wrf0Y95wVk2gwl4rL6TAGz6JxlUuBe 7/8S/DwIgL0h8B8GavxN364QzAcbsu/DiFdAXYED7e+lqeJ8YB7QC0iivME4BIyL7eiJ rQVlN3gI5cerugf/MejmSJSXM2TnVpmwJq/gwefOfpsrQilhe0qka1DI0IRQ/nD2/GOC NQMkRIlsZbT2JyczsE1K/LORcXC2B2qj3bXiTu2iR9cH5prR7crYIV5azFPF5ZnblIPx dihwcpyD20AsTtEwmHB22qrt6NRtGjTrfuFagGKOLQ9xghGZCRYWj1Av8kjCF+cTtfbj Sb8g== X-Gm-Message-State: AO0yUKV4OpYHnB72wmg13iV3RxCLW/04Be2RkNx6s8T32ieYmiKY7xQP rSPbq7UTtc+Kyp6ze0s5i0uvaIf1W0LxNin7tJ0= X-Google-Smtp-Source: AK7set+bCN2UjsGlVDyGNdMjRX9HXXwb8alKakLdQPyGeDr368uczWX6f92tZ4+4aBVc4L0sqq8Ba02e3eYDXxKOgro= X-Received: by 2002:a05:6870:7027:b0:163:cd38:813e with SMTP id u39-20020a056870702700b00163cd38813emr1928512oae.215.1677107838039; Wed, 22 Feb 2023 15:17:18 -0800 (PST) In-Reply-To: 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:256406 Archived-At: --000000000000efba6005f552189e Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, Feb 22, 2023, 15:26 Chinmay Dalal wrote: > > When I apply these patches and add a hook > > (add-hook 'eglot-managed-mode-hook #'eglot-inlay-hints-mode) > > and try to delete a buffer, I get > > eglot--error: [eglot] Can't turn on `eglot-inlay-hints' mode. > > once, and then I am able to delete the buffer. > This is due to an unrelated bug that I've also fixed in the emacs-29 branch. Anyway, the "inlay hints" feature is now also installed. I hope you can test it and report any bugs. You sohuld be able to use that one-liner to enable eglot-inlay-hints-mode automatically. Jo=C3=A3o --000000000000efba6005f552189e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

On Wed, Feb 22, 20= 23, 15:26 Chinmay Dalal <dalal.chinmay.0101@gmail.com> wrote:

When I apply these patches and add a hook

(add-hook 'eglot-managed-mode-hook #'eglot-inlay-hints-mode)

and try to delete a buffer, I get

eglot--error: [eglot] Can't turn on `eglot-inlay-hints' mode.

once, and then I am able to delete the buffer.

This is due to an unrelated bug that I've also fixed
= in the emacs-29 branch.

Anyway, the "inlay hi= nts" feature is now also installed.
I hope you can test it a= nd report any bugs.=C2=A0 You sohuld
be able to use that one-line= r to enable eglot-inlay-hints-mode
automatically.

<= /div>
Jo=C3=A3o
--000000000000efba6005f552189e--