From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#73718: 31.0.50; Severe performance issue with Tramp and project-mode-line-format Date: Wed, 09 Oct 2024 19:10:20 +0300 Organization: LINKOV.NET Message-ID: <86a5fdmg3h.fsf@mail.linkov.net> References: <874j5lzhdn.fsf.ref@aol.com> <874j5lzhdn.fsf@aol.com> <29ebe27b-89d6-4861-8c5e-3db50a1660f3@yandex.ru> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15080"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/31.0.50 (x86_64-pc-linux-gnu) Cc: Ergus , Michael Albinus , 73718@debbugs.gnu.org To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Oct 09 18:24:16 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 1syZTy-0003kl-Tf for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 09 Oct 2024 18:24:14 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1syZTl-0007os-VT; Wed, 09 Oct 2024 12:24:03 -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 1syZTc-0007mJ-JC for bug-gnu-emacs@gnu.org; Wed, 09 Oct 2024 12:23:53 -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 1syZTc-0000aP-Ap for bug-gnu-emacs@gnu.org; Wed, 09 Oct 2024 12:23:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=aWImt1Ynw3aOOGFpjDDKm9krhbwf9/UfX+mjQJFTiGM=; b=i2f8rN7WIGjvIP6bHEDbBEWZY7AAkrJ+vBe20qZrxNWm0DTBsvPyniqiJgyJHzsVybMCy0TyKUQLaxMEST/oa1IeRYC7Ya7Bs70TA+97xY7/banUs2Sc+oCaPlNQj3D8SxRhvWZyGBr332sADE+jc5+cDUFWGCz2YaU5tH4BU/cQEDFsg6tDfEOKHsNqwFoMDAXrX+rQSL0ZZr5vcnpHqn5N5zAtFqmaFYKM/Wzv/nFIBTa6NjGoRmMNnlep5X69RyZ7C7tlXcO5lLJASbUe7B57fAEclhnldAzdb5s8dcXE+Me3gouOuXeLtMgpk2tI985Q9YXM4PkscPg+BIrpvg==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1syZTm-0000g6-9X for bug-gnu-emacs@gnu.org; Wed, 09 Oct 2024 12:24:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 09 Oct 2024 16:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73718 X-GNU-PR-Package: emacs Original-Received: via spool by 73718-submit@debbugs.gnu.org id=B73718.17284910242561 (code B ref 73718); Wed, 09 Oct 2024 16:24:02 +0000 Original-Received: (at 73718) by debbugs.gnu.org; 9 Oct 2024 16:23:44 +0000 Original-Received: from localhost ([127.0.0.1]:57441 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1syZTU-0000fF-8w for submit@debbugs.gnu.org; Wed, 09 Oct 2024 12:23:44 -0400 Original-Received: from relay2-d.mail.gandi.net ([217.70.183.194]:41051) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1syZTS-0000ex-AP for 73718@debbugs.gnu.org; Wed, 09 Oct 2024 12:23:43 -0400 Original-Received: by mail.gandi.net (Postfix) with ESMTPSA id 9B8FE4000B; Wed, 9 Oct 2024 16:23:24 +0000 (UTC) In-Reply-To: <29ebe27b-89d6-4861-8c5e-3db50a1660f3@yandex.ru> (Dmitry Gutov's message of "Wed, 9 Oct 2024 16:38:04 +0300") X-GND-Sasl: juri@linkov.net 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:293219 Archived-At: >> I made a profile and it looks like there is some bad interaction between >> project-mode-line and tramp names >> I already tried: >> (connection-local-set-profile-variables 'my-profile '((project-mode-line >> . nil))) >> (connection-local-set-profiles '(:application tramp :user "myuser") 'my-profile) >> But is not disabling the modeline for remote files. > > I wonder if we'll need to disable project-mode-line in remote files > altogether, or if this is a problem that could be solved in Tramp (with > extra caching?) > > To use connect-local value to disable, BTW, it would need to have extra > code called from the mode line format (in bindings.el). And it's a part > that was added only recently, for in Emacs 30. Or maybe better to cache the value of project-name on remove projects.