From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: bojohan+news@dd.chalmers.se (Johan =?utf-8?Q?Bockg=C3=A5rd?=) Newsgroups: gmane.emacs.devel Subject: Re: Spreadsheet display mode Date: Fri, 23 Nov 2007 14:35:29 +0100 Message-ID: References: <64bfe3d50711221703n6a2aa803refcae006b68a022a@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1195824994 22906 80.91.229.12 (23 Nov 2007 13:36:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 23 Nov 2007 13:36:34 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Nov 23 14:36:42 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IvYhn-0003q3-2v for ged-emacs-devel@m.gmane.org; Fri, 23 Nov 2007 14:36:27 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IvYhY-0006YF-V1 for ged-emacs-devel@m.gmane.org; Fri, 23 Nov 2007 08:36:13 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IvYhS-0006U8-GJ for emacs-devel@gnu.org; Fri, 23 Nov 2007 08:36:06 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IvYhQ-0006RH-Lw for emacs-devel@gnu.org; Fri, 23 Nov 2007 08:36:05 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IvYhQ-0006Qo-Bl for emacs-devel@gnu.org; Fri, 23 Nov 2007 08:36:04 -0500 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1IvYhP-0006md-L2 for emacs-devel@gnu.org; Fri, 23 Nov 2007 08:36:03 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1IvYh6-00037n-2i for emacs-devel@gnu.org; Fri, 23 Nov 2007 13:35:44 +0000 Original-Received: from remote1.student.chalmers.se ([129.16.29.79]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 23 Nov 2007 13:35:44 +0000 Original-Received: from bojohan+news by remote1.student.chalmers.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 23 Nov 2007 13:35:44 +0000 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-Lines: 26 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: remote1.student.chalmers.se Mail-Copies-To: never User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.50 (gnu/linux) Cancel-Lock: sha1:2rcQzrB5cLOPtnm0fMZZQYPPIMU= X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:83954 Archived-At: bojohan+news@dd.chalmers.se (Johan Bockgård) writes: > ;; `redisplay' doesn't work!! > (force-mode-line-update))) I also found force-window-update, which does the job (as do redraw-display and redraw-frame, but they clear the frame which causes flickering). *** New function `force-window-update' can initiate a full redisplay of one or all windows. Normally, this is not needed as changes in window contents are detected automatically. However, certain implicit changes to mode lines, header lines, or display properties may require forcing an explicit window update. The manual is not explicit about the difference between (info "(elisp) Refresh Screen") and (info "(elisp) Forcing Redisplay") It's not clear why (redisplay t) shouldn't work If the optional argument FORCE is non-`nil', it forces an immediate and complete redisplay even if input is available. -- Johan Bockgård