From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: redisplay-dont-pause does not work Date: Sat, 27 May 2006 10:14:35 -0400 Message-ID: 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 1148739305 15561 80.91.229.2 (27 May 2006 14:15:05 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 27 May 2006 14:15:05 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat May 27 16:15:01 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 1FjzZB-0007aL-2i for ged-emacs-devel@m.gmane.org; Sat, 27 May 2006 16:14:57 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FjzZ9-0001CX-Sw for ged-emacs-devel@m.gmane.org; Sat, 27 May 2006 10:14:55 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FjzYw-0001CB-Jj for emacs-devel@gnu.org; Sat, 27 May 2006 10:14:42 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FjzYv-0001Bl-Eu for emacs-devel@gnu.org; Sat, 27 May 2006 10:14:42 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FjzYv-0001Bi-B1 for emacs-devel@gnu.org; Sat, 27 May 2006 10:14:41 -0400 Original-Received: from [209.226.175.4] (helo=tomts16-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1Fjze2-0003Jb-MI; Sat, 27 May 2006 10:19:58 -0400 Original-Received: from localhost ([70.55.141.245]) by tomts16-srv.bellnexxia.net (InterMail vM.5.01.06.13 201-253-122-130-113-20050324) with ESMTP id <20060527141439.UMZL27612.tomts16-srv.bellnexxia.net@localhost>; Sat, 27 May 2006 10:14:39 -0400 Original-Received: by localhost (Postfix, from userid 20848) id 93B078258; Sat, 27 May 2006 10:14:35 -0400 (EDT) Original-To: Eli Zaretskii In-Reply-To: (Eli Zaretskii's message of "Sat, 27 May 2006 14:28:20 +0300") 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:55358 Archived-At: >> 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. For forcing the display to be updated OTOH only sit-for is available and it's not reliable. Stefan