From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.help Subject: Re: switch-to-buffer slow on PGTK Date: Thu, 01 Feb 2024 15:21:44 +0100 Message-ID: <87wmrol0xz.fsf@gnu.org> References: <87il38jujv.fsf@jonas-damm.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="21400"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.11.27; emacs 30.0.50 Cc: help-gnu-emacs@gnu.org To: Jonas Damm Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Feb 01 15:22:23 2024 Return-path: Envelope-to: geh-help-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 1rVXxO-0005JZ-RZ for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 01 Feb 2024 15:22:22 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rVXwu-0006tQ-Cx; Thu, 01 Feb 2024 09:21:52 -0500 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 1rVXws-0006sp-1G for help-gnu-emacs@gnu.org; Thu, 01 Feb 2024 09:21:50 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rVXwr-00016s-8l; Thu, 01 Feb 2024 09:21:49 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=2M0hMiPcjCrDXs7l9go/A3oZ6IfGIXoMB78LPmk7sk0=; b=IJEWpo03I7eJOuKq+2b3 yGis1A2B2tXJhklAi/Wi75l/aHtbKxRBAgDcePSKOFvJ4WL325hUmYIi1M0Em9SkquLQQ4e/qRSk8 fHXfw7siwnM60r9Xg+MUxNkpLiUjLpJzdsLksS+6S3ZHW/5rCHnT27K4SdPZcKa2LOLEfwxRa7MSw PqzCzNStbqOyCogl0LbM7mwouNGmwvfZBsrYVupXrtKd1kv87hjVa5DHZde21MQ+epx94fRoVdfxK rVwWwvO4VqurKvuVsOjwx9E0gEZ4YOJZfiNH+31uu9sxmq5WNDEVaxCvK2QCrt3qwe1/1Iugl9yFq 9zAZKhoGdtjj7A==; X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrfeduuddgiedtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvfevufgjfhgffffkgggtsehttd ertddtredtnecuhfhrohhmpefvrghsshhilhhoucfjohhrnhcuoehtshguhhesghhnuhdr ohhrgheqnecuggftrfgrthhtvghrnhepleduvdegfeduvdejkeefteelgeetgfevhefhue ffueffgeehgfeufefgvdffgedtnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghm pehmrghilhhfrhhomhepthhhohhrnhdomhgvshhmthhprghuthhhphgvrhhsohhnrghlih hthidqkeeijeefkeejkeegqdeifeehvdelkedqthhsughhpeepghhnuhdrohhrghesfhgr shhtmhgrihhlrdhfmh X-ME-Proxy: Feedback-ID: ib2b94485:Fastmail In-Reply-To: <87il38jujv.fsf@jonas-damm.de> (Jonas Damm's message of "Thu, 01 Feb 2024 12:24:30 +0100") X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:145845 Archived-At: Jonas Damm writes: Hi Jonas, > I am using emacs 30 (GNU Emacs 30.0.50 (build 5, x86_64-pc-linux-gnu, > GTK+ Version 3.24.38, cairo version 1.16.0) of 2024-02-01) on Debian > Sway (wayland) on a ryzen 3600G with 32G of fast memory. > > switch-to-buffer gets slower and slower, the longer the > machine is running. How many open buffers do you have? M-: (length (buffer-list)) RET will tell you. If it's an unusal amount, you can eval (dolist (b (buffer-list)) (message "%S" (buffer-name b))) <=== C-x C-e here! in order to print all buffers' names to *Messages*. My guess is you use some package which creates buffers over buffers without cleaning up. Bye, Tassilo