From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#73718: 31.0.50; Severe performance issue with Tramp and project-mode-line-format Date: Wed, 9 Oct 2024 16:38:04 +0300 Message-ID: <29ebe27b-89d6-4861-8c5e-3db50a1660f3@yandex.ru> References: <874j5lzhdn.fsf.ref@aol.com> <874j5lzhdn.fsf@aol.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20176"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird Cc: Michael Albinus To: Ergus , 73718@debbugs.gnu.org, Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Oct 09 15:39:04 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 1syWu8-00052e-3a for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 09 Oct 2024 15:39:04 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1syWu0-0000g2-At; Wed, 09 Oct 2024 09:38:57 -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 1syWtx-0000fo-BZ for bug-gnu-emacs@gnu.org; Wed, 09 Oct 2024 09:38: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 1syWtw-000490-Eg for bug-gnu-emacs@gnu.org; Wed, 09 Oct 2024 09:38:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=In-Reply-To:From:References:MIME-Version:Date:To:Subject; bh=a5rYgOU1Om5dF7hWoVAdkQv5ZO3idDu0C2s0NyaUYY0=; b=eSKTHcmgNv5uRPxR7OuWZOhMYMkp9p1jxRRBg86ByoigeeVYUukoHar7flqwOriqRmZkovqmu9FBEdyFsoyc1D/pEjCbsleyFYhMAki1aMQACz3+86EfAzWrqDci9AHrGrePoo2PVqaabvFXUsLMvRJi9RC8OundXtGeYGCtGudhOw08nRpsYBJcueVoTTKhFuqFqVmlnoiINZc8ZWxccpbKJ6lhh/gd9emkeZ30YDbUN0YxngQSASTUlPUUbxBZLrRI27oZqvHIMJGHpW3xeaZEg8d2J6hrqVY+pB/VEAUjEC3t0mFjsRc7Z98asUEer+Am1m9cpiprh3CRygJ1MQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1syWu6-0008Ba-Dw for bug-gnu-emacs@gnu.org; Wed, 09 Oct 2024 09:39:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 09 Oct 2024 13:39: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.172848110931423 (code B ref 73718); Wed, 09 Oct 2024 13:39:02 +0000 Original-Received: (at 73718) by debbugs.gnu.org; 9 Oct 2024 13:38:29 +0000 Original-Received: from localhost ([127.0.0.1]:56033 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1syWtY-0008Al-MK for submit@debbugs.gnu.org; Wed, 09 Oct 2024 09:38:28 -0400 Original-Received: from forward501d.mail.yandex.net ([178.154.239.209]:36370) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1syWtV-0008AX-By for 73718@debbugs.gnu.org; Wed, 09 Oct 2024 09:38:27 -0400 Original-Received: from mail-nwsmtp-smtp-production-main-35.klg.yp-c.yandex.net (mail-nwsmtp-smtp-production-main-35.klg.yp-c.yandex.net [IPv6:2a02:6b8:c42:24a4:0:640:473f:0]) by forward501d.mail.yandex.net (Yandex) with ESMTPS id D013A618F2; Wed, 9 Oct 2024 16:38:11 +0300 (MSK) Original-Received: by mail-nwsmtp-smtp-production-main-35.klg.yp-c.yandex.net (smtp/Yandex) with ESMTPSA id 8ciq1295JKo0-yK1mf1vx; Wed, 09 Oct 2024 16:38:11 +0300 X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1728481091; bh=a5rYgOU1Om5dF7hWoVAdkQv5ZO3idDu0C2s0NyaUYY0=; h=In-Reply-To:From:Subject:Message-ID:Cc:References:Date:To; b=GRHM8dZPoxM/vzM529WA95fSg/mx6rD0jX7O/xvuTx6DURgdzchlzpU2bUJABnnIj GSR6tKd9GoC2gZ9QntAmP7potV3cn8oaPBRQE/mBfiCmqo9BRUfWedpL2PgeMNHiKt WH0ohVDc9MmDIdoSQYQNrvfDmN5JfmJIbnw++2LE= Authentication-Results: mail-nwsmtp-smtp-production-main-35.klg.yp-c.yandex.net; dkim=pass header.i=@yandex.ru Original-Received: from phl-compute-02.internal (phl-compute-02.phl.internal [10.202.2.42]) by mailfauth.phl.internal (Postfix) with ESMTP id 8BCE11200066; Wed, 9 Oct 2024 09:38:08 -0400 (EDT) Original-Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-02.internal (MEProxy); Wed, 09 Oct 2024 09:38:08 -0400 X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrvdeffedgieelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnh htshculddquddttddmnecujfgurhepkfffgggfuffvvehfhfgjtgfgsehtjeertddtvdej necuhfhrohhmpeffmhhithhrhicuifhuthhovhcuoegughhuthhovheshigrnhguvgigrd hruheqnecuggftrfgrthhtvghrnhepiefhjeeuveetffffvdefteffffekhfeuudejieeh heeiudelgfehgffffeduffdunecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpe hmrghilhhfrhhomhepughguhhtohhvodhmvghsmhhtphgruhhthhhpvghrshhonhgrlhhi thihqddufeeffeelleehhedvqddvleegjeejjeejiedqughguhhtohhvpeephigrnhguvg igrdhruhesfhgrshhtmhgrihhlrdgtohhmpdhnsggprhgtphhtthhopeegpdhmohguvgep shhmthhpohhuthdprhgtphhtthhopehsphgrtghisggsrgesrgholhdrtghomhdprhgtph htthhopeejfeejudekseguvggssghughhsrdhgnhhurdhorhhgpdhrtghpthhtohepjhhu rhhisehlihhnkhhovh X-ME-Proxy: Feedback-ID: ib1d9465d:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 9 Oct 2024 09:38:06 -0400 (EDT) Content-Language: en-US In-Reply-To: <874j5lzhdn.fsf@aol.com> X-Yandex-Filter: 1 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:293211 Archived-At: Hi! On 09/10/2024 13:43, Ergus via Bug reports for GNU Emacs, the Swiss army knife of text editors wrote: > 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.