From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 02 17:45:51 2023 Received: (at submit) by debbugs.gnu.org; 2 Mar 2023 22:45:51 +0000 Received: from localhost ([127.0.0.1]:58600 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pXrgN-0004UW-3u for submit@debbugs.gnu.org; Thu, 02 Mar 2023 17:45:51 -0500 Received: from lists.gnu.org ([209.51.188.17]:53188) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pXrgL-0004UO-Ay for submit@debbugs.gnu.org; Thu, 02 Mar 2023 17:45:49 -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 1pXrgJ-0003aO-IZ for bug-gnu-emacs@gnu.org; Thu, 02 Mar 2023 17:45:47 -0500 Received: from out4-smtp.messagingengine.com ([66.111.4.28]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pXrgF-00021Z-Bb for bug-gnu-emacs@gnu.org; Thu, 02 Mar 2023 17:45:47 -0500 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id EEB2C5C00CD for ; Thu, 2 Mar 2023 17:45:38 -0500 (EST) Received: from imap45 ([10.202.2.95]) by compute1.internal (MEProxy); Thu, 02 Mar 2023 17:45:38 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jklaehn.de; h=cc :content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:message-id:mime-version:reply-to:sender :subject:subject:to:to; s=fm3; t=1677797138; x=1677883538; bh=X7 BRpx0iRYocUYBGLtb84/4qrUAu3fZga01uTad8Kos=; b=VJTQUS+TtCJveTjdRP JjrSLQT+cfJSnd6uVflv/1nwDQKcYIh8TV8SoRzCFbTsIEeXc1cFXbUYnEcTCY/f RKVDhphgXtrNv9fQ4b7bgwA7Df4Pa1dpzPnK5981CI3iF5JfW8K5RaUZBDxd8v4l e1xOf126C88s5D0ZVIC02dYSndzVRb2qnyLRlUFNHHHCbrJm/p4T0v3TAuNM098Q pKC7RTlCkR3L04fSAfobUFIAtYcjEkJEOtzgIPTQzrVJ12+JRoi3KIineMCVUW1Z 0I5fTjf98aFi4DQP4PC+RtG5+1A27DR+A7iOHqpg+PxCXDkx+YHcdrCxOZnlU0qK t3eg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:message-id:mime-version:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; t=1677797138; x=1677883538; bh=X7BRpx0iRYocU YBGLtb84/4qrUAu3fZga01uTad8Kos=; b=dN8YAEMJwK5YycdCIEMi6LpCkIY9X vPKTfbhopxAeLKg+7LyuZZzBmauGyh2KPdn1pGLwyZ41AB4VEW2lqdjtWROu3w4F nU/ih+eHz6msQVbsFa4TxOXKXRWwCFWi6oGNvBCPsd/8QsqAhGdCOmzff2Sukgu0 kNtW5v4jBVCJ5Hr0QuQQUrecjdw32pk4ypBpxlsDZDeZlRQKFLs6bIljNa6ZzDdJ RJmOBSB4X6DlqHRDBbQeQSIMyZ4cLAPK6bjofHuRfHt41ycrjcnRRiRTjZpWndIp FtEsGUTLTXXLPb21F9T/Mhx6gnDZDJQ3S14nzWTpiiUChgqFWIiviZhtw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrudelkedgtddvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefofgggkfffhffvufgtgfesthhqre dtreerjeenucfhrhhomheplfhohhgrnhhnucfmlhomhhhnuceojhhohhgrnhhnsehjkhhl rggvhhhnrdguvgeqnecuggftrfgrthhtvghrnhepleetveeluddvffehvdeiheduvdetve egtdekhfejfeeuhfefgeetffduteejveeknecuffhomhgrihhnpehgnhhurdhorhhgnecu vehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepjhhohhgrnh hnsehjkhhlrggvhhhnrdguvg X-ME-Proxy: Feedback-ID: iae1440ff:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 8EB42272007A; Thu, 2 Mar 2023 17:45:38 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.9.0-alpha0-183-gbf7d00f500-fm-20230220.001-gbf7d00f5 Mime-Version: 1.0 Message-Id: Date: Thu, 02 Mar 2023 23:45:10 +0100 From: =?UTF-8?Q?Johann_Kl=C3=A4hn?= To: bug-gnu-emacs@gnu.org Subject: 29.0.60; Eglot always pads inlay hints Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=66.111.4.28; envelope-from=johann@jklaehn.de; helo=out4-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.6 (-) 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: -2.6 (--) Open a new file. M-x rust-ts-mode M-x eglot (with rust-analyzer) M-x eglot-inlay-hints-mode Insert: fn example(xyz: i32) {} fn main() { let x =3D 5; example(x); } We see: let x : i32 =3D 5; example( xyz: x); Instead of the expected: let x: i32 =3D 5; example(xyz: x); The server sends - :paddingLeft =3D :json-false, :paddingRight =3D :json-false - :paddingLeft =3D :json-false, :paddingRight =3D t So instead of =E2=80=98(and paddingLeft =E2=80=A6)=E2=80=99, =E2=80=98eg= lot--update-hints-1=E2=80=99 should check for =E2=80=98:json-false=E2=80=99: =E2=80=98(and (not (eq paddingLeft :json-= false)) =E2=80=A6)=E2=80=99. Cf. https://lists.gnu.org/archive/html/emacs-devel/2023-02/msg01001.html. In GNU Emacs 29.0.60 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.36, cairo version 1.17.6) of 2023-02-26 built on toolbox Repository revision: 68d753e3712fdd91fcdc306517ced3321d07a9d1 Repository branch: emacs-29 Windowing system distributor 'The X.Org Foundation', version 11.0.122010= 08 System Description: Fedora Linux 37 (Workstation Edition) Configured using: 'configure --with-dbus --with-gif --with-jpeg --with-png --with-rsvg --with-tiff --with-xpm --with-gpm=3Dno --with-modules --with-harfbuzz --with-cairo --with-json --with-native-compilation --enable-link-time-optimization --with-x-toolkit=3Dgtk3 'CFLAGS=3D-DMAIL_USE_LOCKF -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wp,-D_FORTIFY_SOURCE=3D2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mtune=3Dgeneric -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' LDFLAGS=3D-Wl,-z,relro' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG JSON 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: de_DE.UTF-8 value of $LC_NUMERIC: de_DE.UTF-8 value of $LC_TIME: de_DE.UTF-8 value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=3Dibus locale-coding-system: utf-8-unix Major mode: Rust Minor modes in effect: eglot-inlay-hints-mode: t eglot--managed-mode: t flymake-mode: t tooltip-mode: t global-eldoc-mode: t eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-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: None found. Features: (shadow sort mail-extr emacsbug message mailcap yank-media puny dired dired-loaddefs rfc822 mml mml-sec epa 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 mule-util display-line-numbers edebug derived misearch multi-isearch vc bug-reference time-date eglot external-completion array filenotify jsonrpc ert pp ewoc debug backtrace find-func xref flymake-proc flymake thingatpt compile text-property-search comint ansi-osc ansi-color ring url-util url-parse auth-source eieio eieio-core password-cache json map url-vars project byte-opt imenu pcase rust-ts-mode c-ts-common treesit vc-git diff-mode easy-mmode vc-dispatcher cl-loaddefs comp comp-cstr warnings icons subr-x rx cl-seq cl-macs gv cl-extra help-mode bytecomp byte-compile 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 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 dynamic-setting system-font-setting font-render-setting cairo move-toolbar gtk x-toolkit xinput2 x multi-tty make-network-process native-compile emacs) Memory information: ((conses 16 172016 17902) (symbols 48 13203 0) (strings 32 37784 3539) (string-bytes 1 1173067) (vectors 16 33203) (vector-slots 8 1254476 144465) (floats 8 69 32) (intervals 56 1140 0) (buffers 984 21)) From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 03 08:17:53 2023 Received: (at 61924-done) by debbugs.gnu.org; 3 Mar 2023 13:17:53 +0000 Received: from localhost ([127.0.0.1]:59923 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pY5IG-0007sm-Um for submit@debbugs.gnu.org; Fri, 03 Mar 2023 08:17:53 -0500 Received: from mail-oi1-f170.google.com ([209.85.167.170]:41770) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pY5IE-0007sY-By for 61924-done@debbugs.gnu.org; Fri, 03 Mar 2023 08:17:51 -0500 Received: by mail-oi1-f170.google.com with SMTP id y184so1723975oiy.8 for <61924-done@debbugs.gnu.org>; Fri, 03 Mar 2023 05:17:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1677849464; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=5C5lM2zDFkw47/pwqBazVlyDvXqRCFwgIV2HtwsyETo=; b=DLgDotanEcucEXZjD8Kjqe5TPPVh9BwVGpo5h1PEe+Yh/glSxiYoyhtC2K0W17x+IG zCpAdcYu5ibueWS+vgPDo0m/GSLWsicRHP+0J2ggbaiTtHrfgmLQVVs2Qj7WxqMbtE3H cLCcjJBUCBeXjF/QDPwPTX7vz8Ur2VzJGNY7QzDGqs2FQD2VxWaSi7OzKQ4KCm+to8LR lNt9ReZ/NsQnXvOCBtArWn3LP+BJwLRieBgqXKfAFaE8d0w8kp0KuwxZQPJCrtGWagoD d0zbtiOcSkcria0Kp8wA4MzDCnRyxxeeZ5EXepxjBzroQtKUBCKuB+ITmkciAIb3BhHI kQ6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677849464; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=5C5lM2zDFkw47/pwqBazVlyDvXqRCFwgIV2HtwsyETo=; b=4ncmkhthZISyFQ2oKAsdyqcx9JTfXN9EpDQ3LVV8qkxmKXyTV9jq9X4u47RK1zP2fn Z/XovrMb3/Sc03IjfQMMPMGpS/Bz0RCHfND4p0TBYCzu20msacL64rjv3kGc+1bWFIKI 79/pyVRqkJkkUi3RNqQAM547q6qY7widpwsVIKCeY2qRDfiehj3AIm+N5urydKbozqMb EqyWjPMbf5Dn2XjqolCmkRCUOy5Rou961fLnF2BtGxS+X3LjG86ZnQTG3s5k7HDSXSE+ 5pWY8gwIFOiWAPRBWPkv5DhWibBo9h86tSrm7FpAomjGhWFreOTvRGK/Xkx36Lw5rned 7GRQ== X-Gm-Message-State: AO0yUKXjN7oMwrmhrZ/0Fe4zgmM5/K8JOPPs37X0kZifYu/bY8OV41xX TsObXBwc6LAJiTJ88tgqNrn8GdAG4x5V9Vak8pgFmd8B X-Google-Smtp-Source: AK7set+ZU8K8FS/3qTt47PAushgrrvtFMg9NEm9/5awdv4+FPCmo66h+tpu1GquALKOonyagg7SOoR96hNXlNSakt80= X-Received: by 2002:a05:6808:298a:b0:37a:ec66:a1f with SMTP id ex10-20020a056808298a00b0037aec660a1fmr517849oib.8.1677849464561; Fri, 03 Mar 2023 05:17:44 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: =?UTF-8?B?Sm/Do28gVMOhdm9yYQ==?= Date: Fri, 3 Mar 2023 13:17:33 +0000 Message-ID: Subject: Re: bug#61924: 29.0.60; Eglot always pads inlay hints To: =?UTF-8?Q?Johann_Kl=C3=A4hn?= , 61924-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: 61924-done 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 (-) Hi, Johann. Thanks for the report. Sorry I missed the report in emacs-dev= el. I just pushed a fix to emacs-29. Jo=C3=A3o From unknown Sat Jun 21 10:40:08 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 01 Apr 2023 11: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