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: What is normal these days (display.texi)? Date: Mon, 10 Jul 2006 13:09:32 +0200 Message-ID: <85veq5lnrn.fsf@lola.goethe.zz> References: <85zmflu62p.fsf@lola.goethe.zz> <85lkr5qusn.fsf@lola.goethe.zz> <853bd9on2x.fsf@lola.goethe.zz> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1152529801 30197 80.91.229.2 (10 Jul 2006 11:10:01 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 10 Jul 2006 11:10:01 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jul 10 13:10: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 1FzteG-0004yJ-Rz for ged-emacs-devel@m.gmane.org; Mon, 10 Jul 2006 13:09:57 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FzteG-0005E7-9S for ged-emacs-devel@m.gmane.org; Mon, 10 Jul 2006 07:09:56 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Fzte3-0005E1-Bw for emacs-devel@gnu.org; Mon, 10 Jul 2006 07:09:43 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Fzte2-0005Dp-Pk for emacs-devel@gnu.org; Mon, 10 Jul 2006 07:09:42 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fzte2-0005Dm-KC for emacs-devel@gnu.org; Mon, 10 Jul 2006 07:09:42 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.52) id 1Fztf7-0001j7-9h for emacs-devel@gnu.org; Mon, 10 Jul 2006 07:10:49 -0400 Original-Received: from localhost ([127.0.0.1] helo=lola.goethe.zz) by fencepost.gnu.org with esmtp (Exim 4.34) id 1Fzte2-00047w-1M; Mon, 10 Jul 2006 07:09:42 -0400 Original-Received: by lola.goethe.zz (Postfix, from userid 1002) id 9BF4E1C464E1; Mon, 10 Jul 2006 13:09:32 +0200 (CEST) Original-To: storm@cua.dk (Kim F. Storm) In-Reply-To: (Kim F. Storm's message of "Mon, 10 Jul 2006 12:55:04 +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:56883 Archived-At: storm@cua.dk (Kim F. Storm) writes: > David Kastrup writes: > >> @defun redraw-frame frame >> @deffn Command redraw-display >> >> All of those functions work by _immediately_ clearing the respective >> frame or display, and then marking it for redisplay. >> > If that is not stated already in the docs, we should fix it. > > >> So why change the language in the case that is much less conspicuous >> (by not clearing the frame) as it does not cause a large blank window >> to show while Emacs is busy? > > The name "force-window-update" (and the original text) > indicate an immediate action. Uh, do you mean "the original text" proposed by me? I fail to guess what version you are referring to now. > But there is no immediate action. > > So if a program wants to use, e.g posn-at-x-y, after making changes, > force-window-update is not the right thing to use to make sure the > display matrix is up-to-date. Well, what would be? Is there any purpose, anyway, to have posn-at-x-y work with an updated display matrix that has not even been displayed? I think we have to come to grips about what posn-at-x-y is intended for: for associating events with simulated (or real) clicks, or for some sort of absolute positioning. For the first, you probably want the display matrix corresponding to the current display, for the second, for the updated display. Whatever. I have no idea by now what semantics would be desired, and how the given functions correspond to that. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum