From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: YAMAMOTO Mitsuharu Newsgroups: gmane.emacs.devel Subject: Re: Emacs and Gnome Canvas Date: Mon, 19 Jul 2010 09:50:24 +0900 Organization: Faculty of Science, Chiba University Message-ID: References: <4C3CD120.4040905@swipnet.se> <5A91499A-0470-43FD-9F48-560CEAD3424C@mit.edu> <83wrsyr068.fsf@gnu.org> <83iq4hhjww.fsf@gnu.org> <87sk3lbvv0.fsf@telefonica.net> <83hbk1grnq.fsf@gnu.org> <4C3EBCDC.8050709@swipnet.se> <83d3upgmwj.fsf@gnu.org> <4C3ECB4C.6050208@swipnet.se> <83aaptgly1.fsf@gnu.org> <4C3ED4F9.4080603@swipnet.se> <83630hgi0r.fsf@gnu.org> <4C3EE8D6.3020607@swipnet.se> <8339vlgcax.fsf@gnu.org> <87fwzkbzg8.fsf@telefonica.net> <877hkwag6y.fsf@stupidchicken.com> <4C400B3C.4000203@swipnet.se> <83iq4fg3eb.fsf@gnu.org> <83fwzjg17j.fsf@gnu.org> <4C405398.4010203@swipnet.se> <4C416AC4.6030502@swipnet.se> <4C417580.5090905@swipnet.se> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1279500641 16831 80.91.229.12 (19 Jul 2010 00:50:41 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 19 Jul 2010 00:50:41 +0000 (UTC) Cc: ofv@wanadoo.es, Eli Zaretskii , cyd@stupidchicken.com, emacs-devel@gnu.org To: Jan =?ISO-8859-1?Q?Dj=E4rv?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jul 19 02:50:39 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 1OaeZ3-00071k-Uh for ged-emacs-devel@m.gmane.org; Mon, 19 Jul 2010 02:50:38 +0200 Original-Received: from localhost ([127.0.0.1]:43683 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OaeZ3-0001ZG-Cx for ged-emacs-devel@m.gmane.org; Sun, 18 Jul 2010 20:50:37 -0400 Original-Received: from [140.186.70.92] (port=39798 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OaeYy-0001ZB-0z for emacs-devel@gnu.org; Sun, 18 Jul 2010 20:50:33 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OaeYw-00045v-UU for emacs-devel@gnu.org; Sun, 18 Jul 2010 20:50:31 -0400 Original-Received: from mathmail.math.s.chiba-u.ac.jp ([133.82.132.2]:53456) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OaeYu-00045H-5c; Sun, 18 Jul 2010 20:50:28 -0400 Original-Received: from church.math.s.chiba-u.ac.jp (church [133.82.132.36]) by mathmail.math.s.chiba-u.ac.jp (Postfix) with ESMTP id 4090DC0560; Mon, 19 Jul 2010 09:50:24 +0900 (JST) In-Reply-To: <4C42C421.4060907@swipnet.se> User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?ISO-8859-4?Q?Shij=F2?=) APEL/10.6 Emacs/22.3 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI) X-detected-operating-system: by eggs.gnu.org: NetBSD 3.0 (DF) 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:127565 Archived-At: >>>>> On Sun, 18 Jul 2010 11:06:41 +0200, Jan Dj=E4rv = said: >>> BTW, you would have to invent syntactic expose events for X, Xt >>> and TTY unless you plan to have two display engines. >>=20 >> We don't need to change drawing code for TTY. It just draws during >> redisplay as in the current code. > Then you have to have two redisplay engines. One that calculates > dirty regions and updates during expose, and one that updates at > once. No. Notice that neither draw_glyphs nor expose_frame is defined if HAVE_WINDOW_SYSTEM is undefined. You replace the former so it invalidates the updated area, and make the latter more efficient assuming the existence of double-buffer. YAMAMOTO Mitsuharu mituharu@math.s.chiba-u.ac.jp