From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Hansen Newsgroups: gmane.emacs.devel Subject: Re: redisplay-dont-pause does not work Date: Sat, 27 May 2006 10:24:39 +0200 Message-ID: <44780CC7.8080800@soem.dk> References: <85y7wqz896.fsf@lola.goethe.zz> <85verttfr2.fsf@lola.goethe.zz> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1148718308 20462 80.91.229.2 (27 May 2006 08:25:08 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 27 May 2006 08:25:08 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat May 27 10:25: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 1Fju6V-0002YO-3b for ged-emacs-devel@m.gmane.org; Sat, 27 May 2006 10:24:59 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fju6U-0002Zb-AL for ged-emacs-devel@m.gmane.org; Sat, 27 May 2006 04:24:58 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Fju6J-0002ZW-Ew for emacs-devel@gnu.org; Sat, 27 May 2006 04:24:47 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Fju6I-0002Ys-Hx for emacs-devel@gnu.org; Sat, 27 May 2006 04:24:47 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fju6I-0002Yp-CV for emacs-devel@gnu.org; Sat, 27 May 2006 04:24:46 -0400 Original-Received: from [212.99.225.245] (helo=odin.broadcom.dk) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1FjuBK-0007sJ-8A; Sat, 27 May 2006 04:29:58 -0400 Original-Received: from pppoe3-ves.broadcom.dk ([212.99.255.42] helo=[10.17.0.131]) by odin.broadcom.dk with esmtp (Exim 4.24; FreeBSD) id 1Fju5G-0004kN-Ss; Sat, 27 May 2006 10:23:42 +0200 User-Agent: Debian Thunderbird 1.0.2 (X11/20060423) X-Accept-Language: en-us, en Original-To: rms@gnu.org In-Reply-To: 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:55354 Archived-At: Richard Stallman wrote: >We could change the code, or change the manual. >I am not sure which is better. > > IMO changing the code is best. Otherwise, IIUC, there is no way one can force redisplay from a lisp program. Here is an example of the need of a way to force redisplay: I have an Emacs lisp program that I use to copy files from one box to another. It shows in a buffer the list of files to copy and marks each file as it is processed. If I switch away from the Emacs frame and back again, the display is no longer updated (except for minibuffer messages). Until now I did not know why, but now I see that some window manager event stops (sit-for 0) forcing redisplay.