From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Suhail Singh Newsgroups: gmane.emacs.bugs Subject: bug#73046: 29.4; Emacs 100% CPU usage for several seconds when opening dired buffer over TRAMP Date: Fri, 20 Sep 2024 11:42:56 -0400 Message-ID: <87v7yqjpq7.fsf@gmail.com> References: <87o75241qh.fsf@gmail.com> <865xr8228d.fsf@gnu.org> <87jzfofzcl.fsf@gmail.com> <8634mc1ty0.fsf@gnu.org> <87h6asl3hl.fsf@gmail.com> <86ttesyo1t.fsf@gnu.org> <87bk0zjzt1.fsf@gmx.de> <86a5gjy02i.fsf@gnu.org> <87wmjn2wq5.fsf@gmail.com> <87seuaids7.fsf@gmx.de> <86frqaweo2.fsf@gnu.org> <87a5gigo9b.fsf@gmx.de> <86cylew3tr.fsf@gnu.org> <87r09sexp0.fsf@gmx.de> <87cyl7rvn3.fsf@gmail.com> <86y13uiwhk.fsf@gnu.org> <877cbe48ja.fsf@gmail.com> <86ed5mffbc.fsf@gnu.org> <87bk0ik5uz.fsf@gmx.de> <87zfo2jtnl.fsf@gmail.com> <87cykys5gy.fsf@gmx.de> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31653"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Eli Zaretskii , Suhail Singh , 73046@debbugs.gnu.org To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Sep 20 17:44:51 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 1srfoR-00086y-Pu for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 20 Sep 2024 17:44:51 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1srfoM-0003OQ-3O; Fri, 20 Sep 2024 11:44:46 -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 1srfoJ-0003O2-J5 for bug-gnu-emacs@gnu.org; Fri, 20 Sep 2024 11:44:43 -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 1srfoJ-000849-A4 for bug-gnu-emacs@gnu.org; Fri, 20 Sep 2024 11:44:43 -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=CgsujQsv9TAFV/FHY+WJ1R2ZfQnDB6s+ppPNd2dQ1yQ=; b=q8chJHlpj8lYwNT0wU3qhcUQcxnMcACNret8kQf4ePSad6gwhuYf4qIJknOtb8ZkFvAE8rGZ2XMvuXhsnY3JHOU6++p44ZEuL8bcvRv2WjursGExcgr7d6dOlrTXEuHKNJuFdqvVWsLV1jg/7T5XpTZLr29C6dd5NMS4KrOGhLCwX+AVIPeRZ09A4+Hz7cO+cNXdpW7bUQjIDzELngD/E5Tk778mvalHrEYRNVn5wyI7R+K0/8LgEiZNbvdq83ptnUd0pOWVzHjvVLnaQ0t21uWSzXGaW2LYUY2oacUWt4D0dJr4C/yYzvFNjOi4LT31uW37/FYU04iZC4aq3yhh4g==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1srfoc-0002AD-0A for bug-gnu-emacs@gnu.org; Fri, 20 Sep 2024 11:45:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Suhail Singh Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 20 Sep 2024 15:45:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73046 X-GNU-PR-Package: emacs Original-Received: via spool by 73046-submit@debbugs.gnu.org id=B73046.17268470768263 (code B ref 73046); Fri, 20 Sep 2024 15:45:01 +0000 Original-Received: (at 73046) by debbugs.gnu.org; 20 Sep 2024 15:44:36 +0000 Original-Received: from localhost ([127.0.0.1]:36113 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1srfoC-00029C-Ao for submit@debbugs.gnu.org; Fri, 20 Sep 2024 11:44:36 -0400 Original-Received: from mail-qk1-f193.google.com ([209.85.222.193]:49265) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1srfoA-00028i-Dq for 73046@debbugs.gnu.org; Fri, 20 Sep 2024 11:44:35 -0400 Original-Received: by mail-qk1-f193.google.com with SMTP id af79cd13be357-7a99fde9f1dso189079585a.2 for <73046@debbugs.gnu.org>; Fri, 20 Sep 2024 08:44:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1726846989; x=1727451789; darn=debbugs.gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=CgsujQsv9TAFV/FHY+WJ1R2ZfQnDB6s+ppPNd2dQ1yQ=; b=HKZXDU46bpAVZPUfhovyfqIGyolEDPFamS6HAh0FNP5mpyAfy+IWx6U3WaiVy2fh2E JRfAhjq7bNPC5KiFABO/jmQ7QGmhEQSD2WVR6zM8693fIaNTul5mKm3t0QV9Vnjmo+MP Ce1w7N1WxHepfmmntXSrO6cdxaTyMOluhyPrSmSy9GLvVN8AF/qiWe9WgVSH71KCRSff l2YlGZ5A1NPTaBeiWeYLgrnst79NoUiHW3PK1lvyprqDXw8Deh6P4Jr148aQb4T17qP0 BWjudS6zNq8T47IvLY15k3PdndGi3pzb6LE9zJAOt7vBz3AKpK8gqRIZWgy2xgB1+PIo 9ZAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726846989; x=1727451789; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=CgsujQsv9TAFV/FHY+WJ1R2ZfQnDB6s+ppPNd2dQ1yQ=; b=miCoX+dBahyJCODc1Xg5onuUZE9r4zCQ+9q1CTvNuhlp2ceCfXF/RZe9m2GkkNdmG7 1fL/kz7w6R+a7ykHj2335wIi56zr/+EAES8ek4z1blVEP0iNiemXqv6FD8qdc/LO4Vec O6aZBY0iqs6CsxvmcSST1Fv3rrh6Om1VL9bHXzS0xq9nd7/jjluQCiXZ1JniDwafd84O +FHO/fsc7u8fqguL0YrqMJIFcS/94H7pA7PFK8fQhUL5+lTE0xVUeIs+f6TOH4j3B2xH Uj6ZlLDE8Ppubg/KmixLaKpG2HfSYVUJZ1SJqS/9PVy32y4jPddRu3iboyjJYSELZg9B mRqw== X-Forwarded-Encrypted: i=1; AJvYcCU7l5V/Qdx96RrXdZWfW73Rrz7iNw0We0fgxpBBut6M6WYu37d5O6pX0185paReGuYLbqR+uQ==@debbugs.gnu.org X-Gm-Message-State: AOJu0YyXXkQ/odDLsgFY39a20/QzWc4+v+HCrFxpjT/0VZ9oneIQUvbb h3JbfO30hzd+Rkp6Sp/Uhrf4R0WLo3FnQNzovSgaHmhmkdlDWgZgmUjCk3pZ X-Google-Smtp-Source: AGHT+IHMrw6P2wZ5IiX57ic3HT7pvru65DVh7s/7gjvAbzAgUlAn+jgJ7vZFs/iCdKxbvZiT3/j9ug== X-Received: by 2002:a05:620a:24d4:b0:7a1:dff1:57ab with SMTP id af79cd13be357-7acb80ab1d4mr583055885a.23.1726846989157; Fri, 20 Sep 2024 08:43:09 -0700 (PDT) Original-Received: from gnus ([65.94.70.53]) by smtp.gmail.com with ESMTPSA id af79cd13be357-7acb08da81fsm192280985a.110.2024.09.20.08.43.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Sep 2024 08:43:08 -0700 (PDT) In-Reply-To: <87cykys5gy.fsf@gmx.de> (Michael Albinus's message of "Fri, 20 Sep 2024 17:35:41 +0200") 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:292126 Archived-At: Michael Albinus writes: >>> If 3 surprised you, then the reason is simple: sit-for returns >>> immediately if any input is available, so typing effectively disables >>> the wait. This could be countermanded by unconditional sleep, but >>> AFAIU Michael is rethinking the whole issue, so we should wait for him >>> to reach his conclusions. > > This would mean to use (sleep-for 0) instead of (sit-for 0), right? Hmm, > I might try the same tests for this clause next days, no idea whether it > makes a difference. > > But ATM, we should use (sit-for 0), until we know better. I'll defer to your and Eli's expertise. I don't have strong opinions on the matter; I simply wanted to make sure you were aware of it. Glad you're feeling better. Regards, -- Suhail