From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?B?Sm/Do28gVMOhdm9yYQ==?= Newsgroups: gmane.emacs.devel Subject: Re: Eglot "inlay hints" landed Date: Thu, 23 Feb 2023 10:03:54 +0000 Message-ID: References: <83edqqaf8c.fsf@gnu.org> <2B284D77-97DF-4B3E-89FB-13F0CA93D240@gmail.com> <87356xv65z.fsf_-_@gmail.com> <83fsawriye.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40709"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , emacs-devel@gnu.org, dimitri@belopopsky.com, luangruo@yahoo.com To: Chinmay Dalal Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Feb 23 11:05:17 2023 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pV8TV-000AHw-ET for ged-emacs-devel@m.gmane-mx.org; Thu, 23 Feb 2023 11:05:17 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pV8SV-0007qE-AK; Thu, 23 Feb 2023 05:04:15 -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 1pV8SR-0007oK-3d for emacs-devel@gnu.org; Thu, 23 Feb 2023 05:04:11 -0500 Original-Received: from mail-oi1-x22c.google.com ([2607:f8b0:4864:20::22c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pV8SN-0003Vk-No; Thu, 23 Feb 2023 05:04:10 -0500 Original-Received: by mail-oi1-x22c.google.com with SMTP id bg11so11930694oib.5; Thu, 23 Feb 2023 02:04:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; 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=pBP9T6AhYqL9BVeT+/vYWDlHuduH6tjpYV6Pom19nh0=; b=ZM0XUHDXtX8tRtli9GBUablK56YZP9WvAqbiAxO1BYNP+1FdVxUtmc/elNcaAvctgu 8LbbbMp1VJ+Zu5HXcA5KBI20fBLjV8sGka2ph0c9j31TpkCx0izIQopJR4OUZWf3SlE7 QXpX2V/F4z5NQN2/igBYBt3L/UGm20RIBebSLWhmugleU/X5igwO1ZugtgpbUhkIioIP 8zzgu7jSjNPiiJ0tgoPKqDrQqfkY8ys1to4s3p6LqlTSwgO3c61rshW6/D67N35/bBRb fsRQ/K3vuK/M/V4TILUUh+XSsVT5pPtx5dlZrnnHBdvLRbL9os1JYXcSLFtzA2MH3tVX PtXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=pBP9T6AhYqL9BVeT+/vYWDlHuduH6tjpYV6Pom19nh0=; b=HzW6z0Hz9LIc8Hs+3ETW1WdmGN4WJghkvm58410zcTxypckoiLhm/zCCYWYb5BTWws HuaSLgw7HynvEkJKRq7w4oxrBhpYv0LOSv6SqB7fA9TyKxk7WX49Je/xTrcS+SPTglQQ snZi/hVEUB14QPB9gf9ayC9ITAAQeG2StH8Vl+ArWUDD3dG4+f72mUlsUm/laKOm1bJw i4rOt3RzybiLcJZA3t78LXFCJi4XSiWelirpUbdPQ+DqFPKDq/I6FZWZbKcybEclyqhI nsIMOOdc2r6F4qbv/H25BpDb/XIy2AszamKrMsBlRi6NGcZp+7S3Uw47I/+Q7ZeIZS+I 3n+g== X-Gm-Message-State: AO0yUKWD6MseD4OVGnCjznsRrpvGDWSSp9SQdgSWVvmaa9SOInEajvZa z5QnpBu2Tww6uAlYPwTfRELwh92MLDbp2fy0fro= X-Google-Smtp-Source: AK7set8qtlGInn2NkVlp2RgI+3cPLeeKPAZemMzkflYxfwsRJPpV2S1+aTy75l7kq7j3/K7RWqoJH/zE19fPf6U8fBM= X-Received: by 2002:a05:6808:13c9:b0:37f:84bc:b095 with SMTP id d9-20020a05680813c900b0037f84bcb095mr648560oiw.215.1677146646041; Thu, 23 Feb 2023 02:04:06 -0800 (PST) In-Reply-To: Received-SPF: pass client-ip=2607:f8b0:4864:20::22c; envelope-from=joaotavora@gmail.com; helo=mail-oi1-x22c.google.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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:303694 Archived-At: On Thu, Feb 23, 2023 at 9:56 AM Chinmay Dalal wrote: > > Why would we want that? > > > >> > When > >> > scrolling a window, it may take a short amount of time for inlay hin= ts > >> > to "pop in". > It will solve this problem: Not significantly though. There are many operations that invalidate the whole buffer's hints, like changing the name of a function parameter, or doing some git operation which changes the contents of the whole buffer. That will still cause pop-in. So I don't think it's worth the added complexity: if you want no scrolling pop-in, set eglot-lazy-inlay-hints to nil. Maybe it's not bad for small buffers and fast servers. Jo=C3=A3o