From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ship Mints 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 09:45:48 -0400 Message-ID: References: <874j5lzhdn.fsf.ref@aol.com> <874j5lzhdn.fsf@aol.com> <29ebe27b-89d6-4861-8c5e-3db50a1660f3@yandex.ru> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000067053606240b7982" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18143"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Ergus , Michael Albinus , 73718@debbugs.gnu.org, Juri Linkov To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Oct 09 15:48:23 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 1syX38-0004Z5-3q for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 09 Oct 2024 15:48:22 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1syX2q-0002z5-LB; Wed, 09 Oct 2024 09:48:04 -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 1syX2h-0002yA-HD for bug-gnu-emacs@gnu.org; Wed, 09 Oct 2024 09:47:55 -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 1syX2e-00059d-6h for bug-gnu-emacs@gnu.org; Wed, 09 Oct 2024 09:47:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=Date:From:In-Reply-To:References:MIME-Version:To:Subject; bh=L/uck7UfNj6ajDRoY+vjMqPY+bxczqMhwBC2JGBgEQo=; b=A/ESZz9s3I98C4VjdwyanGUmcwmrUUzqazH6O6zlzmJNvpuDDK0SvuS13TbfV7sWM0ENpkI/OygqgB7v1kvtwOhrp4TI46N2TJYhtVogZUAn9rCP0fRsi2UXxoApwVm92H4OemBDwpLHUxyob1sEQKNpurjVNCd2yTQdZ98xELsmAcm+Z0lvUhIV8VstvFQKnWDp3ou078lbE8GEbuC2zoN/9ohoxBzoUK+1P+VOLuBzFt3560DlXUKV7XXFmTc3rc+P3wvjWnHLI6NqKX2/RQJupnRIEHSWw+VHYFlP20iYhswhRn3yvyMjO8vq+5+Yt41+EBj4qlHllNawuTCk3A==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1syX2n-0000Ep-Sg for bug-gnu-emacs@gnu.org; Wed, 09 Oct 2024 09:48:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ship Mints Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 09 Oct 2024 13:48:01 +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.1728481635851 (code B ref 73718); Wed, 09 Oct 2024 13:48:01 +0000 Original-Received: (at 73718) by debbugs.gnu.org; 9 Oct 2024 13:47:15 +0000 Original-Received: from localhost ([127.0.0.1]:56049 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1syX23-0000De-0i for submit@debbugs.gnu.org; Wed, 09 Oct 2024 09:47:15 -0400 Original-Received: from mail-ua1-f54.google.com ([209.85.222.54]:51296) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1syX1z-0000DV-A9 for 73718@debbugs.gnu.org; Wed, 09 Oct 2024 09:47:13 -0400 Original-Received: by mail-ua1-f54.google.com with SMTP id a1e0cc1a2514c-84fc1a5e65bso144938241.2 for <73718@debbugs.gnu.org>; Wed, 09 Oct 2024 06:47:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1728481560; x=1729086360; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=L/uck7UfNj6ajDRoY+vjMqPY+bxczqMhwBC2JGBgEQo=; b=F+8AmcSWbUvUYjwvzeXDEEAWBxGevVgt7rJU0Q+vrcW8hOkT/+vEv/fZtGtyb6hvKX Y6vjR9VhLssfJmKKzu356rwUb0Lz90nadCm6NmgPJQkqcb6KaUKxwKVO+dHrIJojJZJA PEbTLoZJ6VUXqxhsYIPd7YVgeEnm7ZXNacmbvfExQJZXPGT3+A9LMNZJSRIsYnVluCME r7Xqf6XUov6dpT/vehvlgrEG8uwobu7G8ZYzH3U+iCNkh3SHTp5PiJaoUkSTia/61fS1 su2+ay6OtAeEmQTvfIC3cO4Bok0TNzHwtA+aB+K7ttjTruAnpMVrMAu45vLB8ghPl7m0 Tglw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728481560; x=1729086360; h=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=L/uck7UfNj6ajDRoY+vjMqPY+bxczqMhwBC2JGBgEQo=; b=OANawyzg2MdRvF5DM7QpZap8OIiVDhRSfn5WEdWZVhVzSIHYCbdIqW+Teh0CPX+aEC +naKf2BUi1GHFsaiRTP/71FUhCn+Eo0IPCEnb5ncN8+D0BL47+nK6mbH/7xDgYx1pQUD 1sPCGwfmXQgFf4bJlIEEeWAY16TTnS62gipU0NQaX3vQBvNUXCPlxQlSzGAERuS9SDz0 L1WLwbzcccpDkfDXv0PvP3pIogJutP20Mgzb4y1/Bb94Q93Nob8jeL6LXWa5KgD0lbsi Z2STMFilYcfhQpWBL/YNqK3Y5aacA+gLulQBFKPl2pAidpc+RR2lJ6tsrOgRZhAnDV61 73tQ== X-Forwarded-Encrypted: i=1; AJvYcCW5FNRy9kK6uLfW4eUEtfv5VpwsKI4y4Ni1fKtu7vqpu4NU+zxd2S+t/+Xlc7T7POz3R6vEbQ==@debbugs.gnu.org X-Gm-Message-State: AOJu0YyqBljJSfJRnwrYe1Y4Eg20KKAv6zFaZmPkdpFm4m4aYGRy9NWS HdYfeE0FuM1IBl6NVpGmXMMz+XIiXLbabawx8qLUu5DhR3a4bNt7Uby3qAIv46eitBbJEegumGi bb/TKposGbMTIbBkDbKV1XY8YoRs= X-Google-Smtp-Source: AGHT+IGSU9DZ8c1f521ZuMZ/+v0hu0mL4uYUwhgySuv676a5KkCU8ivXd9zvVO1Hi6ZIqLuF1Ew52+MncvKyEu7+J6Y= X-Received: by 2002:a05:6122:458c:b0:50a:318:b3c2 with SMTP id 71dfb90a1353d-50cf087cb10mr1505113e0c.2.1728481560296; Wed, 09 Oct 2024 06:46:00 -0700 (PDT) In-Reply-To: <29ebe27b-89d6-4861-8c5e-3db50a1660f3@yandex.ru> 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:293213 Archived-At: --00000000000067053606240b7982 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I've added file-remote-p guards in a variety of places specifically to avoid these issues. On Wed, Oct 9, 2024 at 9:39=E2=80=AFAM Dmitry Gutov wrot= e: > 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 betwee= n > > project-mode-line and tramp names > > > > I already tried: > > > > (connection-local-set-profile-variables 'my-profile '((project-mode-lin= e > . 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. > > > > --00000000000067053606240b7982 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I've added=C2=A0file-remote-p guards in a variety of places specific= ally to avoid these issues.=C2=A0

--00000000000067053606240b7982--