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: Mon, 05 Jun 2006 11:00:02 +0200 Message-ID: <4483F292.2040302@soem.dk> 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> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------050606020908000806070607" X-Trace: sea.gmane.org 1149498034 22640 80.91.229.2 (5 Jun 2006 09:00:34 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 5 Jun 2006 09:00:34 +0000 (UTC) Cc: rms@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jun 05 11:00:28 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 1FnAwf-0004AM-Sv for ged-emacs-devel@m.gmane.org; Mon, 05 Jun 2006 11:00:22 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FnAwf-0007Ve-G5 for ged-emacs-devel@m.gmane.org; Mon, 05 Jun 2006 05:00:21 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FnAwV-0007VI-5a for emacs-devel@gnu.org; Mon, 05 Jun 2006 05:00:11 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FnAwT-0007Ux-3W for emacs-devel@gnu.org; Mon, 05 Jun 2006 05:00:10 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FnAwT-0007Uq-15 for emacs-devel@gnu.org; Mon, 05 Jun 2006 05:00:09 -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 1FnB3X-0004f9-O9; Mon, 05 Jun 2006 05:07:28 -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 1FnAvG-0004KB-1L; Mon, 05 Jun 2006 10:58:54 +0200 User-Agent: Debian Thunderbird 1.0.2 (X11/20060423) X-Accept-Language: en-us, en Original-To: "Kim F. Storm" 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:55697 Archived-At: This is a multi-part message in MIME format. --------------050606020908000806070607 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Kim F. Storm wrote: >David Kastrup writes: > > > >> I propose checking this change in. >> >> > >Done. > > Thanks! What about something like this: --------------050606020908000806070607 Content-Type: text/x-patch; name="subr.el.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="subr.el.diff" *** /home/lh/cvsroot/emacs/lisp/subr.el 2006-06-01 22:55:47.000000000 +0200 --- subr.el 2006-06-05 09:04:22.868010017 +0200 *************** *** 1869,1874 **** --- 1869,1879 ---- (setq buffer-file-name name) (set-buffer-modified-p modified)))) + (defun redisplay-now () + "Force display update." + (let ((redisplay-dont-pause t)) + (sit-for 0))) + ;;;; Overlay operations --------------050606020908000806070607 Content-Type: text/x-patch; name="display.text.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="display.text.diff" *** /home/lh/cvsroot/emacs/lispref/display.texi 2006-06-01 22:55:58.000000000 +0200 --- display.texi 2006-06-05 10:30:36.432000900 +0200 *************** *** 103,114 **** You can request a display update, but only if no input is pending, with @code{(sit-for 0)}. To force a display update even when input is ! pending, do this: ! ! @example ! (let ((redisplay-dont-pause t)) ! (sit-for 0)) ! @end example @node Truncation @section Truncation --- 103,109 ---- You can request a display update, but only if no input is pending, with @code{(sit-for 0)}. To force a display update even when input is ! pending, call @code{redisplay-now}. @node Truncation @section Truncation --------------050606020908000806070607 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel --------------050606020908000806070607--