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#70036: a fix that Date: Fri, 19 Apr 2024 09:06:41 +0100 Message-ID: References: <4e670617-6483-4159-a5cf-27a921764c38@email.android.com> <87wmot289d.fsf@thornhill.no> <87sezh27gy.fsf@thornhill.no> 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="9968"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , 70036@debbugs.gnu.org, felician.nemeth@gmail.com To: Theodor Thornhill Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Apr 19 10:08:13 2024 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 1rxjI5-0002OC-0T for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 19 Apr 2024 10:08:13 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rxjHj-00030J-K2; Fri, 19 Apr 2024 04:07:51 -0400 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 1rxjHg-0002zz-5x for bug-gnu-emacs@gnu.org; Fri, 19 Apr 2024 04:07:48 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rxjHf-0007za-QZ for bug-gnu-emacs@gnu.org; Fri, 19 Apr 2024 04:07:47 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rxjHt-0005Ke-OW for bug-gnu-emacs@gnu.org; Fri, 19 Apr 2024 04:08:01 -0400 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: Fri, 19 Apr 2024 08:08:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70036 X-GNU-PR-Package: emacs Original-Received: via spool by 70036-submit@debbugs.gnu.org id=B70036.171351403520149 (code B ref 70036); Fri, 19 Apr 2024 08:08:01 +0000 Original-Received: (at 70036) by debbugs.gnu.org; 19 Apr 2024 08:07:15 +0000 Original-Received: from localhost ([127.0.0.1]:57567 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rxjH8-0005Ev-Pn for submit@debbugs.gnu.org; Fri, 19 Apr 2024 04:07:15 -0400 Original-Received: from mail-lj1-x234.google.com ([2a00:1450:4864:20::234]:48420) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rxjH7-0005En-FM for 70036@debbugs.gnu.org; Fri, 19 Apr 2024 04:07:14 -0400 Original-Received: by mail-lj1-x234.google.com with SMTP id 38308e7fff4ca-2d8a24f8a3cso20948311fa.1 for <70036@debbugs.gnu.org>; Fri, 19 Apr 2024 01:06:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1713514013; x=1714118813; 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=t/DrjgaORh/1ECvDIu5UiMrFpG2EXSxY/sBg0a7hzdo=; b=PA6sGmx/8q88/Mu3kQoX2oNIjXyDxVdI7SykM9XWB6zUjgHD473ZVFobmfNN0oo5l3 goL/qQOQvy1RyW8mvlmykn6g78HpMyRRXDZ+3PapoGMvmy4PACWjBO5v6J3z4agXzLEF QOg42iSvAxXYbkBt3xU0aX9WMgCeyfTxcgaulUJnHqpnsAiPr2zXIpffiN9IirK49XbQ MEhor8wJhR4xIZzIQbgzwSYP2X9anm/TijwEUAMIJsUGWjUICVfLD0gsBSEMqo1UQcXD sXFMRVTJbJft2gK/Hf6qT+TW5V69WIyGfnvl2oMb4SonNCCF0t9UKn/comJz6gMkEwkE gatw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713514013; x=1714118813; 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=t/DrjgaORh/1ECvDIu5UiMrFpG2EXSxY/sBg0a7hzdo=; b=ZbejF0GmL7GCQ9+Y5geHTRAtan8Lq24n9ddQoIvrgMtUNIw7YG+kE6bSZIzbbrIFBh cs7bUODOXQvexLGG6fYgtiidgcg9aOOZ0ZHtICCnSISGBXL+9us1ZIM1N73pqpkDzgD1 Z0DWv9psiI1RWb+mtnSPa0bJjjC+W6n6KhFcVMsVieL13+V/7jmnyweVblxIJzacMRpk gfFvhx6YZM9w37Fd5FNnZzqTYctnYgnQfJJQ5qLlAttfQ3mZOXKcw/RRl4oaiBbFILs8 9Ems3MW0+3dUUiMCriZ/4Emx0o2/osovOlJwmwj2zV+hY1y0UsLKA7y9hZQwKJxWgPVi n6Xw== X-Forwarded-Encrypted: i=1; AJvYcCUS4qA2JKbioQGr56+7sXd13gjq1pCJVYI7Nef+ceQA4n9GfgqsqCFneLmXj5k1o5H5qL4TnWBGfPuLoPXohQLAF0Vwt1Q= X-Gm-Message-State: AOJu0YyCPn7h4Cm7FuYBrROp4dwAXUGRsiNSQjsmQe8Fm0FuNyJyuu/C jdD/5juFYThExP4Mw8z674OMQZG+ROodHDe4xMbvruHYK+1rc7mc9KNaggOEYNpN5DQmf4aOqqG Wdjk9of2p8tOnWOhO/kOHMJz1N9Gjxw== X-Google-Smtp-Source: AGHT+IE/HS/cq87Grp1R0DQTtEOWVBbF9g84T/oK/vAg8zeoKqORh94b6Obyn/JoajP3nPxWQaiJGmwP08w4k89xlMI= X-Received: by 2002:a2e:a684:0:b0:2d8:5cc7:fa97 with SMTP id q4-20020a2ea684000000b002d85cc7fa97mr678932lje.26.1713514013351; Fri, 19 Apr 2024 01:06:53 -0700 (PDT) In-Reply-To: <87sezh27gy.fsf@thornhill.no> 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:283650 Archived-At: On Fri, Apr 19, 2024 at 7:26=E2=80=AFAM Theodor Thornhill wrote: > Like this? > > I can confirm with yours and this patch the latency is down again, so > thanks. I'm very happy it works! > I'll test a little the difference with/without eglot--managed-buffers. Yes, do that change, and if you want (_if_ you want) you can clean up the patch, add some in-code comments explaining the matter, replace cl-loop with your preferred thing, rename the slightly cryptic eglot--cached-tdi, maybe set it more explicitly on in eglot--signal-didOpen= . And maybe write a test for the symlink situation, perhaps using my small experiment, so that it becomes less likely to be broken again in the future. Jo=C3=A3o