From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Richard M. Stallman" Newsgroups: gmane.emacs.devel Subject: Re: Display slowness that is painful Date: Sat, 04 Feb 2006 13:27:41 -0500 Message-ID: References: <87slr5c78p.fsf@stupidchicken.com> <877j8fx43q.fsf@stupidchicken.com> <87mzhaqp7p.fsf@stupidchicken.com> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1139092626 4914 80.91.229.2 (4 Feb 2006 22:37:06 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 4 Feb 2006 22:37:06 +0000 (UTC) Cc: cyd@stupidchicken.com, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Feb 04 23:37:03 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1F5W1d-0008Mf-Mq for ged-emacs-devel@m.gmane.org; Sat, 04 Feb 2006 23:37:02 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F5VCJ-00007D-BU for ged-emacs-devel@m.gmane.org; Sat, 04 Feb 2006 16:43:59 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1F5V5H-0006Pr-7w for emacs-devel@gnu.org; Sat, 04 Feb 2006 16:36:43 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1F5V0Q-00051V-ML for emacs-devel@gnu.org; Sat, 04 Feb 2006 16:31:43 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F5UXI-0004p8-UR for emacs-devel@gnu.org; Sat, 04 Feb 2006 16:01:37 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.52) id 1F5SDZ-000669-Uh for emacs-devel@gnu.org; Sat, 04 Feb 2006 13:33:05 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1F5S8L-00022T-2o; Sat, 04 Feb 2006 13:27:44 -0500 Original-To: storm@cua.dk (Kim F. Storm) In-reply-to: (storm@cua.dk) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:50003 Archived-At: I traced this to emacs starting to process SELECTION_REQUEST_EVENT events after each redisplay round -- and consequently doing another redisplay... Why did Emacs get a SELECTION_REQUEST_EVENT at all? Normally that should happen only if you try to paste into another app some text that you selected in Emacs. Did you do that? When people do that, normally Emacs is idle, not redisplaying anything. Of course, it could be running some sort of program that would keep on redisplaying. Was that the situation? One other question is, why does Emacs redisplay after handling a SELECTION_REQUEST_EVENT? Is it because this arrives during redisplay and pre-empts it? Are you saying that Emacs receives a series of SELECTION_REQUEST_EVENTs, pre-empting redisplay over and over? If so, why do they arrive?