From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: joakim@verona.se Newsgroups: gmane.emacs.devel Subject: Re: inhibiting x_scroll_run for a window? Date: Fri, 10 Sep 2010 12:18:44 +0200 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1284113945 20723 80.91.229.12 (10 Sep 2010 10:19:05 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 10 Sep 2010 10:19:05 +0000 (UTC) To: Emacs developers Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Sep 10 12:19:04 2010 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.69) (envelope-from ) id 1Ou0hD-0004Db-MG for ged-emacs-devel@m.gmane.org; Fri, 10 Sep 2010 12:19:03 +0200 Original-Received: from localhost ([127.0.0.1]:53953 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ou0hC-0000oD-RN for ged-emacs-devel@m.gmane.org; Fri, 10 Sep 2010 06:19:02 -0400 Original-Received: from [140.186.70.92] (port=57511 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ou0h1-0000mi-EZ for emacs-devel@gnu.org; Fri, 10 Sep 2010 06:18:52 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Ou0h0-0007ZM-6B for emacs-devel@gnu.org; Fri, 10 Sep 2010 06:18:51 -0400 Original-Received: from smtprelay-h32.telenor.se ([213.150.131.5]:35752) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ou0h0-0007Yn-1A for emacs-devel@gnu.org; Fri, 10 Sep 2010 06:18:50 -0400 Original-Received: from ipb4.telenor.se (ipb4.telenor.se [195.54.127.167]) by smtprelay-h32.telenor.se (Postfix) with ESMTP id 3517AEACFE for ; Fri, 10 Sep 2010 12:18:47 +0200 (CEST) X-SENDER-IP: [83.227.138.150] X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArQxAE2iiUxT44qWPGdsb2JhbACHa5lWDAEBAQE1Lbx+hT0EiiCDEw X-IronPort-AV: E=Sophos;i="4.56,345,1280700000"; d="scan'208";a="1669476780" Original-Received: from ua-83-227-138-150.cust.bredbandsbolaget.se (HELO www.verona.se) ([83.227.138.150]) by ipb4.telenor.se with ESMTP; 10 Sep 2010 12:18:47 +0200 Original-Received: from localhost.localdomain (unknown [192.168.201.6]) by www.verona.se (Postfix) with ESMTP id 7A006730EFB for ; Fri, 10 Sep 2010 12:18:45 +0200 (CEST) In-Reply-To: (joakim@verona.se's message of "Fri, 10 Sep 2010 12:07:37 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. 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:129873 Archived-At: joakim@verona.se writes: > I spent a little time on the xwidget branch, and noticed that sometimes > widgets get "stuck" on a coordinate when scrolling. This only happens > sometimes. > > I think this is because Emacs sometimes decide to scroll the window by > blitting rather than redrawing. I would like to understand how to get > more control over scrolling. > > - is it possible to disable blit-scrolling and instead force redraw > scrolling for a particular window? > > - is it possible to know where a glyp is supposed to be on-screen after > a redisplay? Currently I solve this for xwidgets by assuming that > after a redisplay has finished, my drawing routine has been called > with valid coordinates sometime during redisplay. This doesnt seem to > happen always and thats why I suspect the scrolling routine, but > perhaps my basic aproach is flawed. Eh, I immediately noticed inhibit_try_window_reusing. Sometimes it helps to just write a question down... -- Joakim Verona