From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Pip Cet Newsgroups: gmane.emacs.devel Subject: Re: Emacs [scratch/igc 6682d0e6c96] crash on Linux 6.6.41 KDE 6.0.5, wayland Date: Tue, 03 Sep 2024 15:57:05 +0000 Message-ID: <8734mg3f3m.fsf@protonmail.com> References: <87ikve2el4.fsf@protonmail.com> <2dbfa6b7-19c4-40e1-a094-2995261097ac@gmail.com> <86h6aw7v2c.fsf@gnu.org> <680b5341-355b-4b1c-8fa3-364d743fa347@gmail.com> <867cbs7ntt.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3722"; mail-complaints-to="usenet@ciao.gmane.io" Cc: execvy@gmail.com, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Sep 03 18:07:47 2024 Return-path: Envelope-to: ged-emacs-devel@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 1slW4I-0000oR-2Q for ged-emacs-devel@m.gmane-mx.org; Tue, 03 Sep 2024 18:07:46 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1slW3g-0003KA-HD; Tue, 03 Sep 2024 12:07:08 -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 1slVu7-0003VZ-FU for emacs-devel@gnu.org; Tue, 03 Sep 2024 11:57:15 -0400 Original-Received: from mail-4316.protonmail.ch ([185.70.43.16]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1slVu5-00011l-4F; Tue, 03 Sep 2024 11:57:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1725379029; x=1725638229; bh=e/RaJxUXxJu1nt6PwZcVY7Sl1V2TB6Qy76lOEA/neSs=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=D0GJUMfSTFjqKI1UfRXtC8VLIKSkR2gWHBseMTu1jXAFepUs5bKiYb4NPHIFXTwye NHr6/92RWwjKUwZXZbQSB1EMIQqV9+vL9C66h23qxGpyC1cC09WowlyRdCyx9v78uL qqqs+B8rWDIJcsmuhOub6kFBePK66xsI7kZqaZk1gNWWyhTik41Crbdu3tSm/I7Aqf L9KUzDDvqmdCuvoIrsSyoZ3dUvPhz7rgUghbkwSyszuF5E3Js8csGKR2tdb9VTumWI 8vQ//9H6BAYlg2NBl28uTFrgNgi517h4j4wvlkiT5cJuZcyUfRg7gB4Tuw3vaEUQkK s0c4/jHZw89KQ== In-Reply-To: <867cbs7ntt.fsf@gnu.org> Feedback-ID: 112775352:user:proton X-Pm-Message-ID: 461e67f379c1a0e93d47142a0529bd4d9a7bf436 Received-SPF: pass client-ip=185.70.43.16; envelope-from=pipcet@protonmail.com; helo=mail-4316.protonmail.ch X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, FREEMAIL_REPLY=1, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Tue, 03 Sep 2024 12:07:06 -0400 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:323333 Archived-At: "Eli Zaretskii" writes: >> Date: Tue, 3 Sep 2024 22:58:04 +0800 >> From: execvy@gmail.com >> >> What file are you visiting when this happened? >> A /home/exec/Projects/git.savannah.gnu.org/git/emacs-build/scratch_igc/s= hare/emacs/31.0.50/lisp/files.el file. >> >> Another information: my KDE plasma setting has a keyboard config. >> I config keyboard long press repeat rate as: 100 repeats/s >> If I decrease 100 repeats/s to 10 repeats/s, then I feel no gc pause on = scratch/igc. >> >> But, in master branch, even I set 100 repeats/s for long press key confi= g. I feel no pause. > > And I don't feel any pauses with the igc branch, either. I'm not sure key repeat is a particularly good test of GC responsiveness; it appears to be heavily influenced by non-GC factors, and when holding C-n, redisplay stops at some point and only catches up when the key is released. If I set the keyboard repeat rate to 255 using 'xset', which appears to be the maximum supported, an MPS Emacs running my production session (some 200 buffers) ends up exhibiting this behavior when holding C-n, so only the first, non-repeated command is displayed properly. A newly-launched MPS Emacs does fine with xdisp.c in fundamental mode, but in C mode it ends up scrolling for a bit, presumably until font-lock does its work, then not scrolling until 'n' is released again. It would be nice to change this behavior to force some redisplay even when Emacs can't keep up with keypresses, but I don't think this is an MPS issue at this point. Is it true that we only redisplay once all key presses have been handled? Pip