From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: redisplay-dont-pause does not work Date: Sat, 27 May 2006 16:21:03 +0200 Message-ID: <8564jrlfao.fsf@lola.goethe.zz> References: <85y7wqz896.fsf@lola.goethe.zz> <85verttfr2.fsf@lola.goethe.zz> <44780CC7.8080800@soem.dk> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1148739721 16929 80.91.229.2 (27 May 2006 14:22:01 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 27 May 2006 14:22:01 +0000 (UTC) Cc: Eli Zaretskii , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat May 27 16:21:59 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 1Fjzfu-0008JE-Rd for ged-emacs-devel@m.gmane.org; Sat, 27 May 2006 16:21:55 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fjzfu-0004bH-AT for ged-emacs-devel@m.gmane.org; Sat, 27 May 2006 10:21:54 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FjzfY-0004VR-EF for emacs-devel@gnu.org; Sat, 27 May 2006 10:21:32 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FjzfX-0004Tu-5s for emacs-devel@gnu.org; Sat, 27 May 2006 10:21:31 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FjzfW-0004Tp-Vq for emacs-devel@gnu.org; Sat, 27 May 2006 10:21:31 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.52) id 1Fjzke-0004XM-UY for emacs-devel@gnu.org; Sat, 27 May 2006 10:26:49 -0400 Original-Received: from localhost ([127.0.0.1] helo=lola.goethe.zz) by fencepost.gnu.org with esmtp (Exim 4.34) id 1FjzfV-0007eM-Vc; Sat, 27 May 2006 10:21:30 -0400 Original-Received: by lola.goethe.zz (Postfix, from userid 1002) id E3AC51C4D3B3; Sat, 27 May 2006 16:21:03 +0200 (CEST) Original-To: Stefan Monnier In-Reply-To: (Stefan Monnier's message of "Sat, 27 May 2006 10:14:35 -0400") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) 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:55360 Archived-At: Stefan Monnier writes: >>> IMO changing the code is best. Otherwise, IIUC, there is no way one can >>> force redisplay from a lisp program. > >> I think we should define what does ``force redisplay'' mean, before we >> decide how to provide such a feature. Does it mean redisplay >> everything (i.e. every window on every frame)? Or just the current >> frame, or maybe just the current window? (The latter should be >> available with "C-l", I think.) Do we want to let Lisp programs >> specify what they want redisplayed, perhaps? > > I think we have to distinguish between a redisplay that does a "redraw" and > one that does what the toplevel loop normally. The "redraw" does call for > a specification of what to redraw, but the normal toplevel redisplay doesn't > (it just looks for things that have changed since the last "redisplay"). > For redraw, we already have redraw-display and redraw-frame and > redraw-modeline, so I think we're set. Disagree. Those _clear_ the respective frame and mark it as to be redrawn, but don't actually do the redraw. Even if one _could_ use them for forcing a redraw immediately, it would cause unnecessary flicker. > For forcing the display to be updated OTOH only sit-for is available > and it's not reliable. Well, then maybe one should try making it do what the docs claim? -- David Kastrup, Kriemhildstr. 15, 44793 Bochum