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: Mon, 05 Jun 2006 11:38:13 +0200 Message-ID: <851wu4osca.fsf@lola.goethe.zz> References: <4483F292.2040302@soem.dk> <8564jgotvf.fsf@lola.goethe.zz> <20060605113149.FC61.SLAWOMIR.NOWACZYK.847@student.lu.se> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1149500374 29456 80.91.229.2 (5 Jun 2006 09:39:34 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 5 Jun 2006 09:39:34 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jun 05 11:39:32 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 1FnBYT-0002FD-7o for ged-emacs-devel@m.gmane.org; Mon, 05 Jun 2006 11:39:25 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FnBYS-0007Q3-M9 for ged-emacs-devel@m.gmane.org; Mon, 05 Jun 2006 05:39:24 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FnBXp-00075f-JK for emacs-devel@gnu.org; Mon, 05 Jun 2006 05:38:45 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FnBXo-00074x-QU for emacs-devel@gnu.org; Mon, 05 Jun 2006 05:38:45 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FnBXo-00074g-EK for emacs-devel@gnu.org; Mon, 05 Jun 2006 05:38:44 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FnBev-0008Sj-Le for emacs-devel@gnu.org; Mon, 05 Jun 2006 05:46:05 -0400 Original-Received: from localhost ([127.0.0.1] helo=lola.goethe.zz) by fencepost.gnu.org with esmtp (Exim 4.34) id 1FnBXn-0006Iy-Fy; Mon, 05 Jun 2006 05:38:43 -0400 Original-Received: by lola.goethe.zz (Postfix, from userid 1002) id 842B81C464FC; Mon, 5 Jun 2006 11:38:13 +0200 (CEST) Original-To: Slawomir Nowaczyk In-Reply-To: <20060605113149.FC61.SLAWOMIR.NOWACZYK.847@student.lu.se> (Slawomir Nowaczyk's message of "Mon, 05 Jun 2006 11:34:45 +0200") 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:55702 Archived-At: Slawomir Nowaczyk writes: > On Mon, 05 Jun 2006 11:05:08 +0200 > David Kastrup wrote: > > #> Lars Hansen writes: > #> > #> > + (defun redisplay-now () > #> > + "Force display update." > #> > + (let ((redisplay-dont-pause t)) > #> > + (sit-for 0))) > #> > + > #> > #> In my opinion it is too much of a hack to warrant a function of its > #> own. A proper `redisplay-now' function should have the ability to > #> redisplay just a particular window and/or frame. > > FWIW, I think it is important to have a functions *exactly* because it > is a hack... this way, when people use the function, we can later > reimplement it in a better way. Otherwise, the hacks will have to be > hunted down and replaced one by one. But the hacks will have to be hunted down and replaced one by one, anyway, since the stuff indiscriminately refreshes everything instead of just the required parts of the display. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum