From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: redisplay-dont-pause does not work Date: Tue, 06 Jun 2006 10:38:41 +0200 Message-ID: References: <85y7wqz896.fsf@lola.goethe.zz> <85verttfr2.fsf@lola.goethe.zz> <85psi0klmx.fsf@lola.goethe.zz> <85bqtik2ua.fsf@lola.goethe.zz> <85k681dxc4.fsf@lola.goethe.zz> <4483F292.2040302@soem.dk> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1149583294 3243 80.91.229.2 (6 Jun 2006 08:41:34 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 6 Jun 2006 08:41:34 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jun 06 10:41:31 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 1FnX7y-0008IH-Mo for ged-emacs-devel@m.gmane.org; Tue, 06 Jun 2006 10:41:30 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FnX7x-00041t-U8 for ged-emacs-devel@m.gmane.org; Tue, 06 Jun 2006 04:41:30 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FnX7Z-00040p-85 for emacs-devel@gnu.org; Tue, 06 Jun 2006 04:41:05 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FnX7V-0003va-JD for emacs-devel@gnu.org; Tue, 06 Jun 2006 04:41:04 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FnX7V-0003vK-9F for emacs-devel@gnu.org; Tue, 06 Jun 2006 04:41:01 -0400 Original-Received: from [195.41.46.236] (helo=pfepb.post.tele.dk) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FnXEn-0006h4-UT; Tue, 06 Jun 2006 04:48:34 -0400 Original-Received: from kfs-l.imdomain.dk.cua.dk (unknown [80.165.4.124]) by pfepb.post.tele.dk (Postfix) with SMTP id 0B3C9A5007F; Tue, 6 Jun 2006 10:40:51 +0200 (CEST) Original-To: rms@gnu.org In-Reply-To: (Richard Stallman's message of "Mon, 05 Jun 2006 17:31:41 -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:55748 Archived-At: Richard Stallman writes: > + (defun redisplay-now () > + "Force display update." > + (let ((redisplay-dont-pause t)) > + (sit-for 0))) > > I don't want dinky little Lisp extensions now. Let's focus on what we > need to do to make the release. There is a discussion on whether redisplay-dont-pause is a user option or not, and what other choices we have for separating the implications on sit-for vs. users who don't want the preemptive redisplay jumpiness on slow computers. We do have a problem/bug here ... the question is how to solve it. The above implementation of redisplay-now does not solve this problem, but some form of redisplay-now function detached from redisplay-dont-pause could be a solution. For emacs 22, what about just making (sit-for t) force an immediate display update, and in general let sit-for _not_ pay attention to redisplay-dont-pause? And update the docs/NEWS accordingly. -- Kim F. Storm http://www.cua.dk