From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?UTF-8?B?SmFuIERqw6Rydg==?= Newsgroups: gmane.emacs.devel Subject: Re: redisplay system of emacs Date: Fri, 12 Feb 2010 16:11:51 +0100 Message-ID: <4B756FB7.3050202@swipnet.se> References: <27349166.post@talk.nabble.com> <27560255.post@talk.nabble.com> <4B754E74.8060705@swipnet.se> <27563610.post@talk.nabble.com> <4B7564C7.1010309@swipnet.se> <27564728.post@talk.nabble.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1265987525 13884 80.91.229.12 (12 Feb 2010 15:12:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 12 Feb 2010 15:12:05 +0000 (UTC) Cc: Emacs-devel@gnu.org To: "alin.s" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Feb 12 16:12:02 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 1NfxBZ-0005lE-Hu for ged-emacs-devel@m.gmane.org; Fri, 12 Feb 2010 16:12:01 +0100 Original-Received: from localhost ([127.0.0.1]:37982 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NfxBY-0001Qa-Rs for ged-emacs-devel@m.gmane.org; Fri, 12 Feb 2010 10:12:00 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NfxBT-0001P3-Iq for emacs-devel@gnu.org; Fri, 12 Feb 2010 10:11:55 -0500 Original-Received: from [140.186.70.92] (port=56064 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NfxBS-0001OM-Dk for Emacs-devel@gnu.org; Fri, 12 Feb 2010 10:11:54 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NfxBR-0007iq-Pn for Emacs-devel@gnu.org; Fri, 12 Feb 2010 10:11:54 -0500 Original-Received: from proxy3.bredband.net ([195.54.101.73]:33655) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NfxBR-0007ik-Bp for Emacs-devel@gnu.org; Fri, 12 Feb 2010 10:11:53 -0500 Original-Received: from ipb1.telenor.se (195.54.127.164) by proxy3.bredband.net (7.3.140.3) id 4AD3E1BA033DF729 for Emacs-devel@gnu.org; Fri, 12 Feb 2010 16:11:52 +0100 X-SMTPAUTH-B2: X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AjlGAAf/dEtV4S1uPGdsb2JhbACDBYRUkygMAQEBATcusCWPO4Evgk5bBA X-IronPort-AV: E=Sophos;i="4.49,461,1262559600"; d="scan'208";a="36487039" Original-Received: from c-6e2de155.25-1-64736c10.cust.bredbandsbolaget.se (HELO coolsville.localdomain) ([85.225.45.110]) by ipb1.telenor.se with ESMTP; 12 Feb 2010 16:11:52 +0100 Original-Received: from [172.20.199.2] (gaffa [172.20.199.2]) by coolsville.localdomain (Postfix) with ESMTP id 8E56D7FA01A; Fri, 12 Feb 2010 16:11:51 +0100 (CET) User-Agent: Thunderbird 2.0.0.23 (X11/20090817) In-Reply-To: <27564728.post@talk.nabble.com> 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:121079 Archived-At: alin.s skrev: > > > You can keep on server side many little windows, and on the client side you > can keep the image of the screen, and the little windows notifies you what > part of the image was changed, you update the local bitmap, and when the > bitmap is created, you send it to the server with only 1 X lib call. > > The idea is that you ask the server to tell you what must be refreshed on > the scree, and you need no more obfuscated internal redisplay. > This is done already, the expose event contains the rectangle that needs to be updated. And if you need more exact information you can use the XDamage extension. What you are describing is basically double buffering. Since Gtk+ does this already, it makes sense for Emacs to go that way too, either by using more Gtk+ (we now turn double buffering off), or develop its own. Jan D.